You could try using the BinaryDecode reading a preferences file or other
part of the System folder.  This may get you a unique string for the test.

open file [pathh/filename]
read from file [pathh/filename] at 0 for 2000
put BinaryDecode(h4h4h4h4h4h4h4,it,p1,p2,p3,p4,p5,p6,p7)
--now test variables p1 to p7 and see if they are the same in both versions

The docs may give you a better decode than h in your case.  Just a guess.

Jim Ault
Las Vegas


On 5/3/06 5:14 AM, "Mark Smith" <[EMAIL PROTECTED]> wrote:

> This does not cover the case where you have a dual-boot G4 which has
> booted from system 9, but otherwise might work:
> 
> function system9IsClassic
>    if there is a folder "/System" then
>      return true
>    else
>      return false
>    end if 
> end system9IsClassic
> 
> Best,
> 
> Mark
> 
> 
> On 3 May 2006, at 13:04, <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]> wrote:
> 
>> 
>> 
>> The systemversion returns 9.2.2 in both Classic (on OSX) and on a
>> real OS9 box. I
>> need to differentiate between them.
>> 


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to