platform.isColorDisplay

From Inspired-Lua Wiki
Revision as of 23:41, 24 May 2011 by Adriweb (talk | contribs) (Created page with "platform.'''isDeviceModeRendering''' is a function that is part of platform. Returns a boolean : * ''true'' if the script is running on the hand-held de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

platform.isDeviceModeRendering is a function that is part of platform.


Returns a boolean :

  • true if the script is running on the hand-held device or in the emulator of the desktop software.
  • false if the script is running in the normal view of the desktop software.


This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax

platform.isDeviceModeRendering()

Example

device = platform.isDeviceModeRendering()

See also