Expressions

Expression in Turbo Pascal is everything from constant, variable, calculation or just an identifier. Expressions are made up of operators and operands. Most Pascal operators are binary; they take two operands. The rest are unary and take only one operand. This unit contains over 100 functions to process every possible Turbo Pascal expression.

This procedure processes qualifiers: caret (^) to dereference pointers, period as separator for fields and brackets ([]) for arrays.

Calls to all procedures, functions and methods are processed from this procedure. It takes care for pushing all parameters and generates instruction to call the procedure.

This procedure processes both syntaxes for New as procedure or as function. It either allocates space in heap or calls constructor to create the object in heap.