Re: basic question


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

Re: basic question



Your problem is on this line:
If E=1:ClrHome:Goto 2
It will work if you replace it with:
If E=1:Then:ClrHome:Goto 2:End

>i made this program for my ti83 to help me with my homework.  i made it
kinda
>long for a short program.  the problem i have is that at the end of the
program
>i have an input and when i put in 1 or 2 i go to the same place every time
and
>not two different places.  here is the program:
>
>Lbl 1
>ClrHome
>Prompt A,B
>Lbl 2
>Prompt X,Y
>AX+BY -> C
>Disp C,""
>Input"1: NEW   2: STOP",D
>If D=1:Goto 4
>If D=2:Goto 3
>End
>Lbl 3
>ClrHome
>Stop
>Lbl 4
>ClrHome
>Disp "  SAME A and B"
>Input "1: YES     2: NO",E
>If E=1:ClrHome:Goto 2
>If E=2:Goto 1
>End

******************************************************************
* To UNSUBSCRIBE, send an email TO: listserv@lists.ppp.ti.com
* with a message (not the subject) that reads SIGNOFF CALC-TI
*
* Archives at http://peach.ease.lsoft.com/archives/calc-ti.html
******************************************************************


References: