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

Rob Cozens rcozens at pon.net
Sat Aug 31 07:14: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,

function isOSClassic -- after testing platform is Mac
   if char 1 of systemVersion() < 7 the return false else return true
end isOSClassic

-- 

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