[Lazarus] Should the "at" word be painted as reserved word ?
Marco van de Voort
marcov at stack.nl
Wed Feb 15 12:03:06 CET 2012
On Wed, Feb 15, 2012 at 11:51:27AM +0100, Sven Barth wrote:
> >>
> >> 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).
That was what I thought too initially. But there is also a gramatical
difference that in the case of repeat..until there is a zero or more
intermittent statements, while in the case of raise .. at there is one, and
only exactly one expression?
More information about the Lazarus
mailing list