Rectangular Arrays

Bill Baxter dnewsgroup at
Fri Feb 23 18:00:18 PST 2007

mike wrote:
> Am 23.02.2007, 19:23 Uhr, schrieb Bill Baxter <dnewsgroup at>:
>> Static arrays work that way.
>>     byte[bufferCount][bufferLength] foo;
>> as long as bufferCount and bufferLength are compile-time constants.
>> --bb
> Yeah, I'm still using static arrays ... thought I had switched to 
> dynamic arrays already. One more thing on my todo-list.

Actually, though, looking at the names of the arguments it's probably 
      byte[bufferLength][bufferCount] foo;

or C-style
      byte foo[bufferCount][bufferLength];



More information about the Digitalmars-d-learn mailing list