<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inspired-lua.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adriweb</id>
	<title>Inspired-Lua Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inspired-lua.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Adriweb"/>
	<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/Special:Contributions/Adriweb"/>
	<updated>2026-04-09T00:57:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=touch&amp;diff=1417</id>
		<title>touch</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=touch&amp;diff=1417"/>
		<updated>2023-02-05T13:47:19Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''touch''' is a table of properties and functions introduced in [[Changes_in_OS_3.4|OS 3.4]] (tablets) related to touchscreen handling.&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
It is visible on all platforms but may ignore calls to its functions if the platform running the script does not support touch. The touch library offers a low level interface enabling script authors to develop scripts running on all platforms equally. But it also places the effort on the script writer to design and test the script for all different platforms if platform compatibility is desired.&lt;br /&gt;
&lt;br /&gt;
The '''touch''' table contains :&lt;br /&gt;
: [[touch.enabled|enabled]] : Returns true if the platform supports touch, otherwise false. If touch is supported, it is recommended to use the ppi values to calculate touch target sizes.&lt;br /&gt;
: [[touch.isKeyboardVisible|isKeyboardVisible]]() : Returns true if any keyboard is visible (docked, undocked/floating and split keyboards).&lt;br /&gt;
: [[touch.isKeyboardAvailable|isKeyboardAvailable]] : Returns true if an on-screen keyboard is available on the platform, otherwise false.&lt;br /&gt;
: [[touch.showKeyboard|showKeyboard]](boolean) : Causes the docked ABC keyboard to appear on the screen if no keyboard is currently visible. Default is true.&lt;br /&gt;
: [[touch.ppi|ppi]] : Returns pixels per inches along the diagonal of the screen. This function is useful to determine the touch target size of touchable objects on the screen.&lt;br /&gt;
: [[touch.xppi|xppi]] : Returns pixels per inches along the x axis of the screen. This function is useful to determine the touch target size of touchable objects on the screen.&lt;br /&gt;
: [[touch.yppi|yppi]] : Returns pixels per inches along the y axis of the screen. This function is useful to determine the touch target size of touchable objects on the screen.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:timer&amp;diff=1416</id>
		<title>Category:timer</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:timer&amp;diff=1416"/>
		<updated>2023-02-05T13:40:59Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: /* Quick Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
Each script application has one timer at its disposal.&amp;lt;br /&amp;gt;&lt;br /&gt;
The resolution of the timer depends on the platform. It is about 0.01 seconds on the hand-held device.&lt;br /&gt;
&lt;br /&gt;
The script application should implement the “on.timer()” function to respond to timer ticks.&lt;br /&gt;
The timer continues to send ticks to the script application even when its window is not visible on the screen.&lt;br /&gt;
&lt;br /&gt;
The timer is automatically stopped when the document containing the script application is closed or if the script application is deleted.&lt;br /&gt;
&lt;br /&gt;
See an example at https://www.inspired-lua.org/index.php/2011/05/23/linking-events/&lt;br /&gt;
&lt;br /&gt;
== Quick Overview ==&lt;br /&gt;
*'''[[timer.start]]'''(period) : Starts the timer with the given ''period'' (in seconds. minimum = 0.01)&amp;lt;br /&amp;gt;&lt;br /&gt;
*'''[[timer.getMilliSecCounter]]'''() : Returns the value of the milliseconds elapsed since the calculator's last boot.&amp;lt;br /&amp;gt;&lt;br /&gt;
*'''[[timer.stop]]'''() : Stops the timer.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:timer&amp;diff=1415</id>
		<title>Category:timer</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:timer&amp;diff=1415"/>
		<updated>2023-02-05T13:39:22Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
Each script application has one timer at its disposal.&amp;lt;br /&amp;gt;&lt;br /&gt;
The resolution of the timer depends on the platform. It is about 0.01 seconds on the hand-held device.&lt;br /&gt;
&lt;br /&gt;
The script application should implement the “on.timer()” function to respond to timer ticks.&lt;br /&gt;
The timer continues to send ticks to the script application even when its window is not visible on the screen.&lt;br /&gt;
&lt;br /&gt;
The timer is automatically stopped when the document containing the script application is closed or if the script application is deleted.&lt;br /&gt;
&lt;br /&gt;
See an example at https://www.inspired-lua.org/index.php/2011/05/23/linking-events/&lt;br /&gt;
&lt;br /&gt;
== Quick Overview ==&lt;br /&gt;
*'''[[timer.start]]'''(period) : Starts the timer with the given ''period'' (in seconds)&amp;lt;br /&amp;gt;&lt;br /&gt;
*'''[[timer.getMilliSecCounter]]'''() : Returns the value of the milliseconds elapsed since the calculator's last boot.&amp;lt;br /&amp;gt;&lt;br /&gt;
*'''[[timer.stop]]'''() : Stops the timer.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1414</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1414"/>
		<updated>2022-11-21T10:29:01Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly. You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3, 4.4, 4.5, 5.0, 5.1) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1413</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1413"/>
		<updated>2019-09-21T12:03:59Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly. You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3, 4.4, 4.5, 5.0, 5.1) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1306</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1306"/>
		<updated>2019-09-15T15:29:07Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly. You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3, 4.4, 4.5, 5.0, 5.1) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=platform.apilevel&amp;diff=1305</id>
		<title>platform.apilevel</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=platform.apilevel&amp;diff=1305"/>
		<updated>2019-09-15T15:26:02Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;String value describing the current API version.&amp;lt;br /&amp;gt;&lt;br /&gt;
Its value can be :&lt;br /&gt;
* &amp;quot;1.0&amp;quot; for OS versions 3.0 and 3.1&lt;br /&gt;
* &amp;quot;2.0&amp;quot; for OS 3.2&lt;br /&gt;
* &amp;quot;2.2&amp;quot; for OS 3.4 (iPad App)&lt;br /&gt;
* &amp;quot;2.3&amp;quot; for OS 3.6&lt;br /&gt;
* &amp;quot;2.4&amp;quot; for OS 3.9&lt;br /&gt;
* &amp;quot;2.5&amp;quot; for OS 3.11 (iPad App)&lt;br /&gt;
* &amp;quot;2.6&amp;quot; for OS 4.0 and 4.1 (iPad App)&lt;br /&gt;
* &amp;quot;2.7&amp;quot; for OS 4.2 and later (including the CX II's OS)&lt;br /&gt;
&lt;br /&gt;
Manually setting this property has to be done at the top of the lua script and can only be done once.&lt;br /&gt;
&lt;br /&gt;
Setting a unsupported apilevel has different behaviours when in &amp;lt; 3.6 and &amp;gt;= 3.6:&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Before 3.6''': The highest supported will be loaded.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''With and after 3.6''': The highest supported below the requested API level supported will be loaded. But requesting an API level below platform.apilevel = '1.0' will result in the latest/current apilevel available.&lt;br /&gt;
&lt;br /&gt;
[[Category:platform]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1304</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1304"/>
		<updated>2019-06-30T09:56:13Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly. You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3, 4.4, 4.5, 5.0) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:Nelson&amp;diff=1293</id>
		<title>User talk:Nelson</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:Nelson&amp;diff=1293"/>
		<updated>2018-08-13T15:24:01Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 17:24, 13 August 2018 (CEST)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:Nelson&amp;diff=1292</id>
		<title>User:Nelson</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:Nelson&amp;diff=1292"/>
		<updated>2018-08-13T15:24:01Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Ingeniero Civil - Peru. Natural de la provincia de Carhuaz, departamento de Ancash. Nacido el 29-11-1994&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:Crazicrafter1&amp;diff=1290</id>
		<title>User:Crazicrafter1</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:Crazicrafter1&amp;diff=1290"/>
		<updated>2018-08-13T15:23:51Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;love lua kinda python scared of java shun c# whats c++ yelp&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:Crazicrafter1&amp;diff=1291</id>
		<title>User talk:Crazicrafter1</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:Crazicrafter1&amp;diff=1291"/>
		<updated>2018-08-13T15:23:51Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 17:23, 13 August 2018 (CEST)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:Zirconium&amp;diff=1288</id>
		<title>User:Zirconium</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:Zirconium&amp;diff=1288"/>
		<updated>2018-08-13T15:23:40Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi, I'm a student on a high school in the Netherlands.&lt;br /&gt;
&lt;br /&gt;
I really like programming, but not in an ordinary way. Programming on the TI-Nspire definitely is not a usual way of programming.&lt;br /&gt;
I have partially learned to code myself and partially used sites to learn it.&lt;br /&gt;
Also, I want to contribute to keeping this wiki up to date.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:Zirconium&amp;diff=1289</id>
		<title>User talk:Zirconium</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:Zirconium&amp;diff=1289"/>
		<updated>2018-08-13T15:23:40Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 17:23, 13 August 2018 (CEST)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1287</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1287"/>
		<updated>2017-09-13T10:06:14Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly. You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3, 4.4, 4.5) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:platform&amp;diff=1286</id>
		<title>Category:platform</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:platform&amp;diff=1286"/>
		<updated>2017-09-13T10:05:25Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Quick Overview ==&lt;br /&gt;
&lt;br /&gt;
*[[platform.gc]] : Returns a dummy graphics context used in specific conditions. '''Doesn't exist anymore in 3.2+ (see ''withGC'' below)'''&lt;br /&gt;
*[[platform.isColorDisplay]]() : Returns true if the display of the host platform is color-capable (Nspire CX and emulator). Returns false if the display is grayscale (Nspire non-CX).      &lt;br /&gt;
*[[platform.isDeviceModeRendering]]() : Returns true if the script is running on the hand-held device or in the emulator (with the calculator view), and false if the script is running in the normal view of the emulator.&lt;br /&gt;
*[[platform.isTabletModeRendering]]() : Returns true if the script is running on a tablet device (iPad app) and false otherwise.&lt;br /&gt;
&lt;br /&gt;
*[[:Category:platform.window|platform.window]] : Returns the window object currently owned by the script application. The window object contains several other methods.&lt;br /&gt;
*[[platform.withGC]](...) : executes a function which a passed dummy [[gc]].&lt;br /&gt;
*[[platform.registerErrorHandler]](...) : A global error handler for the lua script.&lt;br /&gt;
*[[platform.hw]]() : returns a number corresponding to the type of device the script is running on.&lt;br /&gt;
*[[platform.getDeviceID]]() : returns a unique device identifier.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1285</id>
		<title>Changes in OS 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1285"/>
		<updated>2017-09-13T10:05:02Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h2&amp;gt;Changes&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The [[platform.apilevel|apilevel]] is now 2.7.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;New&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI (&amp;quot;Asynchronous Serial Interface&amp;quot;)]] features''' got added in this release.&amp;lt;br /&amp;gt;&lt;br /&gt;
The [[platform.getDeviceID]]() function, to return the unique device ID.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=platform.getDeviceID&amp;diff=1284</id>
		<title>platform.getDeviceID</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=platform.getDeviceID&amp;diff=1284"/>
		<updated>2017-09-13T10:04:36Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Adriweb moved page platform.getDeviceID() to platform.getDeviceID without leaving a redirect&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''getDeviceID''' is a function that is part of the [[:Category:platform|platform]] APIs.&lt;br /&gt;
