Author Topic: Programming  (Read 5324 times)

0 Members and 1 Guest are viewing this topic.

Offline Java

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Programming
« on: May 01, 2020, 10:58:09 am »
How to I make on screen buttons and visuals for the program I’m trying to make? Also how do you code a random equation generator?

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Programming
« Reply #1 on: May 01, 2020, 06:26:18 pm »
You are going to need to provide more information for us to help. What programming language are you using? What type of calculator are you using? What exactly do you mean by random equation generator?
/e

Offline Java

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: Programming
« Reply #2 on: May 01, 2020, 06:46:38 pm »
I don’t know what program it is but I am using a ti nspire cx cas and all I do is click 1-9-1 and it creates a program. And I am making a thing like ai so someone can ask something like give me a question and it will give them a question and if they get it right it will say correct and if not incorrect.

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: Programming
« Reply #3 on: May 14, 2020, 08:58:33 am »
Sounds like you are trying to make a TI-BASIC program. Sorry to disappoint you, but there are almost no i/o routines in nspire BASIC, let alone graphical ones. :(
You might be able to use dialogs though. Also, if you are willing to go PC-side, there are some utilities which allow you to create Lua progarms for your calc.

Offline Java

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: Programming
« Reply #4 on: May 14, 2020, 02:37:51 pm »
Thank you! What programs can I use though?

Offline Jonson26

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 118
  • Rating: +1/-0
  • Follow cat! Do what cat! Into tree! Now!
    • View Profile
Re: Programming
« Reply #5 on: May 22, 2020, 10:20:07 am »
As far as I know, for lua You've got 2 options: You could get the student/teacher software and do it from there. Unfortunately this approach costs real moneys ( :( ), but you get an IDE-like environment with an emulator and all. On the other hand, you could get a third party tool (like Luna, for example) which will convert and package your lua files into a .tns file. This article on hackspire gives a pretty nice rundown of the methods you could use and also links to a page with documentation of all the API's on the nspire: https://hackspire.org/index.php?title=Lua_Programming. If you are new to programming in lua, I'd also recommend you to first do some tutorials on a computer instead of jumping straight into the nspire. There's a lot of really nice lua tutorials on the internet. Aside from that, you will also need to learn about how event-based programming works, since this is the model that the nspire API uses.
Good luck with your program! ;)