----boundary-LibPST-iamunique-318802820_-_-
Content-type: text/plain
(Small error. Position of error mark [X] should be as follows)
MODULE PrivNil;
CONST[X] NIL = 0;
END PrivNil.
and same error message "PROCEDURE, BEGIN, or END missing."
-Doug
Gérard Meunier wrote:
>>In the Language Report, NIL is included in the list of Operators and
>
> delimiters (sec. 3.5)
>
>>but it is a constant, isn't it, so it ought to be among the predeclared
>
> identifiers (sec. 4)?
>
>>Am I missing something?
>
>
> Hello Fyodor,
>
> It depends on the way the compiler manages it. The test module below shows
> that the compiler considers it as being a keyword, recognized at the lexical
> level, and that it conforms to the language report.
>
> MODULE PrivNil;
>
> CONST
>
> NIL = 0;
>
> END PrivNil.
>
> Cheers.
>
> Gérard
>
> --------------------------------------------
>
> To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
> blackbox-request{([at]})nowhere.xy>
> To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
>
> Send any problem reports or questions related to this email list to the list owner at
> owner-blackbox{([at]})nowhere.xy>
> Current posting policy:
>
> a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
>
> b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
>
>
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
owner-blackbox{([at]})nowhere.xy
Current posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-318802820_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1x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