The documentation says explicitly that “Fields can be defined at any place within the declaration of a class or record. And “…the field or, for backwards compatibility, var keywords can be used to start an explicit field section, but it is not required.
However if I declare some constants, I can not follow them with field declarations, unless preceded with key word ‘var’. I vaguely remember a discussion by Marc on words meaning appropriate things in the language, hence it is better to use field rather than var in declaring a field.
Am I missing something, such that this is expected behaviour, or is something amiss.
There is no difference using the keywords individually either, as expected.


