Tally Genicom T5023+ User Manual

Page 46

Advertising
background image

Notes about command description

Standard commands

36

T5023/5023+ - Programming Guide

Example:

Explanation of the pseudo code instructions:

(Further explanations on 1, 2, ... , 8 see next pages)

BEGIN

PRINTLF("Print page with bottom margin")
CALL LINE PRINT
PRINT(char(27),"O")
PRINTLF("Print page without bottom margin")
CALL LINE PRINT

END

BEGIN LINE PRINT

SET N = 0

REPEAT
SET N = N + 1

PRINTLF("Line", N,"after title")
UNTIL N = 6

END LINE PRINT

Function

Coding

1
2
3
4
5
6
7
7
7
8

Instruction block
Loop
Alternative
Initializing
Changing variable value
Subprogram call
Printing without line feed
Printing with line feed
Control characters
Evaluation of printer response
(read data)

BEGIN/END
REPEAT/UNTIL

abort criterion

IF...THEN...ELSE ...
SET variable = value
SET variable = variable +/- value
CALL subprogram name
PRINT (arguments)
PRINTLF (arguments)
char(x) or char(a,...,n)
GET (arguments)

Advertising
This manual is related to the following products: