Variables internal names (as seen by the assembler)

Language reference ›› Variables ››
Parent Previous Next

Normally all variables are prefixed by the module name (program or unit), followed by a dot.

Variables declared in the global sections are internally named as declared, with the module name prefix; variables declared within a procedure or function declaration are internally named:

<module-name>.<procedure-or-function-name>.<variable-name> and cannot be accessed outside.


MyUnit.MyVar is a variable declared in a global section of the MyUnit unit.

MyUnit.MyProc.MyVar is a variable declared in the MyProc procedure in the MyUnit unit.