Im discover very strange behavior in MC 8 Beta 1.
I have array.
arrays:
FiboArray[20,5](0);
end a function which fills this array with data. (FiboArray is referenced argument)
ComputeData(YesterdayLow,YesterdayHigh,YesterdayDate,FiboArray,1,1);
Now, i have if Statement which asks for some value in this array
if( (FiboArray[12,3] < FiboArray[8,3]) AND
(Close > FiboArray[10,2]) AND
(Low < FiboArray[10,2]) )then
begin
And now comes realy strage behavior. This if Statement calls the function ComputeData ..
I checked this issue from several points. it looks in deed what every time the if statement works with FiboArray the function ComputeDate is automaticly calling.
Is this possible !?, how can i stop this.
Thanks.
Does the function call automaticly ?
- TJ
- Posts: 7745
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Does the function call automaticly ?
...can't tell you much with the limited information you provided.Im discover very strange behavior in MC 8 Beta 1.
I have array.
arrays:
FiboArray[20,5](0);
end a function which fills this array with data. (FiboArray is referenced argument)
ComputeData(YesterdayLow,YesterdayHigh,YesterdayDate,FiboArray,1,1);
Now, i have if Statement which asks for some value in this array
if( (FiboArray[12,3] < FiboArray[8,3]) AND
(Close > FiboArray[10,2]) AND
(Low < FiboArray[10,2]) )then
begin
And now comes realy strage behavior. This if Statement calls the function ComputeData ..
I checked this issue from several points. it looks in deed what every time the if statement works with FiboArray the function ComputeDate is automaticly calling.
Is this possible !?, how can i stop this.
Thanks.
ps. please use code tag when posting codes. It makes reading codes easier.