Re: TIB: Goto's


[Prev][Next][Index][Thread]

Re: TIB: Goto's




>> >thinking of the Lbl as a subroutine?  It doesn't work exactly that way.
>>
>> It does work that way.  I've done it many times.  Lbl isn't the sub
>> routine, 5->X is the pathetic routine.
>
>But your "Return" doesn't go back up to the "End" statement, it ends the
>program (assuming all this code is in the same program).

Ok I guess you don't get it.  The subprogram has many sub routines.  In
your main program you store a value to a var to tell the sub program which
routine to run.  After it runs the routine you want it is supposed to
return back to your real program.



Follow-Ups: