Re: reading list of records...
Re: reading list of records...
- Subject: Re: reading list of records...
- From: kai <email@hidden>
- Date: Wed, 29 Oct 2003 02:05:38 +0000
on Tue, 28 Oct 2003 12:27:30 -0500, Mario Kolaszewski wrote:
>
Having trouble writing and reading a list of records from a text file.
>
Can anyone direct me in the right direction?
Try something along these lines, Mario:
-----------------------------
set f to alias "path:to:file"
set eof f to 0
write {a:1, b:2} to f
-----------------------------
read f as record
--> {a:1, b:2}
-----------------------------
---
kai
_______________________________________________
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.