Standard commands Notesabout command description
T5023/5023+ - Programming Guide 37
1 When defining subprograms, after BEGIN and END the subprogram
name is specified (for example, BEGIN LINE PRINT ... END LINE
PRINT).
2The instructionwithin REPEAT ... UNTIL (loop body) are executed until the
abort criterion specifiedafter UNTIL is fulfilled (for example, REPEAT ...
UNTIL N = 6). This pseudo code instructionis defined here in such a way
that the loop body is not executedif the abort criterion is already fulfilled
before the first loop run.
3 (for example, IF N = 50 THEN BEGIN ... END or IF n = 50 THEN CALL
NEWPAGEELSEN=N+1)
4(for example, SET N=0)
5(for example, SET N=N+1)
6(for example, CALL LINE PRINT)
7 The data transmission from the program to the document printer is to
be symbolized by means of the procedures PRINT and PRINTLF.
Depending on the arguments, these are control commands
(character(...)) or alphanumeric or numeric user data.
No carriage return (CR) is executed via the procedurePRINT. A line feed
(LF) and also a carriage return (CR) are definedvia the procedure
PRINTLF.Depending on whether the printer parameter ’AUTO- CR+ LF’
(= CR- HANDLING inthe document printer menu) is activated or not, the
real conversion of the PRINTLF procedure must b e programmed
accordingly.