> But if you
> simply use it you'll get an error saying "Symbol expected".
Are you sure the file is being created? You should put a check in after
the new() statement:
fileIO = xtra("FileIO").new()
if not objectP(fileIO ) then
alert "FileIO not installed."
end if
You should also check the status of each call with status:
fileIO.createFile(filePath)
err = status(fileXtra)
if err <> 0 then
-- you have a problem.
-- check the docs.
end if
> Further more, if you paste this function via the popup menu
> from the Scripting Xtras, this method would be pasted with 2
> arguments: symbol and platform ones. How do I use this
> function after all?
I don't use the scripting xtra, so I'm not sure. The rest of the code
looks ok. Check for errors and you'll likely find the problem.
Cordially,
Kerry Thompson
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]