Am 15.02.2012 12:03, schrieb Marco van de Voort:
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?

What does this have to do with whether this is a keyword or not?

Regards,
Sven


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to