Part 2: Keywords and operations |
Keywords The reserved key words are names that are used for declarations, statements etc. in HAL. The reserved keywords are not allowed to be used as variable or procedure names. Here is the list of reserved keywords in HAL |
/*Keywords*/
AREA ARRAY BEGIN
BOOLEAN CASE DATE
DEFINEWINDOWS ELSE END
ENUM EXTERNAL EVENT
FINAL FOR FORWARD
FUNCTION GLOBAL GOTO
INNER INTEGER IF
LOCAL LONGINT ONLOAD
OTHERWISE OUTER PROCEDURE
REAL RECORD RECT
REMOTE ROW STARTUP
STRING SWITCH THEN
TIME UPDATING VAL
VAR WHILE WQUIT
|
Mathematical Operations Here is a list of the mathematical operations that are supported by HAL. The operator followed by the operation that it will perform. |
/*Mathematical Operations*/
* MUL
/ DIV
+ ADD
- SUB
+= ADS
-= SUBS
& ET
= EQ
== EQInt
> GR
>= GE
< LT
<= LE
<> NE
!= NE
NOT NOT
AND AND
OR OR
++ UADD
-- USUB
u UMIN
|