SCL Reference: Boolean Expressions
Boolean expressions are used by several different SCL statement types that make decisions (e.g. if , loop , while ). These expressions will always evaluate to a boolean true or false value.
boolVar // true if boolean variable boolVar is true
RA1 == '1' // true if pin RA1 is high
RA1 <= 3500 mv // true if pin RA1 is less than or equal to 3.5 V
intVar > 123 // true if int variable intVar greater than 123
intVar - 34 < 123 // true if int variable intVar minus 34 less than 123
Note that the logical operators AND, OR, XOR etc are not currently supported by SCL.