OCR Reference Language
af Aaron Santhosh

1. input/output
1.1. input(...)
1.1.1. INPUT
1.2. output(…)
1.2.1. OUTPUT
2. casting
2.1. str( )
2.1.1. STRING
2.2. int( )
2.2.1. INTERGER
2.3. float( )
2.3.1. FLOAT
2.4. real( )
2.4.1. REAL
2.5. bool( )
2.5.1. BOOLEAN
3. iteration
3.1. for … to … next …
3.2. for … to … step … next …
3.3. while … endwhile
3.4. do until …
4. Sub Programs
4.1. procedure name (…) endprocedure
4.2. procedure(parameters)
4.3. function name (…) … return … endfunction
4.4. function(parameters)
5. operators
5.1. comparison operators
5.1.1. ==
5.1.1.1. EQUALS TO
5.1.2. !=
5.1.2.1. NOT EQUAL TO
5.1.3. <
5.1.3.1. LESS THAN
5.1.4. <=
5.1.4.1. LESS THAN OR EQUAL TO
5.1.5. >
5.1.5.1. GREATER THAN
5.1.6. >=
5.1.6.1. GREATER THAN OR EQUAL TO
5.2. Boolean operators
5.2.1. AND
5.2.2. OR
5.2.3. NOT
5.3. Arithmetic operators
5.3.1. +
5.3.1.1. ADDITION
5.3.2. -
5.3.2.1. SUBSTRACTION
5.3.3. *
5.3.3.1. MULTIPLICATION
5.3.4. ^
5.3.4.1. EXPONENT
5.3.5. /
5.3.5.1. DIVISION
5.3.6. MOD
5.3.6.1. MODULUS
5.3.7. DIV
5.3.7.1. QUOTIENT
6. commenting
6.1. //
6.1.1. COMMENT
7. variables
7.1. const
7.1.1. CONSTANT
7.2. global
7.2.1. GLOBAL VARIABLE
7.3. =
7.3.1. ASSIGNMENT