Installation guide
Programming Commands 157
TOLERANCE Miscellaneous Command
ACTION: Sets a tolerance on a numeric comparison.
SYNTAX: TOLERANCE = expression
TOLERANCE - used in an expression
REMARKS: Sets a numeric tolerance for all comparison operators (<, <=, = >=, >,
<>). If the comparison is within the bounds of a ± tolerance the com-
parison is true.
EXAMPLES:  TOLERANCE=.001
IF x <= 2 THEN  ‘ if x <= +1.999 then comparison is true
 statements
ELSE IF x >= 4 THEN ‘ if x >= +3.999 then comparison is true
 statements
ELSE IF x = 3 THEN  ‘ if x is 2.999 to 3.001 the comparison is
true
 statements
ELSE IF x <>3 THEN  ‘ if x < 2.999 or >3.001 the comparison is
true
 statements
END IF
UCASE$  String Manipulation
ACTION: Returns a string with all letters converted to upper case.
PROGRAM SYNTAX: string1$=ucase$(string2$)
REMARKS: String2$ is copied and all lower-case letters are converted to upper
case.
This command is useful for making the INSTR command case insensi-
tive.
EXAMPLES: a$=“hello”
b$=UCASE(a$) ‘ b$=“HELLO”










