foil TI-82 Source Code - Skip Header

foil TI-82 Source Code

This is intended to be the human readable version of the source code for FOIL. This version is intended to work only on the TI-82 Texas Instruments graphic calculator. Also available: Documentation about "FOIL" 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 FOIL 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.

\COMMENT=Program file dated 04/10/96, 18:39
:Lbl 4
:If (E<2)+(int E≠E)>0
:Goto 4
:Lbl 3
:If F=1
:If F=2
:If F=3
:If F≥4
:Input L1
:If F=1
:Goto 3
:1-Var Stats L1
:1-Var Stats L2
:A+B-1→dim L3
:Lbl 1
:Lbl 2
:If C<A
:Goto 2
:If D<B
:Goto 1
:If E>F
:Goto 3
:dim L3-1→H
:Disp H
:Goto A
:Lbl A