>  > The processor() function seems to return "Motorola PowerPC" on all
>>  machines of that architecture.  So, it would seem to be analagous to
>>  the 'sysa' (system architecture) gestalt selector rather than the
>>  'cput' (CPU type) selector.  For my purposes, the system architecture
>>  is not very informative.  Is there a way to query the system for the
>>  actual CPU type?
>
>Just out of curiosity, why do you need to know this?

I've used the name of the CPU to as a rough measure of the speed of 
the machine.  If the function returns the slowest of the PowerPC 
processors -- "601" for example -- I can skip a complex animation and 
show a simple graphic instead.  So, basically, I've used the 
processor() function as a simple measure of the speed of the machine. 
Is there a better way?

In SC, "the processor" returns things like 604e, G3, etc.  That would 
seem more logical and informative than "Motorola PowerPC."

On Windows, "the processor" and "the machine" both return "x86."  Can 
the actual processor name (e.g., "P3") or a code that represents it 
be returned instead?  Can the clockspeed be queried? Handling the 
"machine()" function would seem to be a lot more difficult, 
especially for PCs.  Is it possible, for example, to determine 
whether the machine is an HP or Gateway box?

Craig


>  > Just as an aside, I came upon this problem when I tested one of my
>>  SuperCard apps on a G4.  SC's processor() function, which, btw,
>>  checks CPU type, returns "unknown."  I started wondering what MC
>>  would do, and discovered that it sees all Power Macs as simply
>>  "Motorola PowerPC."
>
>I'd say this is an improvement over SuperCard's behavior ;-)  But
>we're open to suggestions as to what the return values of this, and
>the machine() function, should be.



>   Regards,
>     Scott
-- 

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Craig Spooner
Instructional Technology Training and Development
WebCT Administrator
Office of Instructional Services
Colorado State University
(970) 491-2516

Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to