IAI America ASEL User Manual

Page 232

Advertising
background image

Part 2 Programs

Chapter 3 Explanation of Commands

210

Part 2 Programs

z

SPUT (Set character)

Command, declaration

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command,

declaration

Operand 1

Operand 2

Output

(Output, flag)

Optional

Optional

SPUT

Column

number

Data

CP

[Function] Set the data specified in operand 2 in the column specified in operand 1.

[Example]

SPUT

5

10

Set 10 (LF) in column 5.

LET

1

100

Assign 100 to variable 1.

LET

2

50

Assign 50 to variable 2.

SPUT

*1

*2

Set the content of variable 2 (50 (‘2’)) in the content of

variable 1 (column 100).

Advertising