Author Topic: Nspire lists  (Read 5831 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Nspire lists
« Reply #15 on: July 07, 2010, 06:16:02 am »
ON 68k and Nspire the boxes that appears when using Input ruins everything...


Nspire has a form of input? :o How do I use it? I was trying to find a command for it, but none of the 83+ style input commands (Prompt , Input , getKey, etc.) existed.
It was added in OS 2.0. I forgot the command name and syntax, though.

On the Nspire, you can use the Request or RequestStr (I think) command for input.  The syntax for both is:

Request [Text to display in dialog box (string)],[Variable you want to store it to (variable)]

Also, this will only work on OS 2.0 and above, as stated earlier

Really? Finally, a real form of input! Thanks!




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nspire lists
« Reply #16 on: July 17, 2010, 02:06:59 pm »
Sadly, no getkey support yet :/

The good news, though, is that now we can have some forms of turn-based games. It just looks ugly when you can't have an input function that works like Command Prompt instead of a window/alert popping up. Basically, no Illusiat 81 :/

Btw, anyone knows if that input function redirects to the home screen or something when used? If for example someone displays a tilemap made of pixels and line commands, will using the input function switch to another view?
« Last Edit: July 17, 2010, 02:08:16 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)