Skip to content
⌘ NSIS Forum Archive

create function with argument

3 posts

peeratep#

create function with argument

how to crate function with argument in nsis
exam: function test(str)

functionend
KenA#
Re: create function with argument

Originally posted by peeratep
how to crate function with argument in nsis
exam: function test(str)

functionend
Hi peeratep,

I think that macros are the closest things to what you are looking for. Check the !macro/!macroend and !insertmacro entries in the NSIS manual.

KenA
Animaether#
might also be interested in this wiki page:


Which goes over the whole parameter/argument passing thing and more wrt Macros and Functions