View Single Post
  #1  
Old 08-22-2006, 07:02 PM
wild8900 wild8900 is offline
Mr. Brightside
wild8900's Avatar
Join Date: Dec 2005
Posts: 418
wild8900 is an unknown quantity at this point
Send a message via MSN to wild8900
2 dimensional arrays

How do I create and use 2 dimensional arrays? I know how to use normal arrays in graal but how would I do something along the lines of this:
this.array={{1,2,3,4,5,6},{11,22,33,44,55,66}};
And I would access it with something like:
message #v(this.array[0][1]);
which return the value 22

would something like this work like how I want it above?
this.arrayy1={1,2,3,4,5,6}
this.arrayy2={11,22,33,44,55,66}
this.array={this.arrayy1,this.arrayy2};
__________________
Reply With Quote