Results 1 to 2 of 2

Thread: {$define }?

  1. #1
    Join Date
    Feb 2009
    Location
    Philipines
    Posts
    600
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default {$define }?

    What are {$DEFINE }?

    I searched for tutorials but I can not find a any.

  2. #2
    ian. Guest

    Default

    {$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).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •