platform() = MacOS (9 with ascii(13) or X with ascii(10))?

Ken Ray kray at
Sat Aug 31 10:22:01 EDT 2002


> Ken, Kee, et al:
> This does NOT work.  On OS 9 the system version is 9.x.x and OS X is
> 10.x.x, so the if gives incorrect results.
> Note Richard Gaskin's handler that checks item 1 of systemVersion.

Thanks for the correction. I noted that when I saw Richard's post, and have
changed my handlers accordingly.

> Since Rev does not run on Mac OS systems < 7, I use
> "if char 1 of systemVersion() < 7",

If Rev doesn't run on systems < 7, how can you get the code above to even
run? It's like saying in SuperCard "if the platform is Windows then..."


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

More information about the Use-livecode mailing list