dice TI-82 Source Code - Skip Header

dice TI-82 Source Code

This is intended to be the human readable version of the source code for Dice. This version is intended to work only on the TI-82 Texas Instruments graphic calculator. Also available: Documentation about "Dice" 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 Dice 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
:Input "HOW MANY:",A
:Lbl 1
:Input "NUM SIDES:",B
:Input "NUM ROLLS:",C
:Lbl 2
:iPart randB+1→D
:Disp D
:Goto 2
:If A≠F
:Goto 1
:Disp "TOTAL",E