&lt;br /&gt;
{{Since|4.2}}&lt;br /&gt;
Since the API level 2.7.&lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
&amp;lt;code&amp;gt;platform.'''getDeviceID'''()&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=platform.getDeviceID&amp;diff=1283</id>
		<title>platform.getDeviceID</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=platform.getDeviceID&amp;diff=1283"/>
		<updated>2017-09-13T10:04:28Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Created page with &amp;quot;'''getDeviceID''' is a function that is part of the platform APIs.  {{Since|4.2}} Since the API level 2.7.  == Syntax  == &amp;lt;code&amp;gt;platform.'''getDeviceID'...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''getDeviceID''' is a function that is part of the [[:Category:platform|platform]] APIs.&lt;br /&gt;
&lt;br /&gt;
{{Since|4.2}}&lt;br /&gt;
Since the API level 2.7.&lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
&amp;lt;code&amp;gt;platform.'''getDeviceID'''()&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1282</id>
		<title>Changes in OS 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1282"/>
		<updated>2017-09-13T09:46:23Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h2&amp;gt;Changes&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The [[platform.apilevel|apilevel]] is now 2.7.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;New&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI (&amp;quot;Asynchronous Serial Interface&amp;quot;)]] features''' got added in this release.&amp;lt;br /&amp;gt;&lt;br /&gt;
The [[platform.getDeviceID()]] function, to return the unique device ID.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:Carlosmanuelramos&amp;diff=1280</id>
		<title>User:Carlosmanuelramos</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:Carlosmanuelramos&amp;diff=1280"/>
		<updated>2017-03-01T12:42:11Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Siempre he querido saber más pero a veces la información cuesta encontrarla&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:Carlosmanuelramos&amp;diff=1281</id>
		<title>User talk:Carlosmanuelramos</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:Carlosmanuelramos&amp;diff=1281"/>
		<updated>2017-03-01T12:42:11Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 13:42, 1 March 2017 (CET)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:Belhaj&amp;diff=1278</id>
		<title>User:Belhaj</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:Belhaj&amp;diff=1278"/>
		<updated>2017-03-01T12:42:07Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;engeneer in water heling my daugter to make programs in nspire Ti&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:Belhaj&amp;diff=1279</id>
		<title>User talk:Belhaj</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:Belhaj&amp;diff=1279"/>
		<updated>2017-03-01T12:42:07Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 13:42, 1 March 2017 (CET)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1277</id>
		<title>Category:ASI</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1277"/>
		<updated>2017-03-01T12:41:41Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI]] features''' got added With OS 4.2 (apilevel 2.7)&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/libraries/stem-iolib/asilibrary.htm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Available functions (after a ''require &amp;quot;asi&amp;quot;''):&lt;br /&gt;
