Talk About Network



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 > large array pro...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 149 of 211
Post > Topic >>

large array problem?

by dorien.herremans@[EMAIL PROTECTED] (Dorax) Mar 31, 2005 at 06:23 AM

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).

The error occurs when the program calles a function and  passes 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];
punten : real;

var
muziek: muztype;

begin
something to fill muziek
{works fine till here}
punten := doelfunctie(muziek);

end.

function doelfunctie(muziekd : muztype) : real
var
muziekd : muztype;

begin
{he cannot get on the first line here}
end;

It would be an enourmous help if somebody could relieve my pains....
thanks!




 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 Sat May 17 14:10:46 CDT 2008.