HP 15c Scientific manual Programming Summary and Index

Models: 15c Scientific

1 288
Download 288 pages 6.63 Kb
Page 270
Image 270

270 Programming Summary and Index

following the G (page 101).

Back step. Moves calculator back one or more lines in program memory. (Also scrolls in Program mode.) Displays line number and contents of previous program line (page 83).

ÂSingle step. In Program mode: moves calculator forward one or more lines in program memory. In Run mode: displays and executes the current program line, then steps to next line to be executed (page 82).

©Pause. Halts program execution for about 1 second to display contents of X- register, then resumes execution (page 68).

¦Run/Stop. Begins program execution from current line number in program memory. Stops execution if program is running (page 68).

nReturn. Causes

calculator to return to line 000 and halt execution (if running) (page 68). If in a subroutine, merely returns to line after

G(page 101).

FSet flag (= true). Sets designated flag (0 to 9). Flags 0 through 7 are user flags, flag 8 signifies Complex mode, and flag 9 signifies an overflow condition (page 92).

"Clear flag (=

false). Clears designated flag (0 to 9) (page 92).

?Is flag set? Tests for designated flag. If set, program execution continues; If cleared, program execution skips one line before continuing (page 92).

£~T{0 through 9} Conditional tests. Each test compares value in X- register against 0 or value in Y-register as indicated. If true, calculator executes instruction in next line of program memory. If false, calculator skips

one line in program memory before resuming execution (page 91). ~and T0, 5, and 6 are also valid for complex numbers and matrix descriptors (pages 132. 174).

T0 x ≠ 0

T1 x > 0

T2 x < 0

T3 x ≥ 0

T4 x ≤ 0

T5 x = y

T6 x y

T7 x > y

T8 x < y

T9 x y

sDecrement and skip if equal to or less than. Decrements counter value in given register as stipulated. Skips one program line if new counter value is equal to or less than specified test value (page 109).

IIncrement and skip if greater than. Increments counter value in given register as stipulated. Skips one program line if new counter value is greater than specified test value (page 109).

Page 270
Image 270
HP 15c Scientific manual Programming Summary and Index