PureBytes Links
Trading Reference Links
|
Greetings --
I would like to set up some tests within afl and write selected information
from selected tests to an ASCII file. What is the best way to do this? Are
there native afl functions or 3rd party plugin dlls?
I've searched help files and archives but haven't found much that was
helpful.
Simple pseudocode (hopefully self explanatory) example:
// desired functionality
Filename = "C:\AmiBrokerTests\October18Runs.csv";
FileOpen (Filename, Mode = append);
Done = 0;
For (i=0; Done==0; i++)
{
.....
metric = a + b;
if (metric >= 100)
{
append (Filename, "test number: " + I + " metric: " +
metric);
}
if (sometest)
{
Done = 1;
FileClose (Filename);
}
}
// end of code
Thanks,
Howard
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
|