View Single Post
Old 10th May 2018, 21:46   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,873
The return is there because it creates a function on the fly with labels. Any run-time instruction is valid in a macro, macros are just text replacements in the first compiler phase.

Your code compiles for me, please post a minimal but complete example that reproduces the issue...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote