Post a reply to the thread: Request for using constants in Edit INI File
Click here to log in
What's the name of our main installation product (in uppercase letters), directly followed by the current year?
You may choose an icon for your message from this list
Will turn www.example.com into [URL]http://www.example.com[/URL].
Re: Request for using constants in Edit INI File Got it
Re: Request for using constants in Edit INI File
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
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$
Request for using constants in Edit INI File
[Update] DoUpdateNovax=%DOUPDATENOVAX%
[Update] DoUpdateNovax=$NOVAXINI_DOUPDATENOVAX_OPDATERINGIGANG$
Forum Rules