Hardware manual
Impact Reference Guide Commands and Functions I-L
5-19 Datalogic Automation Inc.
ISINTEGER()
This function returns True if the argument is an integer number. Example:
x = 1
check_bool = isinteger(x) yields check_bool = True
ISNUMERIC()
This function returns True if the argument is a number (real or integer). Example:
x = 1
check_bool = isnumeric(x) yields check_bool = True
ISREAL()
This function returns True if the argument is a real number. Example:
x = 1.0
check_bool = isreal(x) yields check_bool = True
ISSTRING()
This function returns True if the argument is a string. Example:
variable_string = "string"
check_bool = isstring(variable_string) yields check_bool = True
ISUNDEF()
This function returns True if the argument is undefined (undef). Example:
undef x
check_bool = isundef(x) yields check_bool = True
JOIN()
This function joins (concantenates) the string arguments using the first argument as the joiner string. Exam-
ple:
var_string = JOIN("and","first", "second", "third") yields
var_string = firstandsecondandthird
LBOUND()
This function returns the element number of the lowest occupied index of the argument array. (Also see
Arrays on page 5-6.) Example:
for i = 1 to 3
list[i] = i
next
first_element = LBOUND(LIST)
yields
list[1] = 1
list [2] = 2
list [3] = 3
first_element = 1