Identify Mac Classic and MacOS X Machines

Rick Harrison harrison at all-auctions.com
Mon May 27 15:37:01 EDT 2002


on 5/27/2002 3:27 PM, Jeanne A. E. DeVoto at jeanne at runrev.com wrote:

> 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
ts.runrev.com/mailman/listinfo/use-revolution

Jeanne,

Thanks, I didn't see that function when I was looking
through the Rev Dictionary.

That will work just fine!

Rick Harrison





More information about the use-livecode mailing list