Wasp WPL305 Programming Manual page 77

Bar code printer series
Hide thumbs Also See for WPL305:
Table of Contents

Advertisement

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
condition
statement
Example
DOWNLOAD "IFTHEN.BAS"
SIZE 4,4
GAP 0,0
Wasp Technologies.
Description
Available relational operator: <, >, =, <=, >=
Only one statement is available in
71
Copyright 2001 All Rights Reserved.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wpl606Wpl2

Table of Contents