Getting the type code of a file under OSX

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


On 7/31/05 2:36 AM, "Joel Guillod" <joel.guillod at net2000.ch> 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: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list