April 19, 2004 Declaration Syntax documentation errors | ||||
---|---|---|---|---|
| ||||
I know there is a good chance I'm missing somthing (being the newbie and all - thanks Phill); however, under the heading Declaration Syntax in http://www.digitalmars.com/d/declaration.html It quite clearly says that the declaations are left to right: Declaration syntax generally reads left to right: int x; // x is an int int* x; // x is a pointer to int int** x; // x is a pointer to a pointer to int int[] x; // x is an array of ints int*[] x; // x is an array of pointers to ints int[]* x; // x is a pointer to an array of ints And yet every comment is reading the declaration right to left(same for the next section in the doco)??? |
April 19, 2004 Re: Declaration Syntax documentation errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Scott Egan | Youch! You're right, I'll fix it. |
Copyright © 1999-2021 by the D Language Foundation