home bbs files messages ]

Just a sample of the Echomail archive

COMPLANC:

<< oldest | < older | list | newer > | newest >> ]

 Message 242,221 of 243,097 
 Waldek Hebisch to bart 
 Re: _BitInt(N) 
 29 Nov 25 03:12:57 
 
From: antispam@fricas.org

bart  wrote:
> On 28/11/2025 23:23, Keith Thompson wrote:
>> bart  writes:
>>> On 28/11/2025 02:33, Janis Papanagnou wrote:
>> [...]
>>>> You can of course add as many commodity features to "your language"
>>>> as you like. I seem to recall that one of the design principles of
>>>> "C" was to not add too many keywords. (Not sure whether 'A.odd' is
>>>> a function or keyword above [in "your language"].)
>>>
>>> It is a reserved word, which means it can't be used as either a
>>> top-level user identifier, or a member name. With extra effort, it
>>> could be used for both, but that needs some special syntax, such as
>>> Ada-style "A'odd"; I've never got around to it.
>>>
>>> In Pascal (where I copied it from) it is a reserved word.
>>
>> In Pascal, "odd" is not a reserved word.  It's the name of a
>> predefined function.
>
> So what's a 'reserved word' then? To me it is something not available as
> a user-identifier because it has a special meaning in the language,

Yes.

> which may be that of a predefined function among other things.

The point is that there is no need to reserve names of predefined
identifiers.  Logically they may be defined in special scope and
any definition in program shadows predefined meaning.  That
happens in Pascal (but not in C).

--
                              Waldek Hebisch

--- SoupGate-Win32 v1.05
 * Origin: you cannot sedate... all the things you hate (1:229/2)

<< oldest | < older | list | newer > | newest >> ]


(c) 1994,  bbs@darkrealms.ca