Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Ansi -iso > Re: large array...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 149 of 215
Post > Topic >>

Re: large array problem?

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.
 




 2 Posts in Topic:
large array problem?
dorien.herremans@[EMAIL P  2005-03-31 06:23:24 
Re: large array problem?
Marco van de Voort <ma  2005-03-31 14:33:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 20 0:11:14 CDT 2008.