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

Rob Cozens rcozens at pon.net
Sat Aug 31 11:48:01 EDT 2002


>  > "if char 1 of systemVersion() < 7",
>
>If Rev doesn't run on systems < 7, how can you get the code above to even
>run?

Hi Ken,

Precisely because Rev doesn't run on systems < 7, if the first 
character of systemVersion() < 7 then OS X or higher is running:

function notClassicMac -- after testing platform is Mac
    return (char 1 of systemVersion() < 7)
end notClassicMac
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)



More information about the use-livecode mailing list