• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: list of lists as arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: list of lists as arrays
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Shell script date & time coercions...
  • Next by Date: Re: Coordinating lists
  • Previous by thread: Re: batch import to FMP (Malcolm Fitzgerald)
  • Next by thread: Re: list of lists as arrays
  • Index(es):
    • Date
    • Thread