What are {$DEFINE }?
I searched for tutorials but I can not find a any.
What are {$DEFINE }?
I searched for tutorials but I can not find a any.
{$DEFINE } is a compiler directive.
There are multiple ones you can use:
{$DEFINE}
{$IFDEF}
{$UNDEF}
{$DEFINE } defines a set that can checked if it is defined later on in the script (using {$IFDEF}). {$UNDEF} is used to undefine. There are also {$END} and {$ELSE}.
But you cannot set or undefine them during runtime as they are compiler directives and interpreted at the beginning when it compiles the script (read line from line, and if it finds one of these, it executes it).
There are currently 1 users browsing this thread. (0 members and 1 guests)