static array of structures

Ben Gardner bengardner.uncrustify at gmail.com
Fri Mar 31 14:11:36 PST 2006


Thanks!  That was simple... =)

kris wrote:
> 
> it needs to have square brackets for the array assignment:
> 
>  options_table [] the_table =
>  [
>     { UO_option1, "option1", AT_NUM },
>     { UO_option2, "option2", AT_STRING },
>     { UO_option3, "option3", AT_BOOL },
>  ];
> 



More information about the Digitalmars-d-learn mailing list