for( ;; ){
while ( thing1 != 100 ) {
game1 = 3000 }
thing2 = 10
}
for( ;; ){
while ( thing1 != 100 ) {
game1 = 3000 }
thing2 = 10
}
>>> I havent used goto since 1988 in BASIC
Beat you by 10 years, since the Fortran-77 compiler was delivered in 1978.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
DON'T USE GOTO!!!
please, id like to know how too!Originally posted by Esparno
Ok, so how would i change this bit of example code into proper code?
A:
if (thing1==100)
goto B;
game1=3000;
goto A;
B:
thing2=10;
goto A;
Originally posted by Esparno
Ok, so how would i change this bit of example code into proper code?
A:
if (thing1==100)
goto B;
game1=3000;
goto A;
B:
thing2=10;
goto A;Code:while (1) { if ( thing1 == 100 ) thing2 = 10; else game1 = 3000; }
Jason Deckard