Re: TI85 Programs - anything like GOSUB?


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

Re: TI85 Programs - anything like GOSUB?



>Is there any command (okay I know there isn't a command for this) or a
>way to fake a gosub statement in a TI-85 basic program?  Gosub is like
>the old quickbasic statement to goto and execute a group of commands
>then return to the main program.
> - webster


Create a different program for each subroutine, using RETURN at the end.
Then, all you have to do is call the program by name from your main prog,
when the sub-program ends, it will return to main program where you left off.


Lee C. Smith
Rockwell Collins
400 Collins Road N.E. m/s 106-111
Cedar Rapids, Iowa 52498
319-295-3933
e-mail els_lcs@hobbes.cca.rockwell.com


References: