Author Topic: where in the hell is the PopUp command on the new TI-Nspire CX hand held?  (Read 14647 times)

0 Members and 1 Guest are viewing this topic.

Offline dante_cs

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Hi Everyone, my name is Dante, I am from Mexico. I´ve had the voyage 200 a couple of years ago. I used to do BASIC programs, and now I finally got the Nspire CX CAS, and I do not see a lot of the old programming commands... like the PopUp command, I am trying to make a new program that starts with a Popup menu with several choices in it, and I can not a find a command that can actually do that, I went thru all the built in commands in the new TI OS 3.2, and came up with nothing. can anyone help me on how to make this kind of menus on the new Nspire CX? I would Appreciate it so much!!!

Thank you all!!!

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
It available with ndless and c++, and you can always program in lua, but as for basic, I think the best you can do is request or requestStr, and have the user type in either the whole choice, or just 1,2,3.. or a,b,c…
And welcome to omnimaga

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Heya and welcome here.

Sadly Texas Instruments removed most of the Input commands from the Nspire probably to eliminate games from calculators or due to a rushed release 4 years ago. Finally they decided to add Lua on newer OSes which is what people mostly use nowadays.

Offline _Nicco_

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +6/-0
    • View Profile
If you really want to program your Nspire CX I would recommend downgrading to OS 3.1 if you are not already on it.  Downgrading will allow you to use Ndless and allow C and assembly programs to run on your calculator.  The calculator's programming is kind of limited without Ndless.

Welcome to Omnimaga.
They say that your signature is supposed to go here...

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Well, it depends. If he has never written a single line of code in his life other than TI-BASIC, C or ASM might be a rough start. If he mastered Voyage 200 BASIC then he might be fine, though.

Lua can do very decent stuff although nothing close to nDoom and the emulators.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Heya, welcome here. If you are expecting BASIC on the Nspire to be like what you are used to with the Voyage 200, then you are going to be very disappointed. nSpire BASIC is severely limited. If you want a similar experience that can be programmed on calc, I'd recommend looking into LUA.

Offline dante_cs

  • LV0 Newcomer (Next: 5)
  • Posts: 2
  • Rating: +0/-0
    • View Profile
Thank you... for your reply, many of you recommended Nless, sorry that is new for me and it sounds like a jailbreak to me, would it harm my handheld?
and regarding to lua I have done a web research and find it a little bit hard to me yet. I was used to TI-Basic, but anyway I will give a try!

Quote from: Rhombicuboctahedron
It available with ndless and c++, and you can always program in lua, but as for basic, I think the best you can do is request or requestStr, and have the user type in either the whole choice, or just 1,2,3.. or a,b,c…
And welcome to omnimag

"Request" command just let me input one item a the time, and if I need to input 5 items, then I would have to use "Request" 5 times in 5 different input windows. that is kind of annoying though.

Quote from: DJ
Heya and welcome here.

Sadly Texas Instruments removed most of the Input commands from the Nspire probably to eliminate games from calculators or due to a rushed release 4 years ago. Finally they decided to add Lua on newer OSes which is what people mostly use nowadays.

Do you mean Lua is integrated in the new handheld? can I program Lua directly on my device?

Quote from: art
Heya, welcome here. If you are expecting BASIC on the Nspire to be like what you are used to with the Voyage 200, then you are going to be very disappointed. nSpire BASIC is severely limited. If you want a similar experience that can be programmed on calc, I'd recommend looking into LUA.

You are right! it is a rough start to me. after all  I have only developed a couple of simple programs on the V200. I thought I could do something similar on the Nspire, but Ohhh!!! big dissapointing on that one.

Thanx...
« Last Edit: October 31, 2012, 11:49:57 pm by shmibs »

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
hey, welcome here, dante!
please don't post multiple times in succession in a topic. it spams the new post list and makes things difficult to read. instead, use the quote button next to a person's post to quote it in your own, and please format things like i've done above.

we hope you enjoy your stay, and you should definitely try out a new language!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: where in the hell is the PopUp command on the new TI-Nspire CX hand held?
« Reply #8 on: November 01, 2012, 02:58:35 am »
Thank you... for your reply, many of you recommended Nless, sorry that is new for me and it sounds like a jailbreak to me, would it harm my handheld?
That will not harm anything. Just follow the instructions (don't delete the ndless folder for example, I don't know whynsome try to do that although it is said in the readme not to do that) and nothing bad will happen. And even if you accidentally miss something, the worst you can get is a reboot loop, and it is fixable :)

Do you mean Lua is integrated in the new handheld? can I program Lua directly on my device?
You can download oclua to do so, but afaik, it has not been updated for a long time.

And for your other questions, sorry but I don't know more than you :(
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: where in the hell is the PopUp command on the new TI-Nspire CX hand held?
« Reply #9 on: November 01, 2012, 07:58:31 am »
If you want more information about Lua programming, you can head over here :
http://www.inspired-lua.org you will find tutorials etc. For the Nspire-Lua API, here : http://wiki.inspired-lua.org

What you have to know, though, is that right now (it will change un the future), there is no "standard" GUI library etc. provided by TI, so you have to do everything on your own.
Hopefully some community memebres have done so already :)

You can check an example of what's probably the most complex Lua app out there (compatible from 3.0 to 3.2+), an Electrical Engineering application : FormulaPro (like EEPro on the TI-89)
https://github.com/adriweb/EEPro-for-Nspire


(I put this screenshot to show the use of a GUI toolkit, which provides text input, buttons, dialog etc.)
« Last Edit: November 01, 2012, 07:59:54 am by adriweb »
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation