e.g.,
is a valid command- the compiler accepts it.
!define "" "xyz"
However, there is no way to use this defined "symbol".
e.g.,
displays "${}", not "xyz".
MessageBox MB_OK "${}"
A couple of exceptions I have found are:
- A label cannot start with !,0-9,$,-, or +. (However, after the first character in the label name, anything is fair game.)
- A GoTo target cannot start with 0-9, $, or !. (ditto)
The absence of any real naming convention should normally not be an issue since I doubt that many people are creating weird names for functions, sections, labels, variables or symbols, but it still doesn't seem right.
Why do I bring this up? Well, I am developing an IDE for NSIS in Eclipse (see link in my signature), and it is really difficult to create a syntax highlighter/checker when the scripting language is so freeform.
Hence, I was wondering what were others' thoughts on this issue.
So... should there be a naming convention for NSIS?