Determine if Windows engine is 32-bit or 64-bit?

Trevor DeVore lists at mangomultimedia.com
Mon Oct 7 11:28:30 EDT 2019


On Mon, Oct 7, 2019 at 9:47 AM Mark Waddingham via use-livecode <
use-livecode at lists.runrev.com> wrote:

> On 2019-10-07 15:41, Trevor DeVore via use-livecode wrote:
> > With LiveCode 9.5 one can deploy 32-bit or 64bit Windows applications.
> > While LiveCode Builder has an `architecture` function that can be used
> > to
> > detect 64-bit, LiveCode Script does not. Does anybody have a function
> > for
> > determine 64-bit vs. 32-bit architecture in LCS?
>
> I think 'the processor' does what you want - well it does the same thing
> as
> 'the architecture' in LCB at least (it returns x86, x86_64, arm64, arm
> or js
> depending on how the engine was compiled).
>

Hmm, looks like the docs need updating. The docs for the `processor` say it
returns the system's CPU chip which is different than how the engine was
compiled. I see there is already a Bug report for it:

https://quality.livecode.com/show_bug.cgi?id=22164

-- 
Trevor DeVore
ScreenSteps
www.screensteps.com



More information about the use-livecode mailing list