Predefined Constants |
![]() ![]() |
TRUE FALSE NULL PI ON OFF
These constants are predefined and can be used as they were built into the language. You can defined your own constants by using the CONST statement.
They are defined s follows
TRUE 1 FALSE 0 ON 1 OFF 0 NULL 0 PI 3.14159265359
Example:
DIM hControl AS HANDLE
hControl = NULL PRINT PI, GRAPH.Grid( nGraph, ON ) ' Turn on the grid
|