"Sean L. Palmer" <seanpalmer@directvinternet.com> wrote in message news:aosm19$2u69$1@digitaldaemon.com...You're right, but in the Examples under Array Operations it says:int[] def = { 1, 2, 3 }; // dynamic array of 3 ints
This is dynamic array instead of normal but should be same syntax, right?Sean"Mike Wynn" <mike.wynn@l8night.co.uk> wrote in message news:aosd4a$2l97$1@digitaldaemon.com...tryfloat[3] up = [ 0, 1, 0 ];float[3] down = [ 0,-1, 0 ];"Sean L. Palmer" <seanpalmer@directvinternet.com> wrote in message news:aos8r1$2hbf$1@digitaldaemon.com...And I will need to be able to initialize arrays with array literals, such as:
float[3] up = { 0, 1, 0 };float[3] down = { 0,-1, 0 };testvector.d(22): Error: a struct is not a valid initializer for a float[3]