Mac OS 9 or X?

yves COPPE yvescoppe at skynet.be
Mon Jul 8 03:19:00 EDT 2002


>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
>
>Ps. You should considder implementing a dialoque warning people when using
>the wrong Mac Rev-version of 1.1.1 on the wrong Mac OS.


check the systemVersion function

if it is "10" then
--you run on Mac OS X
else
--you run on another Mac OS (8.x or 9.x)
end if

Hope this helps
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the Use-livecode mailing list