On 22/5/03 12:18 AM +1000, Eric Schult, [log in to unmask], wrote:
> I like Tanaka's for its ability to readFromFile in one line of code, without
> having to open for access and close access (and having to worry about leaving
> the file busy if there's an error before the close access line is reached).
> It's just a quibble, really; it's what I'm used to.
Try:
set x to read file pathToFile
Your quibble is baseless.
> The same argument for writeToFile in Tanaka's. It's just cleaner.
"cleaner"? Because it uses commands with names like "readFromFile" when
AppleScript guidelines say not to?
I think you were closer to the mark earlier: "it's what I'm used to".
--
Shane Stanley, [log in to unmask]