Archive: create function with argument


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

functionend


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

might also be interested in this wiki page:
http://nsis.sourceforge.net/Macro_vs_Function

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