forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvironment.xml
More file actions
73 lines (57 loc) · 1.96 KB
/
Copy pathenvironment.xml
File metadata and controls
73 lines (57 loc) · 1.96 KB
1
<doc> <legacy_id>2249</legacy_id> <name>environment</name> <type>function</type> <syntax> <example>the environment</example> <example>environment()</example> </syntax> <synonyms> </synonyms> <summary>Returns the type of running environment the stack is in.</summary> <examples><example>the environment</example><example>if the environment is "development" then showDevelopOptions</example> </examples> <history> <introduced version="1.0">Added.</introduced> <deprecated version=""></deprecated> <removed version=""></removed> <experimental version=""></experimental> <nonexperimental version=""></nonexperimental> </history> <objects> </objects> <platforms> <mac/> <windows/> <linux/> <ios/> <android/> </platforms> <classes> <desktop/> <server/> <web/> <mobile/> </classes> <security> </security> <classification> <category>The System Environment</category> <category>Standalone Applications</category> </classification> <references> <function tag="revLicenseType">revLicenseType Function</function> <function tag="buildNumber">buildNumber Function</function> <function tag="version">version Function</function> <function tag="systemVersion">systemVersion Function</function> </references> <description> <overview>Use the <b>environment</b> function to change a stack's behavior depending on how the stack was opened.</overview> <parameters> </parameters> <value>The <b>environment</b> function returns one of:<p>"development" - The stack is running under the development environment.</p><p>"standalone application" - The stack is running as a standalone application.</p><p>"helper application" - LiveCode is running as a standalone with secureMode set to true.</p><p>"browser" - The stack is running as a LiveCode applet.</p><p>"mobile" - The stack is running on a mobile device.</p><p>"command line" - The stack was launched from the command line with -ui.</p></value> <comments></comments> </description></doc>