Can an NSIS function have more than one parameter?
Why is this code not compiling? If I cannot have more than one parameter for a function, then what are my other parameters (excluding the use of a macro)?
Compilation Error:
The function expects 1 parameter, received 4. Usage: Function function_name
Outfile "test.exe"
Caption ""
Name ""
Function MyFunction p1 p2 p3
DetailPrint "$p1, $p2, $p3"
FunctionEnd
Section
DetailPrint "Hello World"
SectionEnd
source
share