This compiler error will occur if you try to use a keyword as variable name.
For example:
var
nOT // this is the not keyword !!!
begin
Usually, as is the case above, the syntax highlighting of the macro editor will turn the variable to bold if it corresponds to a keyword. This should be an immediate clue (even before compiling) that the variable name is not allowed.
Topic 109901, last updated on 13-Apr-2020