RE: TIB: String Arrays, GOSUB
[Prev][Next][Index][Thread]
RE: TIB: String Arrays, GOSUB
On Monday, October 27, 1997 3:05 PM, Rene Kragh Pedersen
[SMTP:u971168@daimi.aau.dk] wrote:
> Jeff Ryan wrote:
> >
> > Matthew wrote:
> >
> > > couldn't you simply use goto and lables instead of gosub?
> > >
> > > just a thought...
> > >
> >
> > Sounds like a pretty good idea... Just wish some1 would have
> > thought of it
> > sooner.
>
> Not really, the diff is that gosub can come from different places
in
> the
> program, and will return to where it came from when it reaches the
> "return" in the program.
>
> You can't use lbl and goto from two different places to one.
> However,
> you can use the Define command, it just isn't the same...
You could set a varible so that the subroutine would know which label
to return to.
>
> --
> Rene Kragh Pedersen
> -----------------------------------------------
> .oO) Aibohphobia - the fear of palindromes (Oo.
Follow-Ups: