The "@" symbol tells Kix that the word that follows is (likely to be) a macro. (macro - similar to a CONSTANT in other languages, except related to the computer where the script is running, and can be dynamic, such as @DATE)
As such, the "@" symbol is reserved. In order for you to use it, you must use "@@", which is kind of a special macro that represents the "@" symbol. The better solution (as Witto demonstrated) is to tell kix to ignore the "@" character when it is inside of quoted strings by setting the NoMacrosInStrings option. Of course, this requires you to make sure that macros are outside of strings. Something like:
$Mail = @USERID + "@mydomain.org"
Without the NoMacrosInStrings option, the same code would look like:
$Mail = "@USERID@@mydomain.org"
Both methods are valid, but the first example (using NoMacrosInStrings) is considered better coding practices by most of us. The same logic applies to variables and the NoVarsInStrings option.
Glenn
_________________________
Actually I
am a Rocket Scientist!