That's all well and good, but I use these functions in a bunch of other .nsh files and at the moment have to place the declaration in the main .nsi file. Otherwise I get compilation errors.
!include "StrFunc.nsh"
${StrTok}
... go on to use ${StrTok}
All very understandable, but is their a way to protect the declaration above so that my .nsh files can be self-contained?
I imagine some
but have been unable to figure out exactly what.
!ifndef foo
${StrTok}
!endif
Angus