PureBytes Links
Trading Reference Links
|
Fred,
the table definition cannot be changed after adding any
data to the table. If you do the table definition within a
loop (not recommended) then you should not add any
data within that loop (of course also not in a second loop
within that loop). You should do only one task within
a loop; for example walking thru all rows and at the same
time adding new rows is not recommended, but it will
function if used like this:
for (j = 1; j < TableGetRowCount(th1); j++)
In the code below any new row additions within the loop
will not be looped thru.
m = TableGetRowCount(th1);
for (j = 1; j < m; j++)
Ie. first define the table completely, and only after that
do use it (set cell values etc.).
To redefine a table delete it first and recreate, or just
use a new tablehandle by calling TableCreate().
I'll check the problem you wrote
UM
----- Original Message -----
From: "Fred" <fctonetti@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 06, 2003 9:35 AM
Subject: [amibroker] ABtool v0.0.5 beta - Bug #2 ?
> I have no trouble putting a string in a table which I verified by
> exporting the table and seeing that the string (Ticker) was there as
> it should be.
>
> I appear to have no trouble getting a string out of a table which I
> verified by checking VarGetLastType which was a 3 i.e.
>
> HighTicker = TableDataGet(j, 0, th1);
> datatype = VarGetLastType();
>
> However when I try and put that ticker in another table the
> instruction fails i.e. when I export the table it's not there and
> following this I get the same effect as in the previous reported bug
> in that everything else about the AFL becomes inoperable until I shut
> down the AA shut down AB and bring them both up again and note out
> the offending statement.
>
> // TableDataAddStr (HighTicker, k, 1, th2);
>
> Everything else going into that table row is fine.
------------------------ 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/
|