This is intended to be the human readable version of the source code for Memory Test. This version is intended to work only on the TI-82 Texas Instruments graphic calculator. Also available: Documentation about "Memory Test" and versions of the program for other calculators and in other formats.
Any line that begins with a backslash is a comment and should not be entered into the calculator. (Comments have been colored green) For an authoritative copy of this program's source code that can be imported to the calculator via a computer, consult the text version of Memory Test source code for the TI-82, along with the character reference. The special character reference also gives an overview of all non-ASCII characters for the calculator, and shows the menus in which they can be found.
\START82\ \COMMENT=Program file dated 04/10/96, 18:39 \NAME=MEMORY :ClrHome :Menu("REMEMBER","FORWARD",1,"BACKWARD",2) :Lbl 1 :0→A :Goto 3 :Lbl 2 :1→A :Lbl 3 :ClrHome :Input "DIGITS (1-10):",B :If (B=int B)(B≤10)(B≥1)=0 :Goto 3 :0→C :0→D :Lbl 4 :ClrHome :0→E :iPart rand10→F :C+1→C :Output(1,1,C) :Output(5,9,F) :Lbl 5 :IS>(E,50) :Goto 5 :If A=0 :10D+F→D :If A=1 :10^(C-1)*F+D→D :If C<B :Goto 4 :ClrHome :Input "THINK:",G :If G=D :Goto 6 :Disp "NOPE",D :Stop :Lbl 6 :Disp "GOOD" :Stop :COPYRIGHT STEPHEN OSTERMILLER 1996 \STOP82\ |