[Lazarus] Should the "at" word be painted as reserved word ?
Sven Barth
pascaldragon at googlemail.com
Wed Feb 15 11:51:27 CET 2012
Am 15.02.2012 11:36, schrieb Marco van de Voort:
> On Mon, Feb 13, 2012 at 10:25:34AM +0800, Paul Ishenin wrote:
>>> According to my "Sprachgef??hl" this cannot be anything other than a
>>> reserved word. Its not an identifier, its not an operator, it can only
>>> be a reserved word.
>>
>> At is not a reserved word. It works only in the context of a raise
>> statement.
>
> How is this different from "until" ?
Maybe because the "at" was introduced rather late by Borland and then
they didn't want to break compatibility with code that uses "at" as a
variable or something. "until" is in the language for a long time
(Delphi language, not Pascal language). Same with words like "helper",
"read", "write", "default", "requires", "contains". They were all
introduced afterwards (though there seem to be exceptions, so it's not
easy to decide whether something is a global keyword or a context
sensitive one).
Regards,
Sven
More information about the Lazarus
mailing list