Author Topic: Best TI-BASIC command of all time?  (Read 11869 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Best TI-BASIC command of all time?
« Reply #15 on: March 12, 2014, 11:14:18 pm »
On a side note, although it is a bad practice due to the higher risk of data loss by accidentally pressing CLEAR and unreadability of the code, on the color model I like the ":" command separator a lot, because if you merge as many line of code together, it takes much less time to scroll through the code, especially with Doors CSE. I wouldn't recommend this if you plan to edit the code on a monochrome calc or computer, though.

By doing this on the CSE, you can save several minutes in scrolling to the very end of the source code.

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: Best TI-BASIC command of all time?
« Reply #16 on: March 12, 2014, 11:43:57 pm »
My personal choices would be Repeat (such a shame that it's not in the TI-89 languages) and expr(.
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: Best TI-BASIC command of all time?
« Reply #17 on: March 13, 2014, 12:56:02 pm »
you could use while instead of repeat right?
instead of "repeat a" just use "while not(a)" right?
« Last Edit: March 13, 2014, 02:57:00 pm by TheCoder1998 »
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Best TI-BASIC command of all time?
« Reply #18 on: March 13, 2014, 01:20:27 pm »
Repeat enters at least once, but while can also be entered zero times.

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Best TI-BASIC command of all time?
« Reply #19 on: March 13, 2014, 01:49:04 pm »
We should really change this into a "favorite routine" thread!


Mine is a Day of Week calculator (Month, day, and year are M, D, and Y, respectively):
Code: [Select]
:Y-(M<3
:round(7fPart((int(23M/9)+D+4+Y+int(Ans/4)-int(Ans/ᴇ2)+int(Ans/400)-2(M≥3))/7
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Best TI-BASIC command of all time?
« Reply #20 on: March 13, 2014, 02:05:29 pm »
We should really change this into a "favorite routine" thread!


Mine is a Day of Week calculator (Month, day, and year are M, D, and Y, respectively):
Code: [Select]
:Y-(M<3
:round(7fPart((int(23M/9)+D+4+Y+int(Ans/4)-int(Ans/ᴇ2)+int(Ans/400)-2(M≥3))/7
I'm pretty sure there are already some routine threads already. :P

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Best TI-BASIC command of all time?
« Reply #21 on: March 13, 2014, 02:25:37 pm »
We should really change this into a "favorite routine" thread!


Mine is a Day of Week calculator (Month, day, and year are M, D, and Y, respectively):
Code: [Select]
:Y-(M<3
:round(7fPart((int(23M/9)+D+4+Y+int(Ans/4)-int(Ans/ᴇ2)+int(Ans/400)-2(M≥3))/7
I'm pretty sure there are already some routine threads already. :P
Still. :P
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Best TI-BASIC command of all time?
« Reply #22 on: March 16, 2014, 06:40:03 pm »
On a side note, cumSum gotta have the worst TI-BASIC command name  of all time (I already brought that NSFW joke up before, but yeah the name looks a bit questionable) O.O

Maybe TI thought that students using that calculator would not be familiar yet with that stuff so they didn't mind using a dirty command name :P
« Last Edit: March 16, 2014, 06:55:48 pm by DJ Omnimaga »

Offline dinosteven

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 194
  • Rating: +10/-1
    • View Profile
Re: Best TI-BASIC command of all time?
« Reply #23 on: March 16, 2014, 08:53:54 pm »
On a side note, cumSum gotta have the worst TI-BASIC command name  of all time (I already brought that NSFW joke up before, but yeah the name looks a bit questionable) O.O

Maybe TI thought that students using that calculator would not be familiar yet with that stuff so they didn't mind using a dirty command name :P
:P
Then again, how are you gonna shorten "cumulative" in another way?

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: Best TI-BASIC command of all time?
« Reply #24 on: March 16, 2014, 09:20:52 pm »
On a side note, cumSum gotta have the worst TI-BASIC command name  of all time (I already brought that NSFW joke up before, but yeah the name looks a bit questionable) O.O

Maybe TI thought that students using that calculator would not be familiar yet with that stuff so they didn't mind using a dirty command name :P
:P
Then again, how are you gonna shorten "cumulative" in another way?
cumulSum(?

Also, TI-Basic really needs first-class functions. And first-class everything, in fact. And the calculators need moar RAM.
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline bb010g

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 428
  • Rating: +22/-1
  • I do stuff
    • View Profile
    • elsewhere on the net
Re: Best TI-BASIC command of all time?
« Reply #25 on: March 16, 2014, 09:40:25 pm »
Also, TI-Basic really needs first-class functions. And first-class everything, in fact. And the calculators need moar RAM.

I would be ecstatic if somebody came out with a calculator that had LISP. A Scheme would be preferable (like Chichen or Racket), but any real LISP would be awesome.
Arch Linux user
Haskell newbie | Warming up to Lua | Being dragged into C++
Calculators: HP 50g, HP 35s, Casio Prizm, TI-Nspire CX CAS, HP 28s, HP Prime, Mathematica 9 (if that counts)
π: 3.14...; l: 108; i: 105; e: 101; l+i+e: 314
THE CAKE IS A LIE IS A PIE

Offline blue_bear_94

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 801
  • Rating: +25/-35
  • Touhou Enthusiast / Former Troll / 68k Programmer
    • View Profile
Re: Best TI-BASIC command of all time?
« Reply #26 on: March 16, 2014, 10:26:58 pm »
Also, TI-Basic really needs first-class functions. And first-class everything, in fact. And the calculators need moar RAM.

I would be ecstatic if somebody came out with a calculator that had LISP. A Scheme would be preferable (like Chichen or Racket), but any real LISP would be awesome.

Maybe I can make one for the TI-89.


(also, the zeroes on the TI-89 look like b00bs)
Due to dissatisfaction, I will be inactive on Omnimaga until further notice. (?? THP hasn't been much success and there's also the CE. I might possibly be here for a while.)
If you want to implore me to come back, or otherwise contact me, I can be found on GitHub (bluebear94), Twitter (@melranosF_), Reddit (/u/Fluffy8x), or e-mail (if you know my address). As a last resort, send me a PM on Cemetech (bluebear94) or join Touhou Prono (don't be fooled by the name). I've also enabled notifications for PMs on Omnimaga, but I don't advise using that since I might be banned.
Elvyna (Sunrise) 4 5%
TI-84+SE User (2.30 2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User? (1.02)
Bag  東方ぷろの

Offline TheCoder1998

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 434
  • Rating: +20/-2
  • my art is written in code, not in graphite
    • View Profile
    • My website :D
Re: Best TI-BASIC command of all time?
« Reply #27 on: March 17, 2014, 02:31:05 am »
On a side note, cumSum gotta have the worst TI-BASIC command name  of all time (I already brought that NSFW joke up before, but yeah the name looks a bit questionable) O.O

Maybe TI thought that students using that calculator would not be familiar yet with that stuff so they didn't mind using a dirty command name :P

i never noticed that haha XD

i always thought something to make my own functions with like the symbolic functions would have been awesome (javascript can do it, why can't asm?)
my ticalc acc:

http://www.ticalc.org/archives/files/authors/113/11365.html

Spoiler For The Best Song Ever:


follow me on tumblr :)
www.rickdepizza.tumblr.com

check out my anilist :D
http://anilist.co/animelist/29701/Rickdepizza

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Best TI-BASIC command of all time?
« Reply #28 on: March 17, 2014, 03:41:05 am »
DJ, you ruined my calcchildhood. D:
I'm not a nerd but I pretend: