PureBytes Links
Trading Reference Links
|
I am playing a little bit with loops and I encounters the following problem.
In AFL , all arrays have the length of the current price array and this
causes some troubles.
Example:
for(i=1; i<=100; i++)
{
X[i} = i;
}
mini = lowest(X);
last = lastvalue(X);
I would expect to have mini = 1 and last=100
Unfortunately, AFL stores the values from 1 to 100 in the first one hundred
elements of the array and then pads with 0.
This causes the results to be mini =0 and last=0.
How to handle this kind of situation?
Would it be possible to add the capability to define array with length
different than the price array?
Waz
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/KXUxcA/fNtFAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
<<attachment: winmail.dat>>
|