How to detect Classic?

Thierry Arbellot thierry.arbellot at wanadoo.fr
Fri Jan 16 06:28:43 EST 2004


Rev always returns path in Unix style, even in Classic, no :

A workaround:
check the specialFolderPath of "System"

OS X  returns  /System
Classic returns path in the format  /hard disk name/system folder name

Thierry.

On Friday, Jan 16, 2004, at 12:17 Europe/Paris, Frank Leahy wrote:

> Maybe you test the full path of the stack?  If it starts with / then 
> its OSX, if it has a : in it is must be Classic.
>
> Best,
> -- Frank
>
>
> On Friday, January 16, 2004, at 08:00 AM, 
> use-revolution-request at lists.runrev.com wrote:
>
>> I'll do some more tests but I'm pretty sure this is wrong. I am still
>> getting the OS X version number, not the Classic system folder version
>> number. If my tests confirm this, I'll Bugzilla it.
>>
>> Cheers,
>> Sarah
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list