Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: Spyro543 on June 06, 2011, 08:54:22 pm

Title: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Spyro543 on June 06, 2011, 08:54:22 pm
I know Nspire-Basic is awful and stripped-down, etc., but how can I start programming in it? I can't find a way to start the Program Editor anywhere...
Title: Re: I know Nspire Basic is awful, but how can I start coding in it?
Post by: DJ Omnimaga on June 06, 2011, 08:56:13 pm
I unfortunately do not know how to create a program, but I know TI-BASIC Developer got some info on the language: http://tibasicdev.wikidot.com/nspire

Since this was for the clickpad, I don't know if it has information about the new input commands, though.
Title: (solved) Re: I know Nspire Basic is awful, but how can I start coding in it?
Post by: Spyro543 on June 06, 2011, 08:59:23 pm
I found it! Thanks for the help!
Title: Re: I know Nspire Basic is awful, but how can I start coding in it?
Post by: apcalc on June 06, 2011, 09:00:16 pm
It is actually somewhat difficult to add a program editor to a document. :(

Open a new document, and hit ctrl+i to add a new page.  Then, before selecting the app you wish to add, hit the escape key.  Then, hit ctrl+home, then scroll down to insert, and choose program editor from the list.  You can finally now start your program. :)

Feel free to ask if you have any additional questions! ;)
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: pianoman on June 06, 2011, 09:47:07 pm
It's actually not too bad for beginning Nspire programming, you just can't do much stuff with it.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: apcalc on June 06, 2011, 09:56:36 pm
It's actually not too bad for beginning Nspire programming, you just can't do much stuff with it.

This is very true.  In fact, many excellent programs have been produced with Nspire BASIC.  Particularly, see critor's mCAS and all of Nelson Souna's Chemistry tools.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Hot_Dog on June 06, 2011, 11:44:48 pm
It's actually not too bad for beginning Nspire programming, you just can't do much stuff with it.

This is very true.  In fact, many excellent programs have been produced with Nspire BASIC.  Particularly, see critor's mCAS and all of Nelson Souna's Chemistry tools.

And a sweet checkers game 8)
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Spyro543 on June 07, 2011, 05:03:57 pm
How was a checkers game made in Nspire Basic? ???
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: hoffa on June 07, 2011, 05:07:33 pm
How was a checkers game made in Nspire Basic? ???
I guess with the graph thing, plots using tables and commands that have to be typed in a window. Dirty stuff basically.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: DJ Omnimaga on June 07, 2011, 05:37:47 pm
Monopoly too, but I am unsure how user input works. Most games are kinda complicated to use.

By the way is the program editor included in the document size?
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Spyro543 on June 07, 2011, 05:39:19 pm
I'm sure that sliders could be used for game controls.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: pianoman on June 07, 2011, 05:46:00 pm
By the way is the program editor included in the document size?
Yeah, it is.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: AGVolnutt on June 08, 2011, 12:05:51 pm
Although this is solved, I would recommend you download the reference guide from the TI site for the language. It helped me a lot in programming, as you can quickly look at each function and what it does, (and more importainy, how to use the syntax!) I certainly hope you are starting the nSpire dailect of TI-BASIC. :3

http://education.ti.com/calculators/downloads/US/Guidebooks/Detail?id=6778 (http://education.ti.com/calculators/downloads/US/Guidebooks/Detail?id=6778)
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Munchor on June 08, 2011, 01:15:56 pm
The checkers game can be found here (http://www.ticalc.org/archives/files/fileinfo/424/42454.html).
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Spyro543 on June 08, 2011, 01:25:19 pm
Is there any way I can hide the Program Editor in a document without deleting the program?
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: Munchor on June 08, 2011, 03:23:23 pm
Is there any way I can hide the Program Editor in a document without deleting the program?

Menu>>1>>D
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: DJ Omnimaga on June 08, 2011, 03:25:42 pm
By the way is the program editor included in the document size?
Yeah, it is.

How big is it? O.O

EDIT: Btw I really mean the entire thing used to write your code, not the basic code itself.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: pianoman on June 08, 2011, 03:33:50 pm
By the way is the program editor included in the document size?
Yeah, it is.

How big is it? O.O

EDIT: Btw I really mean the entire thing used to write your code, not the basic code itself.
Depends on the program. My friend and I wrote an epic math software for the nspire in Basic. When we finished and closed the program editor, the file size went down by 2/3.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: DJ Omnimaga on June 08, 2011, 03:36:45 pm
Hmm wow... ok. When closing it, can you edit the program again, though? TI documents are weird sometimes, and I also hate the new trend of not including txt readmes with the tns files on ticalc.org now, since I like to see instructions before installing the file, sometimes.
Title: Re: (solved) I know Nspire Basic is awful, but how can I start coding in it?
Post by: pianoman on June 08, 2011, 03:45:33 pm
Agreed.