Machine() function not showing Mac?

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


-----BEGIN PGP SIGNED MESSAGE-----
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)
>     http://www.swcp.com/dsc/
>     Programming Services and Software
> **********************************************
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ 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.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCG3737aqtWrR9cZoRAtLYAJ9liWQt4PhcD4yfdC08TlovGYG2mwCgj1yd
N8CCOIoKF6noUnZicdCCBoc=
=F1qv
-----END PGP SIGNATURE-----



___________________________________________________________
$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 www.doteasy.com



More information about the use-livecode mailing list