TI-86 Basic Programming Problem..


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

TI-86 Basic Programming Problem..



I just got a TI-86 yesterday and I have a question for the program that
I have just written.   This is the source code of the program..  All of
the -> commands are the STO-> button thingies..

PROGRAM:DENSITY
:ClLCD
:Lbl FIRST
:Input "FIND D M V X?",DMV
:If DMV->"D" Then Goto DENS
:IF DMV->"M" Then Goto MAS
:IF DMV->"V" Then Goto Vol
:IF DMV->"X" Then Stop
:Goto FIRST
:Lbl DENS
:Input "MASS",MAS2
:Input "VOLUME",VOL2
:DANS->MAS2/VOL2
:Disp DANS
:Stop
:Lbl MAS
:Input "DENSITY",DENS3
:Input "VOLUME",VOL3
:MASANS->DENS3*VOL3
:Disp MASANS
:Stop
:Lbl VOL
:Input "DENSITY",DENS4
:Input "MASS",MAS4
:VOLANS->MAS4/DENS4
:Disp VOLANS
:Stop

        When I run the program, it shows the first input statement and allows
me to enter that in, but then it gives me ERROR 14 Undefined sometimes
and ERROR 7 Syntax depending on how I mess with the Input statements
because that is what I believe is what is wrong, but not sure.   I would
appreciate it if anyone can help.

Thanks a lot!

        Richard Bayless


Follow-Ups: