[TIB] Re: Loop question


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

[TIB] Re: Loop question



I have a stupid question about ending my program. I am passing a var (N) in
this case. The value will be either n or y. When I put in the following
instruction:

Lbl start
...
...
If N=n Then
Goto start
Else
Goto quit
EndIf
Lbl quit
Stop
EndPrgm

With the above loop, the calculator continuously runs through the "start"
loop, no matter what the value of "N" is. I was thinking that for Boolean
expressions it may be looking at the key code so I modified the expression
to be " If N=110 Then ". However, with this new expression, I get an error
of cannot solve for true/false. Can someone tell me what I am doing wrong?


Jason




Follow-Ups: References: