I was right. it was the mode!
I discovered that you can change this mode for your whole project:
Project -> Project options -> Compiler options -> Parsing (Syntax mode)
Very handy, because I was under the impression that you HAD to use the {$MODE xxx} compiler directive.
Bookmarks