Hi, I have just tried converting my file parsing routine from reading it backwards from memory using: line (entire_DUlog, row) to the vector form:
dv = vec.createFromLines (entire_DUlog) for (row = vec.length(dv)-1; row; row=row-1) string = Dv[row] When I start running the script in fast succession (without changing it) to time it, it runs OK several times and then starts to report "Invalid vector number: -1". I run it with a hotkey, it runs until the messagebox "OK", which prints out the timing result (perfcount), which I read, then I press Esc, and the hot key again. It broke each time on a file 160-350 KB (3000-6000 string rows), everything is global, with 700 MB free RAM on my notebook. BTW, speedwise: for smallish file, about 50 rows (up to 100's), the first method is a bit faster, but for the longer files (1000's of rows) vec becomes a bit faster but not significant in my application. Until it breaks. For my application, I will stick with the first solution, it works, and is fast enough for my expected data volume. Scripts is done in about 0,2 secs, regardless of the data amount. Regards, Davor Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
