• 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: Standard Additions 'read' command - basic questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standard Additions 'read' command - basic questions


  • Subject: Re: Standard Additions 'read' command - basic questions
  • From: Emmanuel <email@hidden>
  • Date: Mon, 19 Jan 2004 15:22:10 +0100

At 8:46 AM +0100 19/01/04, Emmanuel wrote:
>-----------------
>set f to "" & (path to "temp") & "(make new name)"
>open for access file f with write permission
>write "hello" & (ASCII character of 254) & "world" to file f
>close access file f
>read f using delimiter (ASCII character of 254)
> -- {"hello", "world"}
>-----------------

(that was under 10.2.8)

As CS emphasizes, this is broken under Panther, whence Chap's question that I did not understand.

I wonder what is the rule which says which characters work as a delimiter and which don't. I tried 250, 253, 254 and 255, they don't work. LF works (great delight!).

Sorry if this was well known already.

Emmanuel
_______________________________________________
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: Standard Additions 'read' command - basic questions
      • From: Christopher Nebel <email@hidden>
    • Re: Standard Additions 'read' command - basic questions
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Standard Additions 'read' command - basic questions (From: Chap Harrison <email@hidden>)
 >Re: Standard Additions 'read' command - basic questions (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: How can I display the number of records processed using a thermometer
  • Next by Date: Re: Standard Additions 'read' command - basic questions
  • Previous by thread: Re: Standard Additions 'read' command - basic questions
  • Next by thread: Re: Standard Additions 'read' command - basic questions
  • Index(es):
    • Date
    • Thread