Difference between revisions of "platform.isColorDisplay"

From Inspired-Lua Wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
  
 
Returns a boolean :  
 
Returns a boolean :  
* ''true'' if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer software emulator)
+
* ''true'' if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer Software)
 
* ''false'' false if the display is gray scale (Nspire non-CAS, Nspire CAS)  
 
* ''false'' false if the display is gray scale (Nspire non-CAS, Nspire CAS)  
 
        
 
        

Latest revision as of 23:18, 3 September 2011

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


Returns a boolean :

  • true if the display of the host platform is color-capable (Nspire CX, Nspire CX CAS, Computer Software)
  • false false if the display is gray scale (Nspire non-CAS, Nspire CAS)


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


Syntax

platform.isColorDisplay()

Example

hasColor = platform.isColorDisplay()

See also