Author Topic: Extra Variables - An advanced TI-BASIC trick  (Read 18863 times)

0 Members and 1 Guest are viewing this topic.

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Extra Variables - An advanced TI-BASIC trick
« Reply #15 on: January 24, 2010, 11:29:44 am »
Nice find there, Quigibo!
Former Coder of Tomorrow


Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Extra Variables - An advanced TI-BASIC trick
« Reply #16 on: January 24, 2010, 03:56:52 pm »
Wow!  That's great!  Those are two more "constants" that I'll start using.  They can take various values like -1.346, 8, 9001, .345 right?
Yes.  They just can't be complex.


Another way to save stat vars (probably better than my first example)

{A,B->L1
1-Var Stats


The smaller of A and B is saved in minX and the larger of the two is in maxX.

Also in case its useful, their sum is in Σx, the average is in Med, and the sum of their squares (maybe in case you're using this constant to compare distances) is in Σx2
« Last Edit: January 24, 2010, 04:02:50 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Extra Variables - An advanced TI-BASIC trick
« Reply #17 on: January 24, 2010, 04:24:56 pm »
This tricks should be added to http://tibasicdev.wikidot.com/

Never think you know all TI-BASIC tricks. :P
Hobbing in calculator projects.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Extra Variables - An advanced TI-BASIC trick
« Reply #18 on: January 24, 2010, 06:36:18 pm »
Another way to save stat vars (probably better than my first example)

{A,B->L1
1-Var Stats


The smaller of A and B is saved in minX and the larger of the two is in maxX.

Also in case its useful, their sum is in Σx, the average is in Med, and the sum of their squares (maybe in case you're using this constant to compare distances) is in Σx2
Yes!  That's awesome!  I can't wait to find a spot to use these. ;D