www.digitalmars.com         C & C++   DMDScript  

D - [Style Guide] not followed in the docs

According to the style guide members of enums should be all caps.

This is not followed by the the doc for arrays:
http://www.digitalmars.com/d/arrays.html, [cited 23.01.04]

In the capitel "Aray Initialization":
|	enum Color { red, blue, green };
|
|	int value[Color.max] = [ blue:6, green:2, red:5 ];

So long.
-- 
Fight Spam! Join EuroCAUCE: http://www.euro.cauce.org/  
2EA56D6D4DC41ABA311615946D3248A1
Jan 22 2004