User's System

Bjoernke von Gierke bvg at mac.com
Sat Mar 3 05:13:07 EST 2012


It used to be complete, but when RunRev took the engine over, they neglected to update any of that information since then. Because it's somehow hardcoded, and doesn't actually expose any OS-delivered information directly, it's been wrong, misleading and/or simply deprecated since then.

On 03.03.2012, at 08:08, Richmond wrote:

> On 03/03/2012 08:27 AM, Peter Bogdanoff wrote:
>> I want to determine if the user is using Windows or Mac.
>> 
>> I see in the LiveCode Dictionary that the machine function returns "x86" for Windows, but doesn't say what to expect from OS X.
>> 
>> On my OS X desktop it returns "unknown".
>> 
>> Is there more complete documentation about this?
>> 
>> Peter
>> UCLA
>> _______________________________________________
>> 
> 
> The documentation is a bit 'dicky', and on my Linux box "put the machine" gives me i686 (which presumably is going to be
> exactly what "put the machine" would do if the same machine were running Windows); so, a fat lot of good.
> 
> My macMini PPC gets 'unknown' from "put the machine'; also fairly useless.
> 
> HOWEVER: "put the platform" yields 'Linux' and 'MacOS' respectively; and, I assume, this should give you 'Windows' or somesuch
> for Windows.
> 
> I wonder what the purpose of 'machine' is as it is so obviously incomplete?
> 
> Richmond.
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list