PureBytes Links
Trading Reference Links
|
boolean can be an array, just that its value is restricted to either 0 or 1
have you read the intro on arrays yet?
_____
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Homar Simpson
Sent: Tuesday, 5 December 2006 4:29 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Having a nasty time figuring this APL out.
Still not sure why that's an ARRAY variable, looks like a boolean to
me. Can you explain why its considered that type?
Now I have this
1) PassTest = IIf(testvolume == False,False,PassTest );
2) if (Passtest==False) i=0;
Line 1 works.
Adding line 2 fails again with the array error. This is quite
annoying, as I don't see why boolean variables are being flagged as
arrays.
All I need to do is exit the for loop after a failure so I dont waste
time testing further days.
Seems like torture to write the simplest code.
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: 12/4/2006 3:20 PM
|