Adriaan van Os wrote:
The parser accepts
type CGDisplayErr = CGError.CGError;
so, why shouldn't it accept
type CGDisplayErr = CGError;
Consider:
type rt = record CGError : integer end; var CGError : rt; i : integer; rv : rt;
then the compiler accepts:
rv := CGError; i := CGError.CGError;
but rejects:
i := CGError;
Imagine now that `CGError' variable is defined in `CGError' unit. What does it mean then:
i := CGError.CGError;
Is it record `CGError' form unit `CGError' or is it field `CGError' from the `CGError' record?
By the way, does Apple Pascal support qualified identifiers?