Omnimaga

Calculator Community => TI Calculators => Lua => Topic started by: blauemauritius on June 30, 2012, 03:31:30 pm

Title: Lua - nspire - page/documents
Post by: blauemauritius on June 30, 2012, 03:31:30 pm
Hello,

i want to program following with lua on my nspire: I have a main page (1.1) and a menu with two options. If i select option 1, i will have three other pages (1.2 , 1.3 , 1.4). If i select option 2, i will have two other pages (1.2 , 1.3).

My questions are: Is it possible to create or add a new page with lua? Or is it possible with lua to delete the content of a page?

Thank you very much.

Blauemauritius
Title: Re: Lua - nspire - page/documents
Post by: Jim Bauwens on June 30, 2012, 03:49:28 pm
You can not add/remove pages.
However, you can run a Lua script in each page and communicate using [lua]var.store[/lua] and [lua]var.monitor[/lua].
Title: Re: Lua - nspire - page/documents
Post by: blauemauritius on June 30, 2012, 03:57:40 pm
Thank you. I will try it.