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

Kee Nethery kee at kagi.com
Fri Aug 30 12:50:01 EDT 2002


>
>
>function IsOSX
>   if the platform is not "MacOS" then return false
>   get the systemversion
>   set the itemdel to "."
>   if item 1 of it >= 10 then return true
>   return false
>end IsOSX
>

Excellent, systemversion is a call I was not aware of, thank you.

>But if you read in text mode you won't have to worry about converting line
>endings, as it will be done for you by the engine.

I'm coming in via a database connection so I cannot "read in text mode".

Thank you,

Now I just want to confirm that CR as a Revolution constant really is 
different on different platforms.

Kee Nethery



More information about the use-livecode mailing list