Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 03:00:05 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Lua - nspire - page/documents -  (Read 278 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
blauemauritius
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 09 May, 2013, 08:47:43
Date Registered: 03 June, 2012, 20:11:57
Posts: 12

Topic starter
Total Post Ratings: 0

View Profile
« on: 30 June, 2012, 21:31:30 »
0

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
Logged
Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 22:29:56
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1736


Total Post Ratings: +180

View Profile WWW
« Reply #1 on: 30 June, 2012, 21:49:28 »
0

You can not add/remove pages.
However, you can run a Lua script in each page and communicate using var.store and var.monitor.
Logged

blauemauritius
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 09 May, 2013, 08:47:43
Date Registered: 03 June, 2012, 20:11:57
Posts: 12

Topic starter
Total Post Ratings: 0

View Profile
« Reply #2 on: 30 June, 2012, 21:57:40 »
0

Thank you. I will try it.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.56 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.