February 11, 2006 Doc bug in arrays.html | ||||
---|---|---|---|---|
| ||||
In http://digitalmars.com/d/arrays.html , Static Initialization of Static Arrays, in the: enum Color { red, blue, green }; int value[Color.max + 1] = [ blue:6, green:2, red:5 ]; the second line should be: int value[Color.max + 1] = [Color.blue:6, Color.green:2, Color.red:5]; -- Bruno Medeiros - CS/E student "Certain aspects of D are a pathway to many abilities some consider to be... unnatural." |
February 14, 2006 Re: Doc bug in arrays.html | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bruno Medeiros | Right you are. I'll get it fixed. |
Copyright © 1999-2021 by the D Language Foundation