Garth Wallace wrote:
> Patrick Gallagher wrote:

>> 10 PRINT "HELP!"
>> 20 GOSUB 10
>> 30 END (I know... with the GOSUB it isn't necessary, but shortcuts 
>> aren't cool ;)

> Shouldn't that be GOTO? I still remember bits of BASIC...

GOSUB is also possible but not very good here.
GOSUB is like a procedure call. It works like GOTO until a RETURN is 
found. Then the program jumps back to the position directly after the 
GOSUB call.

-- 
Everyone who sends advertisement to me agrees to pay a fee of 10 Euro.


Reply via email to