• 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
write as list doesn't work in OS 9.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

write as list doesn't work in OS 9.1


  • Subject: write as list doesn't work in OS 9.1
  • From: cris <email@hidden>
  • Date: Sat, 09 Dec 2000 20:36:08 +0100

I wonder if anyone can confirm that the following doesn't work in OS 9.1:
"write as list" destroys the file with random garbage!


-----
set CF to "Mac HD:test"
try
set FileRef to open for access file CF with write permission
set eof FileRef to 0
write {"foo", 22} as list to FileRef
--> should write: list TEXT foolong  
-- but writes random garbage
close access FileRef

open for access file CF
set temp to read file CF as list -- out of memory
close access file CF
on error errm number errn
close access FileRef
end try
-----






Greetings
cris


  • Prev by Date: Re: continuation character
  • Next by Date: Re: With timeout of
  • Previous by thread: Re: coversion characters
  • Next by thread: Disappearing script window
  • Index(es):
    • Date
    • Thread