[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: ABtool v0.0.6 beta - Bug #3 / Question ?



PureBytes Links

Trading Reference Links

Hi Fred,
there is a new function in the version I had emailed you
for cleaning the memory after script errors:
  ABtoolInit();
Put it at top of your script.
For example if the script aborts before reaching
the TableDelete() call, then the memory the table
occupied is still allocated. To free it use ABtoolInit()
at the beginning of your script.
UM

----- Original Message ----- 
From: "Fred" <fctonetti@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 06, 2003 6:43 PM
Subject: [amibroker] Re: ABtool v0.0.6 beta - Bug #3 / Question ?


> TJ / UM / Others ...
> 
> Confirmed ... the double \ does work.  Thank you.  It was making me a 
> tad itchy writing things to the default directory.
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
> wrote:
> > Fred,
> > 
> > I think that due to the fact that \ is escape sequence begin
> > you should specify path with \\ since this is converted to single 
> backslash
> > 
> > "C:\\WORK\\ABTOOL.CSV"
> > 
> > Best regards,
> > Tomasz Janeczko
> > amibroker.com
> > ----- Original Message ----- 
> > From: "Fred" <fctonetti@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Tuesday, May 06, 2003 5:18 PM
> > Subject: [amibroker] Re: ABtool v0.0.6 beta - Bug #3 / Question ?
> > 
> > 
> > > Uenal,
> > > 
> > > When using simple filenames such as "ABTOOL.CSV" in commands like 
> > > TableExport the ABTOOL.CSV file is created in c:\Program 
> > > Files\AmiBroker assuming that a standard install of AB was done.  
> > > However if one changes this to be a fullpath 
> > > i.e. "C:\WORK\ABTOOL.CSV" then it appears that NO file is created 
> > > even if C:\WORK already exists.  Is this a bug ? or does one not 
> have 
> > > the option to put the file in another directory.
> > > 
> > > Regards, Fred
> > > 
> > > --- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> > > > 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@xxxx>
> > > > 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 ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.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/