Re: Determine if Windows engine is 32-bit or 64-bit?
On Mon, Oct 7, 2019 at 9:47 AM Mark Waddingham via use-livecode < use-livecode@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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Determine if Windows engine is 32-bit or 64-bit?
On Mon, Oct 7, 2019 at 9:47 AM Mark Waddingham via use-livecode < use-livecode@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). > Right you are. I think I'll add a "related" entry to `platform` in the docs that points to `processor`. Thanks! -- Trevor DeVore ScreenSteps www.screensteps.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Determine if Windows engine is 32-bit or 64-bit?
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). Warmest Regards, Mark. -- Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Determine if Windows engine is 32-bit or 64-bit?
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? -- Trevor DeVore ScreenSteps www.screensteps.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode