git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4382 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-11-08 19:51:14 +00:00
parent d3a53325cb
commit 53822ab424

View file

@ -2,9 +2,9 @@
The compiler maintains a list of defined symbols, which can be defined using !define or the /D command line switch. These defined symbols can be used for conditional compilation (using !ifdef) or for symbol replacement (a simple form of macros). To replace a symbol with its value, use $\{SYMBOL\} (if SYMBOL is not defined, no translation will occur). The translation is first-come-first-served, meaning if you do:
\c !define symbol1 ${symbol2}
\c !define symbol_one ${symbol_two}
If symbol2 is defined when that line occurs, it will be replaced. Otherwise, any replacing will occur when $\{symbol1\} is referenced.
If symbol_two is defined when that line occurs, it will be replaced. Otherwise, any replacing will occur when $\{symbol_one\} is referenced.
Define/conditional compilation related commands: