Declaring a very big array

Please discuss general Delphi programming topics here.

Declaring a very big array

Postby Christine123 » August 9th, 2007, 11:41 pm

I have a 4 D array.
array of array of array of array of double;


when I declare my array the maximum space I can set it to is. 100
SetLength(FourParms, 100, 100, 100, 100);

How can I increase the size?

Thanks
Christine123
Junior Member
Junior Member
 
Posts: 25
Joined: May 28th, 2007, 10:28 pm

Postby Johnny_Bit » August 10th, 2007, 6:06 am

have you ever tried pointer magic? it's simple and allows ou to achevie arrays as big as whole available memory.
Thou shalt write the code, not connect the bricks.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron