Reference/!ifndef: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page with "=!ifndef= gflag [bcheck gflag [...]]] The opposite of !ifdef. The lines will be compiled when the gflag has not been defined.") |
No edit summary |
||
| Line 4: | Line 4: | ||
The opposite of !ifdef. The lines will be compiled when the gflag has not been defined. | The opposite of !ifdef. The lines will be compiled when the gflag has not been defined. | ||
<highlight-nsis>!undef SOMETHING | |||
!ifndef SOMETHING | |||
!echo "SOMETHING is not defined" | |||
!endif</highlight-nsis> | |||
Revision as of 15:09, 27 May 2013
!ifndef
gflag [bcheck gflag [...]]]
The opposite of !ifdef. The lines will be compiled when the gflag has not been defined.
!undef SOMETHING !ifndef SOMETHING !echo "SOMETHING is not defined" !endif