: error = '''asi.addStateListener'''(asiStateCallback [, object]) - Registers an ASI state-change listener callback. The registration of multiple listener callbacks at the same time is supported. Registered listener callbacks can be removed by calling removeStateListener.&lt;br /&gt;
: success = '''asi.removeStateListener'''(asiStateCallback) - Removes a registered ASI state-change listener callback which was previously registered by calling addStateListener.&lt;br /&gt;
: '''asi.isScanning'''() - Returns true if a scan for ASI ports is ongoing or false otherwise.&lt;br /&gt;
: '''asi.startScanning'''(portFoundCallback [, object]) - Scans for ASI ports. A second call to startScanning while already scanning does not reset the process. If a rescan is desired, call stopScanning first and then startScanning to reset the process.&lt;br /&gt;
: '''asi.stopScanning'''() - Stops scanning for ASI ports. Also resets the list of reported ports. Calling asi.startScanning() again will report all available ports once more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;''Related: the '''Port class'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: '''port:getName'''() - Returns the name of the port as a string, as given by the platform&lt;br /&gt;
: '''port:getIdentifier'''() - Returns the identifier associated to the port as a string, as given by the platform&lt;br /&gt;
: '''port:getState'''() - Returns the current state of the port as a constant from the asi table.&lt;br /&gt;
: '''port:setBaudRate'''(newBaudRate) - Sets the baud rate for the connection. By default connections are established at 115200 bauds. If a different value is desired, the new baud rate must be set before establishing a connecting to the port. Returns self.&lt;br /&gt;
: '''port:connect'''(connectionCallback[, object]) - Sends an asynchronous request for connection to the port. When the request is processed, the result is reported to the specified callback.&lt;br /&gt;
: '''port:disconnect'''() - Sends an asynchronous request for disconnection from the port. The result will be notified at the callback provided at port:connect().&lt;br /&gt;
: '''port:setWriteListener'''(writeCallback[, object]) - Registers a callback for write-complete notifications. The callback is called after a write request. Returns self.&lt;br /&gt;
: '''port:write'''(writeData) - Sends an asynchronous request for a write operation. When the request is serviced, the writeCallback is called to confirm completion, if previously specified with setWriteListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:setReadListener'''(readCallback[, object]) - Registers a callback for read notifications. The callback is called after a read request. Returns self.&lt;br /&gt;
: '''port:setReadTimeout'''(newTimeout) - Sets the maximum amount of time that the platform should wait for the first byte. This affects the behavior of read(). By default the timeout is 1000 milliseconds (1 second). Returns self.&lt;br /&gt;
: '''port:read'''([bytesToRead]) - Sends an asynchronous request for a read operation. When the request is serviced, the readCallback is called to confirm completion, if previously specified with setReadListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:getValue'''() - Retrieves the last data read, as string.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1276</id>
		<title>Category:ASI</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1276"/>
		<updated>2017-03-01T12:41:12Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI]] features''' got added With OS 4.2 (apilevel 2.7)&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/libraries/stem-iolib/asilibrary.htm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Available functions (after a ''require &amp;quot;asi&amp;quot;''):&lt;br /&gt;
: error = '''asi.addStateListener'''(asiStateCallback [, object]) - Registers an ASI state-change listener callback. The registration of multiple listener callbacks at the same time is supported. Registered listener callbacks can be removed by calling removeStateListener.&lt;br /&gt;
: success = '''asi.removeStateListener'''(asiStateCallback) - Removes a registered ASI state-change listener callback which was previously registered by calling addStateListener.&lt;br /&gt;
: '''asi.isScanning'''() - Returns true if a scan for ASI ports is ongoing or false otherwise.&lt;br /&gt;
: '''asi.startScanning'''(portFoundCallback [, object]) - Scans for ASI ports. A second call to startScanning while already scanning does not reset the process. If a rescan is desired, call stopScanning first and then startScanning to reset the process.&lt;br /&gt;
: '''asi.stopScanning'''() - Stops scanning for ASI ports. Also resets the list of reported ports. Calling asi.startScanning() again will report all available ports once more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;''Related: the '''Port class'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: '''port:getName'''() - Returns the name of the port as a string, as given by the platform&lt;br /&gt;
: '''port:getIdentifier'''() - Returns the identifier associated to the port as a string, as given by the platform&lt;br /&gt;
: '''port:getState'''() - Returns the current state of the port as a constant from the asi table.&lt;br /&gt;
: '''port:setBaudRate'''(newBaudRate)&lt;br /&gt;
: '''port:connect'''(connectionCallback[, object]) - Sends an asynchronous request for connection to the port. When the request is processed, the result is reported to the specified callback.&lt;br /&gt;
: '''port:disconnect'''() - Sends an asynchronous request for disconnection from the port. The result will be notified at the callback provided at port:connect().&lt;br /&gt;
: '''port:setWriteListener'''(writeCallback[, object]) - Registers a callback for write-complete notifications. The callback is called after a write request. Returns self.&lt;br /&gt;
: '''port:write'''(writeData) - Sends an asynchronous request for a write operation. When the request is serviced, the writeCallback is called to confirm completion, if previously specified with setWriteListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:setReadListener'''(readCallback[, object]) - Registers a callback for read notifications. The callback is called after a read request. Returns self.&lt;br /&gt;
: '''port:setReadTimeout'''(newTimeout) - Sets the maximum amount of time that the platform should wait for the first byte. This affects the behavior of read(). By default the timeout is 1000 milliseconds (1 second). Returns self.&lt;br /&gt;
: '''port:read'''([bytesToRead]) - Sends an asynchronous request for a read operation. When the request is serviced, the readCallback is called to confirm completion, if previously specified with setReadListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:getValue'''() - Retrieves the last data read, as string.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1275</id>
		<title>Changes in OS 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1275"/>
		<updated>2017-03-01T12:40:49Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h2&amp;gt;Changes&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The [[platform.apilevel|apilevel]] is now 2.7.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;New&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI (&amp;quot;Asynchronous Serial Interface&amp;quot;)]] features''' got added in this release.&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1274</id>
		<title>Changes in OS 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1274"/>
		<updated>2017-03-01T12:40:39Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h2&amp;gt;Changes&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The [[platform.apilevel|apilevel]] is now 2.7.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;New&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI (&amp;quot;Asynchronous Serial Interface&amp;quot;]]) features''' got added in this release.&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1273</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1273"/>
		<updated>2017-03-01T12:39:19Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly. You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3 and 4.4) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1272</id>
		<title>Category:ASI</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:ASI&amp;diff=1272"/>
		<updated>2017-03-01T12:38:44Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Created page with &amp;quot;&amp;lt;p&amp;gt;'''ASI features''' got added With OS 4.2 (apilevel 2.7)&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt; Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI]] features''' got added With OS 4.2 (apilevel 2.7)&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
