Fixed and documented !if & operator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6099 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f0fb5aafea
commit
fbc7cb8fd0
3 changed files with 3 additions and 2 deletions
|
@ -63,7 +63,7 @@ The opposite of !ifdef. The lines will be compiled when the gflag has not been d
|
|||
\c [!] value [op value2]
|
||||
|
||||
This command, when paired with an !endif command, will tell the compiler whether or not to compile the lines in between the two lines. If value is non-zero, or the comparison of value and value2 depending on the operator results in true, the contained lines will be compiled. Otherwise, they will be skipped.
|
||||
op can be either == or != (string comparison), <=, < > or >= (float comparison), && or || (boolean comparison).
|
||||
op can be either == or != (string comparison), <=, < > or >= (float comparison), & (bitwise AND comparison), && or || (boolean comparison).
|
||||
If [!] is set, return value will be switched from true to false and vice versa.
|
||||
|
||||
\c !if 1 < 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue