PureBytes Links
Trading Reference Links
|
Uenal,
Thanks for the new features.
This is an EXTREMELY beneficial tool and will be even more so with
the new features.
Thanks again, Fred
--- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> The latest version of the ABtool plugin for AB can be found at the
following locations:
> - File area of the "amibroker" group at yahoo:
> http://groups.yahoo.com/group/amibroker/files/ABtool/
>
> - In the support area / 3rd party downloads at www.amibroker.com:
> http://www.amibroker.net/3rdparty.php
>
> - Or, email me:
> uenal.mutlu@xxxx
>
> HIGHLIGHTS OF THIS VERSION (see also History and ToDoList at the
end of the reference file):
> - Multi-Dimensional arrays
> - Log file for user's own use
> - Starting other programs from within AFL
> - Getting/Setting environment variables
> - Getting Date and Time of today
> - Getting Day of Week (DOW)
> - Getting current directory
> - Exporting optionally only the top N rows of a table
>
> Below is an example for the use of multidimensional arrays.
> Please note, that from now on all ABtool plugin functions have to
be prefixed
> with an "xx". For details see the reference text file in the
distribution archiv.
>
> UM
>
> //------------------------------------------------------------------
------------
> // ArrayXXX.afl
> // Multidimensional Arrays in ABtool plugin v0.9.3.6+
> // Written 030510Sa by Uenal Mutlu
>
> xxABtoolInit();
> Filter = True;
> AddTextColumn(xxDirCurGet(), "curDir");
>
> // a 4D array with 4x6x15x30 elements of type 12 (int16; see Doc)
> hArr = xxArrayCreate(12, 0, 4, 6, 15, 30);
> if (hArr >= 0)
> {
> for (i1 = 0; i1 < 4; i1++)
> for (i2 = 0; i2 < 6; i2++)
> for (i3 = 0; i3 < 15; i3++)
> for (i4 = 0; i4 < 30; i4++)
> {
> valA = 100 + i1 + i2 + i3 + i4; // testvalue
>
> // set element content
> xxArrayNumValSet(valA, hArr, i1, i2, i3, i4);
>
> // get element content
> valB = xxArrayValGet(hArr, i1, i2, i3, i4);
>
> //...
> }
>
> //...
>
> xxMsgBox("Array filled", "Success");
> xxArrayDelete(hArr); // release the handle and the memory
it had used
> }
> else
> xxMsgBox("Array could not be created. Check Dim
params!", "Error!", 16);
> //------------------------------------------------------------------
------------
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/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/
|