Re: allocating an array in an associative array

2011-02-09 Thread Steven Schveighoffer
On Wed, 09 Feb 2011 07:58:12 -0500, Dominic Jones wrote: Hello, I want to allocate the "int[]" array for a particular key in int[][string] list; by doing list[key].length = list[key].length + 1; but it does not work. I get an array bounds error. I am using gdc 4.3.5. Any suggestion

allocating an array in an associative array

2011-02-09 Thread Dominic Jones
Hello, I want to allocate the "int[]" array for a particular key in int[][string] list; by doing list[key].length = list[key].length + 1; but it does not work. I get an array bounds error. I am using gdc 4.3.5. Any suggestions? Thank you, Dominic Jones