Official documentation: https://education.ti.com/html/webhelp/EG_TINspireLUA/EN/content/libraries/stem-iolib/asilibrary.htm&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Available functions:&lt;br /&gt;
: error = '''asi.addStateListener'''(asiStateCallback [, object]) - Registers an ASI state-change listener callback. The registration of multiple listener callbacks at the same time is supported. Registered listener callbacks can be removed by calling removeStateListener.&lt;br /&gt;
: success = '''asi.removeStateListener'''(asiStateCallback) - Removes a registered ASI state-change listener callback which was previously registered by calling addStateListener.&lt;br /&gt;
: '''asi.isScanning'''() - Returns true if a scan for ASI ports is ongoing or false otherwise.&lt;br /&gt;
: '''asi.startScanning'''(portFoundCallback [, object]) - Scans for ASI ports. A second call to startScanning while already scanning does not reset the process. If a rescan is desired, call stopScanning first and then startScanning to reset the process.&lt;br /&gt;
: '''asi.stopScanning'''() - Stops scanning for ASI ports. Also resets the list of reported ports. Calling asi.startScanning() again will report all available ports once more.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;''Related: the '''Port class'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: '''port:getName'''() - Returns the name of the port as a string, as given by the platform&lt;br /&gt;
: '''port:getIdentifier'''() - Returns the identifier associated to the port as a string, as given by the platform&lt;br /&gt;
: '''port:getState'''() - Returns the current state of the port as a constant from the asi table.&lt;br /&gt;
: '''port:setBaudRate'''(newBaudRate)&lt;br /&gt;
: '''port:connect'''(connectionCallback[, object]) - Sends an asynchronous request for connection to the port. When the request is processed, the result is reported to the specified callback.&lt;br /&gt;
: '''port:disconnect'''() - Sends an asynchronous request for disconnection from the port. The result will be notified at the callback provided at port:connect().&lt;br /&gt;
: '''port:setWriteListener'''(writeCallback[, object]) - Registers a callback for write-complete notifications. The callback is called after a write request. Returns self.&lt;br /&gt;
: '''port:write'''(writeData) - Sends an asynchronous request for a write operation. When the request is serviced, the writeCallback is called to confirm completion, if previously specified with setWriteListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:setReadListener'''(readCallback[, object]) - Registers a callback for read notifications. The callback is called after a read request. Returns self.&lt;br /&gt;
: '''port:setReadTimeout'''(newTimeout) - Sets the maximum amount of time that the platform should wait for the first byte. This affects the behavior of read(). By default the timeout is 1000 milliseconds (1 second). Returns self.&lt;br /&gt;
: '''port:read'''([bytesToRead]) - Sends an asynchronous request for a read operation. When the request is serviced, the readCallback is called to confirm completion, if previously specified with setReadListener. Returns error if an error occurred.&lt;br /&gt;
: '''port:getValue'''() - Retrieves the last data read, as string.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1271</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1271"/>
		<updated>2017-03-01T12:25:29Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: fix TI link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [https://education.ti.com/en/guidebook/details/en/59108CCE54484B76AF68879C217D47B2/ti-nspire_scripting-api-guide TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly.  You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3 and 4.4) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1270</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1270"/>
		<updated>2017-03-01T12:24:22Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [http://education.ti.com/nspire/scripting-api TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly.  You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
* So far, later OSes (4.3 and 4.4) have not brought any new/changed features to Lua scripting.&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1269</id>
		<title>Changes in OS 4.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Changes_in_OS_4.2&amp;diff=1269"/>
		<updated>2017-03-01T12:17:26Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Created page with &amp;quot;&amp;lt;h2&amp;gt;Changes&amp;lt;/h2&amp;gt; &amp;lt;p&amp;gt;The apilevel is now 2.7.&amp;lt;/p&amp;gt;  &amp;lt;h2&amp;gt;New&amp;lt;/h2&amp;gt; &amp;lt;p&amp;gt;'''ASI features''' got added in this release.&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;  : '''asi.add...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;h2&amp;gt;Changes&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The [[platform.apilevel|apilevel]] is now 2.7.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;New&amp;lt;/h2&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;'''[[:Category:ASI|ASI]] features''' got added in this release.&amp;lt;br /&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: '''asi.addStateListener'''(asiStateCallback [, object])&lt;br /&gt;
: '''asi.removeStateListener'''(asiStateCallback)&lt;br /&gt;
: '''asi.isScanning'''()&lt;br /&gt;
: '''asi.startScanning'''(portFoundCallback [, object])&lt;br /&gt;
: '''asi.stopScanning'''()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;''Also available: the '''Port class'''''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
: '''port:getName'''()&lt;br /&gt;
: '''port:getIdentifier'''()&lt;br /&gt;
: '''port:getState'''()&lt;br /&gt;
: '''port:setBaudRate'''(newBaudRate)&lt;br /&gt;
: '''port:connect'''(connectionCallback[, object])&lt;br /&gt;
: '''port:disconnect'''()&lt;br /&gt;
: '''port:setWriteListener'''(writeCallback[, object])&lt;br /&gt;
: '''port:write'''(writeData)&lt;br /&gt;
: '''port:setReadListener'''(readCallback[, object])&lt;br /&gt;
: '''port:setReadTimeout'''(newTimeout)&lt;br /&gt;
: '''port:read'''([bytesToRead])&lt;br /&gt;
: '''port:getValue'''()&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:Patola&amp;diff=1267</id>
		<title>User:Patola</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:Patola&amp;diff=1267"/>
		<updated>2016-10-01T21:30:54Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;estudande de engenharia&lt;br /&gt;
udc&lt;br /&gt;
4 periodo&lt;br /&gt;
gosto de calculadora&lt;br /&gt;
programar em lua me interessa&lt;br /&gt;
programas para estruturas&lt;br /&gt;
principalmente&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:Patola&amp;diff=1268</id>
		<title>User talk:Patola</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:Patola&amp;diff=1268"/>
		<updated>2016-10-01T21:30:54Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 23:30, 1 October 2016 (CEST)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User:CounterfeitLlama&amp;diff=1265</id>
		<title>User:CounterfeitLlama</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User:CounterfeitLlama&amp;diff=1265"/>
		<updated>2016-10-01T21:30:52Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Creating user page for new user.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Junior in High School and have been programming since Freshmen year. I currently have an application on the App Store, Sailboat Shenanigans. I learned lua to program a script for the nspire for our Precalculus final project.&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=User_talk:CounterfeitLlama&amp;diff=1266</id>
		<title>User talk:CounterfeitLlama</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=User_talk:CounterfeitLlama&amp;diff=1266"/>
		<updated>2016-10-01T21:30:52Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: Welcome!&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to ''Inspired-Lua Wiki''!'''&lt;br /&gt;
We hope you will contribute much and well.&lt;br /&gt;
You will probably want to read the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents help pages].&lt;br /&gt;
Again, welcome and have fun! [[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 23:30, 1 October 2016 (CEST)&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=math.eval&amp;diff=1264</id>
		<title>math.eval</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=math.eval&amp;diff=1264"/>
		<updated>2016-04-19T20:01:50Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;span style=&amp;quot;font-weight: bold;&amp;quot;&amp;gt;math.eval&amp;lt;/span&amp;gt; is a math library extension. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Since|3.0}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The function calls the math server with the specified arguments and returns the a numerical result if possible.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Beginning with platform.apiLevel = '2.0' (OS 3.2), the evaluation is performed using the current document settings, except that all evaluations are performed at full precision in approximate mode. The current document settings can be overriden by math.setEvalSettings. &amp;lt;br /&amp;gt;&lt;br /&gt;
If the math server evaluates the expression successfully, it returns the results as a fundamental Lua data type. &amp;lt;br /&amp;gt;&lt;br /&gt;
If the math server cannot evaluate the expression because of a syntax, simplification, or semantic error, eval returns two results: nil and an error number meaningful to the math server. (The error numbers are documented in the TI-Nspire Reference Guide - Error Codes and Messages for math.eval.)&amp;lt;br /&amp;gt;&lt;br /&gt;
If the math server calculates a symbolic result, it cannot be represented as a fundamental Lua type, so eval returns nil and the string &amp;quot;incompatible data type.&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Example''' : To evaluate ''f1'' for a given value in x, the parameter x must be converted to a string, and then any embedded &amp;quot;e&amp;quot; must be replaced with Unicode character U+F000. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;local mx = tostring(x):gsub(&amp;quot;e&amp;quot;, string.uchar(0xF000))&lt;br /&gt;
local expr = &amp;quot;f1(&amp;quot; .. mx .. &amp;quot;)&amp;quot;&lt;br /&gt;
return math.eval(expr)&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
'''Note''' : Because ''math.eval'' always does calculations in approximate mode, things like Boolean logic and some conversions will throw an error: &amp;lt;br /&amp;gt;&lt;br /&gt;
Boolean logic: r,e = math.eval('1 and 2') returns &amp;quot;Argument must be a Boolean expression or integer&amp;quot; error &amp;lt;br /&amp;gt;&lt;br /&gt;
Convert to base 10 r,e = math.eval(&amp;quot;0@&amp;gt;Base10&amp;quot;) returns &amp;quot;Domain Error&amp;quot; &amp;lt;br /&amp;gt;&lt;br /&gt;
[[math.evalStr]] works fine in such cases.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
math.'''eval(expression)'''&amp;lt;br&amp;gt; evaluates &amp;quot;expression&amp;quot; (can contain TI-Basic arguments) and returns a result as a number if possible.&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Expression can contain everything a TI-Basic function can contain. You can seperate statements using &amp;quot;:&amp;quot;. &amp;lt;br /&amp;gt;&lt;br /&gt;
It can also contain calls to user defined functions in the document, or functions in global libraries.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;math.eval(&amp;quot;sqrt(16)&amp;quot;) -- returns 4&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
[[math.evalStr]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Extended_Standard_Library]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=var.store&amp;diff=1263</id>
		<title>var.store</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=var.store&amp;diff=1263"/>
		<updated>2016-04-14T09:33:45Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;var.'''store'''&amp;amp;nbsp;is a function that is part of the [[:Category:var|Var]] functions. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
The function set the content of a variable in the current document.&amp;lt;br /&amp;gt;&lt;br /&gt;
Returns nil when the operation succeeded, otherwise an error message. &lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
&lt;br /&gt;
var.'''store'''(varname, data)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;varname&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || string || The name of the ''math'' variable you want to store stuff in.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;data&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || anything || the data you want to store in ''varname''. Can be a number, string, table etc.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
--[[User:Adriweb|Adriweb]] ([[User talk:Adriweb|talk]]) 11:33, 14 April 2016 (CEST)&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
function on.construction()&lt;br /&gt;
	var.store(&amp;quot;sol&amp;quot;, 1400000)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function on.paint(gc)&lt;br /&gt;
	variable = var.recall(&amp;quot;sol&amp;quot;) --assuming that sol exists &lt;br /&gt;
	gc:drawString(&amp;quot;The diameter of the sun is &amp;quot; .. tostring(variable) .. &amp;quot; KM&amp;quot;, 10, 10, &amp;quot;top&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This code store some data into the &amp;quot;sol&amp;quot; variable, retrieves the content of the variable sol (string), and prints it on the screen.&lt;br /&gt;
&lt;br /&gt;
== See also  ==&lt;br /&gt;
&lt;br /&gt;
*[[var.list]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.recallstr]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.recall]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.monitor]]&amp;lt;br&amp;gt; &lt;br /&gt;
*[[var.unmonitor]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:var]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1262</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1262"/>
		<updated>2016-02-19T04:22:48Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: OS 4.2 update&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [http://education.ti.com/nspire/scripting-api TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
* [February 16th, 2016] : TI-Nspire OS 4.2 is released, with major new features to the Lua API related to peripheral I/O ([[:Category:ASI|ASI]], &amp;quot;Asynchronous Serial Interface&amp;quot;) mainly.  You can see [[Changes in OS 4.2|what's changed here]].&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=gc:getStringHeight&amp;diff=1261</id>
		<title>gc:getStringHeight</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=gc:getStringHeight&amp;diff=1261"/>
		<updated>2015-08-24T15:31:25Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;gc:'''getStringWidth''' is a function that is part of the [[:Category:gc|gc]].&lt;br /&gt;
&lt;br /&gt;
Returns a number : the string's height in pixels.&lt;br /&gt;
&lt;br /&gt;
{{Since|3.0}}&lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
gc:'''getStringHeight'''(string) &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;string&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || string || The string you want to get the height of.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;height = getStringHeight(&amp;quot;hello&amp;quot;)&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also  ==&lt;br /&gt;
*[[gc:getStringWidth]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:gc]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;diff=1260</id>
		<title>math.setEvalSettings</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=math.setEvalSettings&amp;diff=1260"/>
		<updated>2015-08-18T02:56:47Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''math.setEvalSettings''' is a math library extension used to override one or more of the current document settings for all subsequent math evaluations performed by [[math.eval]] and [[math.evalStr]].&lt;br /&gt;
It does not change the document context settings. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The function '''math.setEvalSettings''' may be called at any point in the script app. The modified document settings are used by [[math.eval]] for all subsequent calls within the script app (unless modified by a subsequent call to ''setEvalSettings'' ).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note''': All results from the TI-Nspire math server are returned as full-precision expressions. If users want to limit the display digits, they must call [[math.getEvalSettings]]() and apply the appropriate precision before displaying the value returned by the TI-Nspire math server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Since|3.2}}&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
&lt;br /&gt;
math.'''setEvalSettings'''(settingsTable) &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;settingsTable&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || table || Table of tables. Each inner table consists of the name of the document setting to override and the name of the value to use instead. &lt;br /&gt;
The key-values are either text strings or the number they're linked to.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example  ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
settings = {&lt;br /&gt;
 	{'Unit System','Eng/US'},&lt;br /&gt;
 	{'Calculation Mode','Approximate'},&lt;br /&gt;
 	{'Real or Complex Format','Polar'},&lt;br /&gt;
 	{'Exponential Format','Engineering'}&lt;br /&gt;
}&lt;br /&gt;
math.setEvalSettings(settings)&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
For user convenience, setEvalSettings also accepts the ordinal number of the setting to override and the ordinal number of the value to use instead. The ordinal numbers to use correspond to the order of the settings and their values found at File &amp;gt; Settings &amp;gt; Document Settings.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
settings = {&lt;br /&gt;
 	{2,3},&lt;br /&gt;
 	{4,3},&lt;br /&gt;
 	{6,3},&lt;br /&gt;
 	{8,2}&lt;br /&gt;
}&lt;br /&gt;
math.setEvalSettings(settings)&lt;br /&gt;
&amp;lt;/source&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In fact, setEvalSettings accepts any combination of names (strings) and ordinal numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See also  ==&lt;br /&gt;
&lt;br /&gt;
[[math.eval]] &lt;br /&gt;
&lt;br /&gt;
[[Category:Extended_Standard_Library]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=MediaWiki:Vector.css&amp;diff=1259</id>
		<title>MediaWiki:Vector.css</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=MediaWiki:Vector.css&amp;diff=1259"/>
		<updated>2015-08-15T22:04:16Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;/* CSS placed here will affect users of the Vector skin */&lt;br /&gt;
div.mw-geshi {&lt;br /&gt;
  padding: 1em; &lt;br /&gt;
  margin: 1em 0; &lt;br /&gt;
  border: 1px dashed #2f6fab;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#bodyContent h2 {&lt;br /&gt;
  margin-top: .7em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.thumb.tright {&lt;br /&gt;
     clear: none !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
h4 {&lt;br /&gt;
     font-size: 116%;&lt;br /&gt;
     font-style: italic;&lt;br /&gt;
     margin-left: 4px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.mw-body-content {&lt;br /&gt;
    font-size: .82em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
#pt-logout {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=cursor.set&amp;diff=1258</id>
		<title>cursor.set</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=cursor.set&amp;diff=1258"/>
		<updated>2015-08-01T20:03:04Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;cursor.'''set''' is a function that is part of the [[:Category:cursor|cursor functions]].&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It sets the shape of the mouse pointer to display.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Since|3.0}}&lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
cursor.'''set'''(cursorName) &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;cursorName&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || string || The name of the cursor shape to use for the mouse pointer. It can be one of the following strings :&lt;br /&gt;
&amp;quot;animate&amp;quot;, &amp;quot;arrow&amp;quot;, &amp;quot;clear&amp;quot;, &amp;quot;crosshair&amp;quot;, &amp;quot;default&amp;quot;, &amp;quot;diag resize&amp;quot;, &amp;quot;dilation&amp;quot;, &amp;quot;dotted arrow&amp;quot;, &amp;quot;drag grab&amp;quot;, &amp;quot;excel plus&amp;quot;, &amp;quot;hand closed&amp;quot;, &amp;quot;hand open&amp;quot;, &amp;quot;hand pointer&amp;quot;, &amp;quot;hide&amp;quot;, &amp;quot;hollow pointer&amp;quot;, &amp;quot;interrogation&amp;quot;, &amp;quot;link select&amp;quot;, &amp;quot;mod label&amp;quot;, &amp;quot;pencil&amp;quot;, &amp;quot;pointer&amp;quot;, &amp;quot;resize column&amp;quot;, &amp;quot;resize row&amp;quot;, &amp;quot;rotation&amp;quot;, &amp;quot;show&amp;quot; &amp;quot;text&amp;quot;, &amp;quot;translation&amp;quot;, &amp;quot;unavailable&amp;quot;, &amp;quot;wait busy&amp;quot;, &amp;quot;writing&amp;quot;, &amp;quot;zoom box&amp;quot;, &amp;quot;zoom in&amp;quot;, &amp;quot;zoom out&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;if needsCursor then   -- needsCursor would be a variable defined earlier&lt;br /&gt;
   cursor.set(&amp;quot;pencil&amp;quot;)&lt;br /&gt;
end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Cursors ==&lt;br /&gt;
[[File:Cursors.png|400 px]]&lt;br /&gt;
&lt;br /&gt;
(this images also contains some non-available cursors, but most of them are)&lt;br /&gt;
&lt;br /&gt;
== See also  ==&lt;br /&gt;
*[[cursor.show]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:cursor]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:cursor]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:BLE&amp;diff=1257</id>
		<title>Category:BLE</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:BLE&amp;diff=1257"/>
		<updated>2015-07-30T20:45:56Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Description ==&lt;br /&gt;
&amp;quot;BLE&amp;quot; means &amp;quot;'''Bluetooth Low Energy'''&amp;quot;. You can find more info about this technology [https://en.wikipedia.org/wiki/Bluetooth_low_energy on Wikipedia]&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
With the release 3.11 of the Nspire iPad app, TI introduced the ability to communicate with any BLE-compatible device, which can be of different sorts: some sensors, some microcontrollers-equipped boards (little robots. etc !)... or anything that features a BLE chip.&amp;lt;br/&amp;gt;&lt;br /&gt;
In early April 2015, TI updated its [http://education.ti.com/~/media/4A9A2F6B391A49E4BE07B606F699189A Lua API documentation], which now includes a chapter about the BLE APIs.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
A sample script by Fred Fotsch is available here: http://education.ti.com/en/tisciencenspired/us/detail?id=98CD6AF24B5643EDA3BD8C261DEEB9FB&amp;amp;t=A8635C77876A41AE90122589985F5703&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Several tutorials related to BLE have been created by Steve Arnold and are available on his website: http://compasstech.com.au/TNS_Authoring/Scripting/script_tut30.html&lt;br /&gt;
&lt;br /&gt;
== The API ==&lt;br /&gt;
&amp;lt;p&amp;gt;[[:Category:BLE|BLE]] features are available with the &amp;quot;ble&amp;quot;/&amp;quot;bleCentral&amp;quot; modules (code&amp;amp;nbsp;: &amp;lt;b&amp;gt; &amp;lt;i&amp;gt;require &amp;quot;ble&amp;quot;&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;&amp;lt;i&amp;gt;require &amp;quot;bleCentral&amp;quot;&amp;lt;/i&amp;gt; &amp;lt;/b&amp;gt; at the top of the script, while in [[platform.apilevel|apilevel]] 2.5).&amp;lt;br /&amp;gt;&lt;br /&gt;
Tables &amp;lt;b&amp;gt;ble&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;bleCentral&amp;lt;/b&amp;gt; are then available.&lt;br /&gt;
&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;ble&amp;lt;/b&amp;gt;&lt;br /&gt;
&amp;lt;/p&amp;gt;&lt;br /&gt;
: ble.OFF&lt;br /&gt;
: ble.ON&lt;br /&gt;
: ble.RESETTING&lt;br /&gt;
: ble.UNSUPPORTED&lt;br /&gt;
: ble.addStateListener&lt;br /&gt;
: ble.pack&lt;br /&gt;
: ble.removeStateListener&lt;br /&gt;
: ble.unpack&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;bleCentral&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
: bleCentral.isScanning&lt;br /&gt;
: bleCentral.startScanning&lt;br /&gt;
: bleCentral.stopScanning&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;''Other additions include:''&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''PeripheralClass'''&lt;br /&gt;
: getName&lt;br /&gt;
: getState&lt;br /&gt;
: connect&lt;br /&gt;
: disconnect&lt;br /&gt;
: discoverServices&lt;br /&gt;
: getServices&lt;br /&gt;
&lt;br /&gt;
'''ServiceClass'''&lt;br /&gt;
: getUUID&lt;br /&gt;
: discoverCharacteristics&lt;br /&gt;
: getCharacteristics&lt;br /&gt;
&lt;br /&gt;
'''CharacteristicClass'''&lt;br /&gt;
: getUUID&lt;br /&gt;
: setValueUpdateListener&lt;br /&gt;
: setWriteCompleteListener&lt;br /&gt;
: read&lt;br /&gt;
: setNotify&lt;br /&gt;
: getValue&lt;br /&gt;
: write&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=on.varChange&amp;diff=1256</id>
		<title>on.varChange</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=on.varChange&amp;diff=1256"/>
		<updated>2015-06-18T01:30:14Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: changed create by construction (valid in recent APIs)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This event gets fired when a [[var.monitor|monitored variable]] gets changed.&amp;lt;br /&amp;gt;&lt;br /&gt;
It has an argument it creates by itself (like 'gc' with on.paint), which is ''varlist'', being a list of variable names whose values were changed.&amp;lt;br /&amp;gt;&lt;br /&gt;
This handler must return a value to indicate if it accepts the new value(s) or vetoes the change.  &lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
on.'''varChange'''(''varlist'')&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Return values==&lt;br /&gt;
Valid return values are:&lt;br /&gt;
* 0 Success. The script application accepts the change.&lt;br /&gt;
* -1 Veto range. The new value is unsatisfactory because it is outside the acceptable  range, i.e. too low or too high.&lt;br /&gt;
* -2 Veto type. The new value is unsatisfactory because its type cannot be used by  the script application.&lt;br /&gt;
* -3 Veto existence. Another application deleted the variable and this application &lt;br /&gt;
&lt;br /&gt;
==Example== &lt;br /&gt;
&lt;br /&gt;
This example is about Highscore Saving.&amp;lt;br /&amp;gt;&lt;br /&gt;
More details here : http://www.inspired-lua.org/index.php/2011/08/save-a-high-score-without-cheating-possibility/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
function on.construction()&lt;br /&gt;
   if not var.recall(&amp;quot;highscore&amp;quot;) then&lt;br /&gt;
     highscore = 0&lt;br /&gt;
     var.store(&amp;quot;highscore&amp;quot;, highscore)&lt;br /&gt;
   end&lt;br /&gt;
   var.monitor(&amp;quot;highscore&amp;quot;)&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
 function on.varChange(varlist)&lt;br /&gt;
   for k, v in pairs(varlist) do&lt;br /&gt;
     if k == &amp;quot;highscore&amp;quot; then&lt;br /&gt;
       if var.recall(k) ~= highscore then&lt;br /&gt;
         return 1 -- it is an external change, block modifications&lt;br /&gt;
       else&lt;br /&gt;
         return 0 -- it is an internal change, allow modifications&lt;br /&gt;
       end&lt;br /&gt;
     end&lt;br /&gt;
   end&lt;br /&gt;
   return 0 -- allow modifications of other monitored variables if any&lt;br /&gt;
 end&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Events]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Category:platform.window&amp;diff=1255</id>
		<title>Category:platform.window</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Category:platform.window&amp;diff=1255"/>
		<updated>2015-04-24T01:18:59Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: :setFocus&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Returns the window object currently owned by the script application. The window consists of the portion of the page allotted to the script app.&amp;lt;br /&amp;gt;&lt;br /&gt;
Several applications can be visible when the page is arranged in a split layout.&amp;lt;br /&amp;gt;&lt;br /&gt;
Each visible application has its own window. &lt;br /&gt;
&lt;br /&gt;
== Quick Overview ==&lt;br /&gt;
&lt;br /&gt;
*[[platform.window:height|height]] : Returns the height in pixel of the current display window.&lt;br /&gt;
*[[platform.window:invalidate|invalidate]] : sets a flag to invalidate [a region of] the window by firing the [[on.paint]] event.&lt;br /&gt;
*[[platform.window:width|width]] : Returns the width in pixel of the current display window.&lt;br /&gt;
*[[platform.window:setFocus|setFocus]]''(true or false)'' : Focus/Unfocus the script's window.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:platform]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=gc:drawString&amp;diff=1254</id>
		<title>gc:drawString</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=gc:drawString&amp;diff=1254"/>
		<updated>2015-04-08T06:00:52Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: top default in recent apilevels&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''drawString ''' is a function that is part of [[:Category:gc|gc]] (Graphics Context). &lt;br /&gt;
&lt;br /&gt;
This function is used to display text, numbers etc. on the screen at specified coordinates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Returns an integer corresponding to the width of the displayed string.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Since|3.0}}&lt;br /&gt;
&lt;br /&gt;
== Syntax  ==&lt;br /&gt;
gc:'''drawString'''(string, x, y [,position]) &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;string&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || string || The text to display&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;x&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || number || the ''x'' coordinate of the beginning of the string. Relative to ''position''.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;y&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || number || the ''y'' coordinate of the beginning of the string. Relative to ''position''.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;u&amp;gt;&amp;lt;center&amp;gt;position&amp;lt;/center&amp;gt;&amp;lt;/u&amp;gt; || string || the string’s anchor point (vertical alignment). It can either be &amp;quot;baseline&amp;quot;, “bottom”, “middle”, or “top”. See screenshot below.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The ''position'' argument is optional, and defaults to &amp;quot;bottom&amp;quot; when not specified in apilevels &amp;lt; 2.3. For apilevels &amp;gt;= 2.3, the default is &amp;quot;top&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;function on.paint(gc)&lt;br /&gt;
     gc:drawString(&amp;quot;Hello World&amp;quot;, 0, 0, &amp;quot;top&amp;quot;)&lt;br /&gt;
end&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
will display&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; Hello World &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp; at the top-left part of the screen.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Good to know ==&lt;br /&gt;
In order to clear up what 'position' does, here's an animated image with the 4 possibilities, showing a text that is drawn at the same 60;60 coordinates, but with different &amp;quot;position&amp;quot; attributes.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[File:drawString_text_position.gif]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Category:gc]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1253</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=Main_Page&amp;diff=1253"/>
		<updated>2015-04-08T04:28:04Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''Welcome to the Inspired-Lua.org Wiki''' !&amp;lt;br /&amp;gt;&lt;br /&gt;
Here, you can learn &amp;quot;everything&amp;quot; about Lua scripting on the TI-Nspire platform ! Since this is a wiki, you're welcome to contribute ;)&lt;br /&gt;
&lt;br /&gt;
This website is not official but is considered a great source of information. &amp;lt;br /&amp;gt; Its goal is to gather official information (from [http://education.ti.com/nspire/scripting-api TI's pdf documentation], mainly) and also to explain things further, with more details and examples.&lt;br /&gt;
&lt;br /&gt;
An overview of the TI-Nspire Lua Scripting API is available here : [[Overview of the API]]&lt;br /&gt;
&lt;br /&gt;
'''News''' :&lt;br /&gt;
* [June 7th, 2012] : TI-Nspire OS 3.2 is released, with major updates to the Lua API. You can see [[Changes in OS 3.2|what's changed here]].&amp;lt;br /&amp;gt;&lt;br /&gt;
* [February 7th, 2013] : TI-Nspire iPad applications released, which came with OS 3.4, in which the Lua API got updated a bit. You can see [[Changes in OS 3.4|what's changed here]].&lt;br /&gt;
* [December 10th, 2013] : TI-Nspire OS 3.6 is released, which changed the Lua API a little bit. You can see [[Changes in OS 3.6|what's changed here]].&lt;br /&gt;
* [June 25th, 2014] : TI-Nspire OS 3.9 is released, with minor changes to the Lua API. You can see [[Changes in OS 3.9|what's changed here]].&lt;br /&gt;
* [August 25th, 2014] : TI-Nspire for iPad version 3.11 is released, with changes to the Lua API related to [[:Category:BLE|BLE]] features. You can see [[Changes in OS 3.11|what's changed here]].&lt;br /&gt;
* [March 6th, 2015] : TI-Nspire for iPad version 4.1 is released, with minor changes to the Lua API related to [[:Category:BLE|BLE]] features (Advertisement data, RSSI, timeout for connect procedure).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Categories  ==&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;1&amp;quot; class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width: 500px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]]&lt;br /&gt;
| [[Overview of the API|Standard Library]] &lt;br /&gt;
| The standard Lua functions&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Lua-logo.gif|64x64px|Lua-logo.gif]] &lt;br /&gt;
| [[:Category:Extended Standard Library|Extended Standard Library]] &lt;br /&gt;
| Some functions that TI added to the standard Lua library&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Timer-icon.gif|64x64px|Timer-icon.gif]] &lt;br /&gt;
| [[timer|Timer]] &lt;br /&gt;
| The integrated timer&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[Events|Events]] &lt;br /&gt;
| Platform Events&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[gc|Graphics context]] &lt;br /&gt;
| Draw on the screen with gc&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[platform|Platform]] &lt;br /&gt;
| Get and manage platform information&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[image|Image]] &lt;br /&gt;
| The image library&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[Physics Engine|Physics]] &lt;br /&gt;
| A Physics Engine !&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:Rtf icon.png|64x64px|Rtf icon.png]] &lt;br /&gt;
| [[D2Editor|D2Editor]] &lt;br /&gt;
| A rich text editor&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Locale.png|64x64px|Locale.png]] &lt;br /&gt;
| [[locale|Locale]] &lt;br /&gt;
| Get Locale information&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:Clipboard-Paste-icon.png|67x67px|Clipboard-Paste-icon.png]] &lt;br /&gt;
| [[clipboard|Clipboard]] &lt;br /&gt;
| Add and get text from the clipboard&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:File.png|64x64px|File.png]] &lt;br /&gt;
| [[var|Var]] &lt;br /&gt;
| Manage files in the local document&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[document|Document]] &lt;br /&gt;
| Set global document flags&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
&lt;br /&gt;
| [[toolpalette|Tool Palette]] &lt;br /&gt;
| An easy to manage menu&lt;br /&gt;
|-&lt;br /&gt;
| width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; | [[Image:Logo1-icon.png|64x64px|Logo1-icon.png]] &lt;br /&gt;
| [[cursor|Cursor]]&lt;br /&gt;
| Change or hide the cursor&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.inspired-lua.org/index.php?title=platform.apilevel&amp;diff=1252</id>
		<title>platform.apilevel</title>
		<link rel="alternate" type="text/html" href="https://wiki.inspired-lua.org/index.php?title=platform.apilevel&amp;diff=1252"/>
		<updated>2015-04-08T04:25:45Z</updated>

		<summary type="html">&lt;p&gt;Adriweb: difference in loading apilevel, with 3.6+&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;String value describing the current API version.&amp;lt;br /&amp;gt;&lt;br /&gt;
