Programming Manual Keyboard
SATO Europe
46
WHILE…WEND
Description
To execute a series of statements in a loop until the given condition is
false
.
Syntax
WHILE expression
statements
WEND
Remarks
If the expression is true the program will be executed until the WEND statement is
encountered, then return to the WHILE statement to check again. After encountering a
false condition, the program will branch to the statement following the WEND.
The total numbers of WHILE…WEND statement in one program can not exceed 40.
The maximum numbers of IF…THEN…ELSE, FOR…NEXT, WHILE…WEND, and
DO…LOOP available in one program is up to 40.
Example
A=10
WHILE A
A=A-1
PRINT “12345678”
WEND
Summary of Contents for Smart Keyboard
Page 1: ...SATO Smart Keyboard Programming manual...
Page 90: ...Programming Manual Keyboard SATO Europe 88...
Page 93: ......