Skip to main content

OperatingSystem

Type​

expression

Summary​

The operating system

Syntax​

the operating system

Description​

Returns a string describing the operating system that LiveCode is running on. The possible values are:

  • "windows" - 32-bit and 64-bit Windows
  • "mac" - Desktop OS X
  • "ios" - iOS (iPhone and iPad)
  • "android" - Android Linux devices
  • "linux" - All other Linux platforms

Examples​

if the operating system is "linux" then
- Platform specific-code
end if
Thank you for your feedback!

Was this page helpful?