Re: NIL

From: [at]} <Gérard>
Date: Thu, 7 Oct 2004 19:07:26 +0200

----boundary-LibPST-iamunique-512140605_-_-
Content-type: text/plain

> 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.


----boundary-LibPST-iamunique-512140605_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCA+IEluIHRoZSBMYW5ndWFnZSBS
ZXBvcnQsIE5JTCBpcyB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X0AAHi5UgAC



----boundary-LibPST-iamunique-512140605_-_---
Received on Thu Oct 07 2004 - 19:07:26 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:28:34 UTC