Getting the type code of a file under OSX

Dave Cragg dcragg at lacscentre.co.uk
Sat Jul 30 08:09:21 EDT 2005


On 30 Jul 2005, at 13:02, Eric Chatonet wrote:

> Last one was not perfect since the default folder is not restored  
> when an error occurs:
> Just invert  "if tFile = empty then return "Error: could not find  
> file" and "set the defaultFolder to tDefaultFolder" lines.
> Is this one the last one?

Looks good here. I like the use of the filter command. I should get  
"filter" tattooed on the back of my hand as I have a habit of  
forgetting how useful it can be.

Cheers
Dave



More information about the use-livecode mailing list