GB
y date:
Z:
In this way, the memory names can be changed. However, since memory names are restricted to the letters
from A through Z, the expanded memories (
*** The memory expansion command (Defm) can be used in a program.
Example: Expand the number of memories by 14 to make a total of 40 available.
Defm, 1, 4, :, ......
4.9 DISPLAYING ALPHA-NUMERIC CHARACTERS AND SYMBOLS
Displaying Alpha-Numeric Characters and Symbols Alphabetic characters, numbers, calculation command symbols,
etc. can be displayed as messages. They are enclosed in quotation marks (
Alpha-numeric characters and symbols
Characters and symbols displayed when pressed following
G
[, ], k, m, µ, n, p, f, space, A, B, C, D, E, F, G, H,
I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z
Other numbers, symbols, calculation commands, program command
G
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
(, ), √,
, , , x, ÷, ...
E
sin, cos, tan, log, ln, ...
=, ≠, >, <, <, >, ...
A, B, C, D, E, F, d, h, b, o
Neg, Not, and, or, xor
x, y, xsn, ssn-1, ...
°(
SHIFT
MODE
*** All of the above noted characters can be used in the same manner as the alphabetic characters.
In the preceding example requiring an input of two types of data (x, y), the prompt "?" does not give any information
concerning the type of input expected. A message can be inserted before the "?" to verify the type of data required for
input.
Lbl, 1, :, ?, →, X, :, ?, →, Y, :, ...
The message "X=" and "Y=" will be inserted into this program.
Lbl, 1, :, ", X, =, ", ?, →, X, :,
", Y, =, ", ?, →, Y, :, ˇ
If messages are included as shown here, the display is as follows (Assuming that the program is sorted in P1).
Prog
1
10
EXE
Messages are also convenient when displayed result in program calculations.
Example:
Lbl, 0, :, ", N, =, ", ?, →, B, ~, C, :,
0, →, A, :,
Lbl, 1, :, C, ÷, 2, →, C, :, Frac, C, ≠, 0, →, Goto, 3,
:, Isz, A, , C, =, 1, →, Goto, 2, :, Goto, 1, :,
Lbl, 2, :, ", X, =, ",
Lbl, 3, :, ", N, O, ",
- 64 -
R[1]
R[2]
R[3]
R[4]
S
T
U
V
R[9]
R[10]
R[11]
R[12]
Z(1)
Z(2)
Z(3)
Z(4)
MODE
r
g
),
(
),
(
4
SHIFT
MODE
5
SHIFT
EXE
X = ?
Y = ?
, A,
, Goto, 0, ,
, Goto, 0
R[5]
R[6]
R[7]
W
X
Y
R[13]
R[14]
R[15]
Z(5)
Z(6)
Z(7)
.
) can only be used as array-type memories.
).
' '
ALPHA
:
ALPHA
)
MODE
6
70 steps
Copyright L
EXIBOOK
R[8]
Z
2002