![Wasp WPL305 Скачать руководство пользователя страница 78](http://html1.mh-extra.com/html/wasp/wpl305/wpl305_programming-manual_3516653078.webp)
Wasp Technologies.
72 Copyright 2001 All Rights Reserved.
DENSITY 8
SPEED 3
DIRECTION 0
REFERENCE 0,0
SET CUTTER OFF
SET PEEL OFF
CLS
A=50
B=5
C$=""
D$=""
:L1
IF A>100 THEN GOTO L1 ELSE A=A+10
C$=STR$(A)+" IS SMALLER THAN 100"
TEXT 100,10,"4",0,1,1,C$
PRINT 1
END
:L2
A=A+B
D$=STR$(A)+" IS LARGER THAN 100"
TEXT 100,100,"4",0,1,1,D$
PRINT 1
GOTO L1
EOP
Note
If the result of the expression is nonzero, the statement following THEN will be
executed. If the result of the expression is zero, and the statement following the
ELSE present, it will be executed. Otherwise the next line of statement is
executed.
If there are block of statements in IF…THEN …ELSE, ENDIF must be used at
the end of the IF…THEN …ELSE statement.
Limitations:
The total numbers of IF …THEN …ELSE statement in a program can not
exceed than 40.
The total numbers of IF …THEN …ELSE, FOR…NEXT, WHILE…WEND,
and DO …LOOP in a program can not exceed than 40 loops.
See Also
DOWNLOAD, EOP
Содержание WPL305
Страница 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Страница 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Страница 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Страница 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Страница 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Страница 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Страница 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Страница 120: ...Last update May 21 2004...