or add ($mode iso} or {$mode extendedpascal} at the top of your program.
Note that since both ISO modes do not support units, the exception is you can not use this when you also use units. only whole programs.
The ISO modes are very strict and almost 99.999% compliant which is both excellent and - when you do not read the standards - sometimes frustrating.
These two are the only modes that do not transparently mix and match with other modes because of units..
But Marco is right: it works when you specify one of the ISO modes either on the command line or by the above in source.
It seems you are familiar with the standards, so these two answers should be clear to you
Note that the extendedpascal mode is 3.2.0 + I believe, because it is not in the online documentation yet.
Florian and Scott Franco (a.k.a. Scott Moore) have interactively discussed the standards and Florian implemented almost all if not all missing parts for both standards, (and I tested a bit fun)
http://pascal-central.com/standards.html(by Scott Franco, who also visits this forum now and then)