Changes

no edit summary
Line 49: Line 49:  
:- ^ for power
 
:- ^ for power
 
:- logical operators (&& for "and", || for "or") where the operands can be booleans or numbers (0 is false, any non-zero is true) and the boolean result is converted to number (there is no "not" operator but there is a not() function shown in the list of available functions)
 
:- logical operators (&& for "and", || for "or") where the operands can be booleans or numbers (0 is false, any non-zero is true) and the boolean result is converted to number (there is no "not" operator but there is a not() function shown in the list of available functions)
:-  comparisons between numbers (<= < == != > >=) where again the boolean result is converted to number
+
:-  comparisons between numbers (< = != >) where again the boolean result is converted to number
     
editors
59

edits