Mac OS 9 or X?

Klaus Major kmajor at metascape.org
Mon Jul 8 03:11:01 EDT 2002


Hi Carsten,

> Jeanne A. E. DeVoto,
>
> Thanks for a good and precise answer. A supplementary question: We are 
> using
>  ----if platform() is "MacOS" then ... etc. ----
> to check before using som exts that require Mac OS 9. But how can we
> determine if the system is Mac OS 9 or Mac OS X?
>
> Best regards
>
> Carsten Levin

check out "the systemversion"

It will return "10.xxx" on OS X and something else for OS 9.

I am not working on ) anymore, so you will have to check it out by 
yourself.


Hope that helps.



Regards

Klaus Major
klaus.major at metascape.org




More information about the Use-livecode mailing list