www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Extended Type Design.

reply Dan <murpsoft hotmail.com> writes:
Bill Baxter Wrote:

 is *already* unreadable (plus I don't think that [3,17] part is legal 
 D).  If any reasonable programmer really did have a need for such a type 

Actually, Bill, it's part of the language spec. http://digitalmars.com/d/arrays.html Look up "Rectangular Arrays"
Mar 16 2007
next sibling parent Frits van Bommel <fvbommel REMwOVExCAPSs.nl> writes:
Dan wrote:
 Bill Baxter Wrote:
 
 is *already* unreadable (plus I don't think that [3,17] part is legal 
 D).  If any reasonable programmer really did have a need for such a type 

Actually, Bill, it's part of the language spec. http://digitalmars.com/d/arrays.html Look up "Rectangular Arrays"

The only thing even close to that is this: --- In other languages, this would be called a multidimensional array and be declared as: double matrix[3,3]; --- Note those first three words...
Mar 16 2007
prev sibling parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Dan wrote:
 Bill Baxter Wrote:
 
 is *already* unreadable (plus I don't think that [3,17] part is legal 
 D).  If any reasonable programmer really did have a need for such a type 

Actually, Bill, it's part of the language spec. http://digitalmars.com/d/arrays.html Look up "Rectangular Arrays"

Read that part of the spec closely, Dan. --bb
Mar 16 2007