On 26 August 2013 16:59, David Korn <[email protected]> wrote:
> cc: [email protected]
> Subject: Re: [ast-developers] [uwin-developers] Next alpha/beta and roadmap 
> for ksh93v?
> --------
>
>
>> BTW: bool is an integer type in ANSI C, right? So bool b;
>> ${b.max}/$((b.max)) should work, right?
>>
>> Simon
>>
>
> If max is an enumeration constant for the type of b what should the value be?

First rule: Numeric constants should be all uppercase
Second rule: Enumeration constants have priority over numeric constants

Second rule would mean that if an enumeration as en.max it takes
precedent over a constant of the same name (natural law, at least in
C++, java and python). The first rule would ensure that they stay out
of each others way unless the programmer asks for trouble.

Tina
-- 
Tina Harriott  - Women in Mathematics
Contact: [email protected]
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to