Machine() function not showing Mac?
graham samuel
graham.samuel at wanadoo.fr
Tue Feb 22 16:21:16 EST 2005
On Tue, 22 Feb 2005 16:54:03 +0000, Frank Leahy <frank at backtalk.com>
wrote:
> Message: 2
> Date:
> From: Subject:
> To: use-revolution at lists.runrev.com
> Message-ID: <5B793992-84F2-11D9-95DD-000A9580FCCE at backtalk.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> 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.
>
> -- Frank
How come then Malte's trick works:
On 21 Feb 2005, at 16:29, Malte Brill wrote:
> Hi Graham,
>
> just in case you missed my post to the list.
>
> If you need a workaround try this:
>
> put shell("machine")
>
> this will put the processor type under OsX
>
> Cheers,
>
> Malte
It definitely works - where does the shell function get the info?
Graham
----------------------------------------
Graham Samuel / The Living Fossil Co. / UK and France
More information about the use-livecode
mailing list