Nils2000
17th March 2003 16:39 UTC
diff. macro <-> function
Hi !
I'm a complete noob to NSIS, but I think it's great :)
I've a question, regarding macros. The manual does'nt seem to answer it. What's the difference between macros and functions ? !Macro seems to to be a compiler directive.
Greetings
Nils
Joost Verburg
17th March 2003 17:11 UTC
Macro's are processed on compile-time. A macro inserts code depending on the parameters (defines).
Function can be called on run-time.
Nils2000
17th March 2003 17:24 UTC
ic, quite the same as c/c++ macros, which are expanded at compile-time by the preprocessor ?
Joost Verburg
17th March 2003 17:48 UTC
Yep, that's right :)
Nils2000
19th March 2003 08:23 UTC
thx for your help :up: :)