PureBytes Links
Trading Reference Links
|
Yes, the array(s) were declared before the code.
#1. was from BP[0] to BP[153] so was declared as BP[154](0);
and
#2. was from BP[0,0] to BP[76,1] so was declared as BP[77,2](0);
With arrays I have great difficulty. Just cannot workout where it is that
I'm going wrong?
Thanks Bob,
Jon Macmichael
----- Original Message -----
From: "Bob Fulks" <bfulks@xxxxxxxxxxxx>
To: "jonmac" <jonmac@xxxxxxxxxxx>
Cc: "omega" <omega-list@xxxxxxxxxx>
Sent: Tuesday, 13 November, 2001 12:27 AM
Subject: Re: arrays
> At 9:34 PM +1000 11/12/01, jonmac wrote:
>
> >y = BP[xc,0];
> >BnF = BP[y,1];
> >
> >I figured this type of array might work but only to find an error
> >message......"Tried to reference data in an array past the end or befroe
the
> >beginning of the array"
> >
> >Any help would be greatly appreciated.
>
> The reference looks correct.
>
> I assume you declared the array before using the code you listed:
>
> Array: BP[4,4](0);
>
> You would get that error message if either xc or y was outside the
> range of the array.
>
> Bob Fulks
>
|