Machine() function not showing Mac?

Frank D. Engel, Jr. fde101 at
Tue Feb 22 13:50:31 EST 2005

Hash: SHA1

Perhaps it should be suggested to use the return value of the "machine" 
shell command, rather than the toolbox call, under OS X?  Anyone care 
enough about this to submit a bugzilla entry?

I for one get "unknown" from the machine() call in Rev, but running 
"machine" from a Terminal window results in "ppc7400", which at least 
means something.

Using "uname -m" yields "Power Macintosh", btw...

On Feb 22, 2005, at 12:23 PM, Dar Scott wrote:

> On Feb 22, 2005, at 9:54 AM, Frank Leahy wrote:
>> The machine() function is certainly a call into the Mac Toolbox, and 
>> if that doesn't have an entry for your machine, then it returns 
>> "unknown".  RunRev can't do any better than that.
> Yeah, I keep thinking that a Revolution function like machine() is a 
> function that meets the spec in the doc, rather than a sugar coating 
> for an OS call that might not be available in some environments.
> Dar
> -- 
> **********************************************
>     DSC (Dar Scott Consulting & Dar's Lab)
>     Programming Services and Software
> **********************************************
> _______________________________________________
> use-revolution mailing list
> use-revolution at
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
Version: GnuPG v1.2.4 (Darwin)


$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at

More information about the Use-livecode mailing list