by Marco van de Voort <marcov@[EMAIL PROTECTED]
>
Mar 31, 2005 at 02:33 PM
On 2005-03-31, Dorax <dorien.herremans@[EMAIL PROTECTED]
> wrote:
> I having trouble with a pascal program I made:
>
> I work with arrays of 100 and 1600 - length. Everything works fine.
> When I change the length of the arrays (wich should still work fine I
> think), I get a 201 runtime error (freepascal-compiler).
201 is a range check error. This seems to hint at a user error.
> The error occurs when the program calles a function and p***** the
> array. Nothing is wrong before the functioncall, but he can't get in
> the function.
>
> it goes as followed:
>
> const
> maxtijden : 1000; {works well with 100}
>
> type
> muztype : array[1..2,1..maxtijden];
of what?
Try to make a minimal program that shows the problem. The current is not
even
correct as pseudo code.
P.s. FPC is no ansi-iso compiler. Best place to ask questions about it is
in comp.lang.pascal.misc,
follow-up set.