Re: Help


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

Re: Help



Jeff Tyrrill wrote:
>
> Just replace that with
>
> If X=1
> Goto X
> ...more code...
> Lbl X
>
> When an IF statement does not have a THEN statement after it, the statement
> after the IF statement is considered to be the one statement in the "IF loop".
> ________________
>
> Jeff Tyrrill's TI Calculator Site: Contains programming tips, undocumented
> discoveries and tips for power users, and comparisons of the different
> calculator models.
> http://tyrrill-ticalc.home.ml.org/
>
> TI-Files member: The premiere TI site on the web, with reviews of games and
> more.
> http://ti-files.home.ml.org/
>
> -----Original Message-----
> From:   Open discussion of TI Graphing Calculators  On Behalf Of Nadler
> Sent:   Tuesday, June 03, 1997 1:04 PM
> To:     CALC-TI@LISTS.PPP.TI.COM
> Subject:        Help
>
> I know that exiting a loop with the goto command takes up mem, but does
> it also take up mem when it is used like this:
>
> If X=1
> Then
> Goto X
> End
> (misc code)
> Lbl X
>
> It is not a loop but GOTO is still being used before END.
> >From Things that I have done it seems like this takes up some mem but
> not as much as exiting a loop.
>
> Paul

That is not what I wanted to know, I just wanted to know if it takes up
memory.  What I wrote before was just an example.  Maby this would be a
better example:

If X=1
Then
(code)
Goto X
End
(code)
Lbl X

Paul


Follow-Ups: References: