EasyManua.ls Logo

CipherLab 8 Series

CipherLab 8 Series
263 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
38
CipherLab BASIC Programming Part I
WHILE WEND
Purpose To repeat the execution of a block of statements whil
e a certain condition is
TRUE.
Syntax WHILE condition
[Statement Block]
WEND
Remarks If the condition
is true, loop statements are executed until the WEND
statement is encountered. Then the program execution returns to the WHILE
statement and checks
the condition again. If it is still true, the process will be
repeated. Otherwise, the execution continues with the statement following the
WEND statement.
Example
WHILE TRANSACTION_COUNT > 0
Data$ = GET_TRANSACTION_DATA$(1)
WRITE_COM(1, Data$)
DEL_TRANSACTION_DATA(1)
WEND

Table of Contents

Related product manuals