Reference/!insertmacro: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (→!insertmacro) |
(wiki link and formating) |
||
Line 3: | Line 3: | ||
macro_name [parameter] [...] | macro_name [parameter] [...] | ||
Inserts the contents of a macro that was created with !macro. If the macro was created with parameters, then you must pass as many parameters to the macro as it requires. | Inserts the contents of a macro that was created with <code>[[Reference/!macro|!macro]]</code>. If the macro was created with parameters, then you must pass as many parameters to the macro as it requires. | ||
<highlight-nsis>!macro Print text | <highlight-nsis>!macro Print text |
Latest revision as of 11:42, 11 December 2017
!insertmacro
macro_name [parameter] [...]
Inserts the contents of a macro that was created with !macro
. If the macro was created with parameters, then you must pass as many parameters to the macro as it requires.
!macro Print text DetailPrint "${text}" !macroend !insertmacro Print "some text" !insertmacro Print "some more text"
Command introduced with NSIS v1.8