RE: list of lists as arrays
RE: list of lists as arrays
- Subject: RE: list of lists as arrays
- From: email@hidden
- Date: Tue, 2 Apr 2002 18:26:06 EST
Thanks to Arthur and Paul (and Andy) for the clarifications; it helped
significantly.
For other mediocre-level AS programmers tackling file read/write issues:
In tinkering, I also found that reading an entire line of text at a time
and then reallocating it in memory to the array was significantly faster than
doing individual reads for each value directly into the array (i.e. - into
the list of lists), which I am sure all the advanced programmers here already
knew...
E.G.:
-- read a line at a time (multiple values)
set OurLine to read OurInboundFileRefNum using [no break]
delimiter tab as text before return
set item width of my TheTestArray to OurLine
-- VS:
-- rather than repeatedly reading a single value at a time
set end of item width of TheTestArray to read [no break]
OurInboundFileRefNum as text before tab
Thanks again for the good help
=-= Marc
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.