On 13 Jan 2006 at 12:27, Silvio a Beccara wrote:
Good morning,
what is the maximum dimensions of a GPC dynamic array? In one of my codes, which used to compile fine with following GPC version:
gpc version 2.1 (20020510), based on 2.95.2 19991024
I have the following dimensioning:
type
PMatr3Dob10 = ^TMatr3Dob10; TMatr3Dob10 (Size1, Size2, Size3: Integer) = array [ 0 .. Size1, -1..Size2, 0..Size3 ] of double;
var jaekets: PMatr3Dob10;
[ ... ]
new ( jaekets, dim1, 4 * neact, 1000 );
where dim1 = 100000, neact=2
Now, with GPC version 20050331, based on gcc-3.4.3, I get the following error:
value out of range (error #300 at 80c00b8)
Either ensure that the value does not go beyond the permitted range (best solution), or turn off range checking when compiling (not generally a good idea while testing your code).
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.greatchief.plus.com/