cc:  [email protected]
Subject: Re: Re: [ast-developers] bool type not documented
--------

> Erm... one thing which may need documentation is that "bool" returns
> the strings "true" and "false" when used as string but |1| and |0|
> when used as arithmetic expression.
> Otherwise this _may_ cause some confusion...
> 
> 

In general the numerical value of an enumeration variable is the index
in the array of enumeration variables, starting at zero.

David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to