Its value can be :&lt;br /&gt;
* &amp;quot;1.0&amp;quot; for OS versions 3.0 and 3.1&lt;br /&gt;
* &amp;quot;2.0&amp;quot; for OS 3.2&lt;br /&gt;
* &amp;quot;2.2&amp;quot; for OS 3.4 (iPad App)&lt;br /&gt;
* &amp;quot;2.3&amp;quot; for OS 3.6&lt;br /&gt;
* &amp;quot;2.4&amp;quot; for OS 3.9&lt;br /&gt;
* &amp;quot;2.5&amp;quot; for OS 3.11 (iPad App)&lt;br /&gt;
* &amp;quot;2.6&amp;quot; for OS 4.0 and 4.1 (iPad App)&lt;br /&gt;
&lt;br /&gt;
Manually setting this property has to be done at the top of the lua script and can only be done once.&lt;br /&gt;
&lt;br /&gt;
Setting a unsupported apilevel has different behaviours when in &amp;lt; 3.6 and &amp;gt;= 3.6:&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Before 3.6''': The highest supported will be loaded.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''With and after 3.6''': The highest supported below the requested API level supported will be loaded. But requesting an API level below platform.apilevel = '1.0' will result in the latest/current apilevel available.&lt;br /&gt;
&lt;br /&gt;
[[Category:platform]]&lt;/div&gt;</summary>
		<author><name>Adriweb</name></author>
		
	</entry>
</feed>