+ Reply to Thread
Results 1 to 3 of 3

Thread: Request for using constants in Edit INI File

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Request for using constants in Edit INI File

    The "Contents" of an "Edit INI File" function does not translate constants. Only variables.

    $NOVAXINI_DOUPDATENOVAX_OPDATERINGIGANG$ is a constant of "1"

    This work
    Code:
    [Update]
    DoUpdateNovax=%DOUPDATENOVAX%
    Where %DOUPDATENOVAX% has been set to $NOVAXINI_DOUPDATENOVAX_OPDATERINGIGANG$

    However it would be nice to be able to just use the constant directly in the "Contents" section.
    Code:
    [Update]
    DoUpdateNovax=$NOVAXINI_DOUPDATENOVAX_OPDATERINGIGANG$

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Request for using constants in Edit INI File

    Allen,

    ..."Wherever the constant appears in your source file, the preprocessor replaces it by its value. So, for instance, every "$TRUE$" in your source code will be replace by 1. The compiler will only see the value 1 in your script code (If statement and Set Variable function only), not "$TRUE$"..."

    You can't use constants in the other functions.

    Friedrich

  3. #3

    Default Re: Request for using constants in Edit INI File

    Got it

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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