Re: TIB: String Arrays, GOSUB


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

Re: TIB: String Arrays, GOSUB






>Date: Mon, 27 Oct 1997 21:43:05 -0800
>From: Peter Sahlstrom <petes@technologist.com>
>To: ti-basic@lists.ticalc.org
>Subject: Re: TIB: String Arrays, GOSUB
>Reply-To: ti-basic@lists.ticalc.org
>
>Define?  I have a TI-85 and that wasn't in my manual.  Please expand.
>
>Rene Kragh Pedersen wrote:
>
>> Jan Zumwalt wrote:
>>
>> [snip]
>>
>> > > 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.
>>
>> [snip]
>>
>> Introducing extra variables AND extra prog space to account for 
pointers
>> to these, is a very bad alternative to the Define command, as it 
slows
>> the program.
>>
>> --
>>           Rene Kragh Pedersen
>> -----------------------------------------------
>> .oO) Aibohphobia - the fear of palindromes (Oo.
>
>
>
>--
>Peter Sahlstrom
>petes@technologist.com/petersahlstrom@geocities.com
>http://www.geocities.com/SiliconValley/Lakes/1950 (Homepage)
>
>
Define is a command only supported by the 92.  It allows you to 
dynamically create programs and functions.



--==Aaron Hertz==--
-=ahertz@hotmail.com=-


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com