num1 { + | - | * | / } num2 |
Integers or real number |
Integer when both numbers are integers, Real otherwise |
Returns the operation between num1 and
num2 . |
obj1 { < | > | <= | >= | = | /= }
obj2 |
Two integers or two strings or two real numbers |
Boolean |
Returns the comparison of obj1 and
obj2. |
obj1 { = | /= } obj2 |
Any type, any type |
bool1 { = | /= } bool2 |
Boolean |
Boolean |
Returns TRUE if bool1 is equal
to bool2 . |
bool1 AND bool2 |
Boolean |
Boolean |
Returns TRUE if bool1 and
bool2 are TRUE . |
bool1 OR bool2 |
Boolean |
Boolean |
Returns TRUE if bool1 or bool2
is TRUE . |
NOT(bool1) |
Boolean |
Boolean |
Returns the negation of bool1 . |
str1 + str2 |
String, string |
String |
Returns the concatenation of str1 and
str2 . |
obj1 ISA class1 |
Any type, Class |
Boolean |
Returns TRUE if obj1 is of
class1 class. |
obj1 $< list1 |
Any type, List |
Boolean |
Returns TRUE if obj1 belongs to
list1 list. |
INT(obj1) |
Real or string |
Integer |
Returns obj1 converted into integer. |
REAL(obj1) |
Integer or string |
Real |
Returns obj1 converted into real. |
STR(obj1) |
Any type |
String |
Returns obj1 converted into string. |
BOOL(str1) |
String |
Boolean |
Returns str1 converted into Boolean. |