Can a stack know which standalone engine it's running on?
mark at livecode.com
Tue Apr 28 01:16:32 EDT 2020
On 2020-04-27 23:08, Devin Asay via use-livecode wrote:
> But doesn’t the processor just report on the host operating system? I
> wan’t to know which LiveCode engine is running.
No 'the processor' reports what architecture the engine was built for.
From the dictionary:
Use the processor function to determine the system architecture. The
system architecture may either be emulated or the architecture of the
host CPU. For example, when running the application in an android
emulator the processor will return the emulated architecture rather than
the architecture of the host CPU.
Note: Some operating systems have emulators built in. For example,
Windows has WOW64 which allows x86 executables to run under x86_64
versions of Windows.
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
More information about the use-livecode