Predefined constants

Top  Previous  Next

A number of constants are defined in VPL:

 

 

TRUE, ON

This can be assigned to a variable of the type BOOL.

FALSE, OFF

This can be assigned to a variable of the type BOOL.

__LINE__

Returns the current line number as an integer of the current source file.

__FILE__

Returns the file-name as a STRING of the current file.

__TIME__

Returns the compilation time as a STRING.

__DATE__

Returns the compilation date as a STRING.

__DEBUG__

Defined when compiled with the debug option enabled.

__LSS__

Defined when compiled with the LSS option enabled.

__MODE_LARGE__

Defined when compiled as LARGE architecture.

__MODE_X32__

Defined when compiled as X32 architecture.

__MODE_NX32__

Defined when compiled as NX32 architecture.

__MODE_NX32L__

Defined when compiled as NX32L architecture.