Identify Intel processor under 2.6.1

Mark Smith mark at maseurope.net
Tue Oct 30 06:47:02 EDT 2007


Scott, you can test for 'endianness";

function isIntel
   return (char 1 of (binaryencode("I",1)) is not null)
end isIntel

Best,

Mark
	
On 30 Oct 2007, at 06:32, Scott Morrow wrote:

> Is there a way to query for an Intel Mac when running under rev  
> 2.6.1 without using "the processor" function which seems to report  
> incorrectly?
>
> -Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust !)
> web     http://elementarysoftware.com/
> email   scott at elementarysoftware.com
>
> -----------------------------------------------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list