Getting the type code of a file under OSX

Ken Ray kray at
Sun Jul 31 04:10:20 EDT 2005

On 7/31/05 2:36 AM, "Joel Guillod" <joel.guillod at> wrote:

> Ken,
> Why do you bother with the second parameter pType? Just drop it and
> change the following from:

Thanks, Joel... normally I like to be explicit so that when I'm reading my
code later on, I know what's going on, although in OS X and WIndows now
there are normally file extensions which would indicate whether it's a file
or folder.

Good suggestion!

Ken Ray
Sons of Thunder Software
Web site:
Email: kray at

More information about the Use-livecode mailing list