Wasp Technologies.
71 Copyright 2001 All Rights Reserved.
IF…THEN…ELSE
Description
Use IF…THEN block to execute one or more statements conditionally. You can
use either a single-line syntax or multiple-line “block” syntax:
Syntax
IF condition THEN statement
Notice that the single-line form of IF …THEN does not use an ENDIF
statement.
Or
IF condition THEN
Statements
ENDIF
Or
IF condition THEN
Statements
ELSE
Statements
ENDIF
Or
IF condition1 THEN
Statement block 1
The syntax of IF…THEN…ELSE requires that the command be typed in one
single line in less than 255 characters.
Parameter
Description
condition
Available relational operator: <, >, =, <=, >=
statement
Only one statement is available in
Example
DOWNLOAD “IFTHEN.BAS”
SIZE 4,4
GAP 0,0
Summary of Contents for WPL2
Page 1: ...WPL2 PROGRAMMING MANUAL Wasp Technologies BAR CODE PRINTER SERIES...
Page 5: ...SECOND 105 YEAR 106 MONTH 107 DATE 108 DAY 109 HOUR 110 MINUTE 111 SECOND 112...
Page 8: ...Wasp Technologies 2 Copyright 2001 All Rights Reserved GAP BLINE...
Page 60: ...Wasp Technologies 54 Copyright 2001 All Rights Reserved See Also F FILES...
Page 67: ...Wasp Technologies 61 Copyright 2001 All Rights Reserved See Also DOWNLOAD EOP OPEN READ SEEK...
Page 100: ...Wasp Technologies 94 Copyright 2001 All Rights Reserved See Also SIZE GAP BLINE...
Page 119: ...Wasp Technologies 113 Copyright 2001 All Rights Reserved...
Page 120: ...Last update May 21 2004...