How to tell Type of CPU?????
Ian Wood
revlist at azurevision.co.uk
Wed May 2 07:33:53 EDT 2007
Change "char 1 of the version" to "char 1 of the systemversion" and
it works fine.
Ian
On 2 May 2007, at 12:26, Mark Schonewille wrote:
> on foo
> if the platform is "MacOS" then -- osx or os9
> if char 1 of the version is 1 then -- osx
> if the processor is "x86" then -- intel
> return "You are on an intel Mac"
> else
> return "You are in a PPC Mac"
> end if
> else
> return "This machine doesn't run OSX"
> end if
> else
> return "This is no Mac"
> end if
> end foo
More information about the use-livecode
mailing list