Tag archive for "function"

This procedure processes system function New. It uses a common procedure for New as function and procedure.

This procedure processes system functions SeekEoln, SeekEof, Eoln for text files and Eof for all files.

This procedure processes system functions FilePos and FileSize. It expects file variable as parameter and generates a call to appropriate compiler function passed as parameter to this procedure.

This procedure processes system function UpCase.

This procedure processes system function Abs. It simply converts negative numbers to positive.

This procedure processes system function Sqr. It generates code to multiply the expression with itself.

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 Pascal declarations: Constants, Types, Variables, Procedures, Functions, and if declarations are not in the Interface part of the unit, also Lables, Constructors and Destructors are processed. Before declarations are processes, statement compiler switches are reset to module compiler switches. This procedure is called from program compilation, unit interface and implementation compilation and …