Identify Mac Classic and MacOS X Machines

Jeanne A. E. DeVoto jeanne at runrev.com
Mon May 27 14:34:01 EDT 2002


At 12:00 PM -0700 5/27/2002, Rick Harrison wrote:
>I was looking at the "Platform" function
>in Revolution.
>
>For a Mac OS system it only returns MacOS
>
>It doesn't distingush at all between
>Classic and Mac OS X users.
>
>Since some things are done quite differently,
>I need to be able to figure out which Mac OS
>is being used.

You can check the systemVersion for this:

  if the platform is "MacOS" and the systemVersion >= 10 then
    -- is OS X system
  end if

--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/





More information about the use-livecode mailing list