Author Topic: Undocumented TI-BASIC tricks  (Read 81787 times)

0 Members and 7 Guests are viewing this topic.

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
Undocumented TI-BASIC tricks
« Reply #30 on: December 13, 2005, 03:42:00 pm »
strings should not be used to save...period.  Play another game and you'd loose all progress...L1-L9 should also not be used...
I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker

CDI

  • Guest
Undocumented TI-BASIC tricks
« Reply #31 on: December 14, 2005, 12:09:00 am »
Err... L1-L6

and you could say... use a string and use a method to compress it into a list (it's not that hard :Dbiggrin.gif)

tenniskid493

  • Guest
Undocumented TI-BASIC tricks
« Reply #32 on: December 14, 2005, 02:07:00 am »
Would expr( work for RecallPic X:


"0123456789
expr("RecallPic"+sub(Ans,X+1,1

Offline rivereye

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 996
  • Rating: +0/-0
    • View Profile
Undocumented TI-BASIC tricks
« Reply #33 on: December 14, 2005, 03:44:00 am »
give it a shot
>(<')

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Undocumented TI-BASIC tricks
« Reply #34 on: December 14, 2005, 04:28:00 am »
QuoteBegin-tenniskid493+14 December 2005, 8:07-->
QUOTE (tenniskid493 @ 14 December 2005, 8:07)
Would expr( work for RecallPic X:


"0123456789
expr("RecallPic"+sub(Ans,X+1,1  

 no :(sad.gif

tenniskid493

  • Guest
Undocumented TI-BASIC tricks
« Reply #35 on: December 14, 2005, 07:30:00 am »
nope....oh well.

dragon__lance

  • Guest
Undocumented TI-BASIC tricks
« Reply #36 on: December 14, 2005, 10:30:00 am »
QuoteBegin-xlibman+14 December 2005, 11:28-->
QUOTE (xlibman @ 14 December 2005, 11:28)
QuoteBegin-tenniskid493+14 December 2005, 8:07-->
QUOTE (tenniskid493 @ 14 December 2005, 8:07)
Would expr( work for RecallPic X:


"0123456789
expr("RecallPic"+sub(Ans,X+1,1

no :(sad.gif

 i'm assuming it will work with xlib's recall pic function though, real(3,X,0,1) :)smile.gif

dysfunction

  • Guest
Undocumented TI-BASIC tricks
« Reply #37 on: December 14, 2005, 02:12:00 pm »
Yeah that should be just fine. :)smile.gif The reason it won't work with RecallPic is because RecallPic VAR doesn't work, it has to be a number.

CDI

  • Guest
Undocumented TI-BASIC tricks
« Reply #38 on: December 15, 2005, 12:09:00 am »
yeah, it dosen't work with like 70%+ of the commands you want it to work with

dysfunction

  • Guest
Undocumented TI-BASIC tricks
« Reply #39 on: December 15, 2005, 08:18:00 am »
It doesn't work for storing, for one thing:

c1-->
CODE
ec1
{1,2,3} -> expr("L"+"1")c2
ec2

Doesn't work.

Offline rivereye

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 996
  • Rating: +0/-0
    • View Profile
Undocumented TI-BASIC tricks
« Reply #40 on: December 15, 2005, 10:17:00 am »
that may make things a bit interesting
>(<')

Offline necro

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1295
  • Rating: +17/-2
  • +3 vaporal mustache
    • View Profile
Undocumented TI-BASIC tricks
« Reply #41 on: December 15, 2005, 10:40:00 am »
yep, it has problems with the -> command inside of strings, something the tios is finiky about

But expr("{1,2,3}->L1 one works...so sometimes things need to get very complicated to get the desired effect

I'm like a woot burger with awesome fries


VB.Net, C#, C++, Java, Game Maker

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Undocumented TI-BASIC tricks
« Reply #42 on: December 15, 2005, 10:51:00 am »
Maybe we should just go through and list the commands that expr( doesn't like...?
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Undocumented TI-BASIC tricks
« Reply #43 on: December 15, 2005, 02:06:00 pm »
and make a tutorial for undocumented tricks with expr( :Dbiggrin.gif

there are still lot of stuff I dont know about BASIC I think :Dbiggrin.gif

CDI

  • Guest
Undocumented TI-BASIC tricks
« Reply #44 on: December 16, 2005, 12:12:00 am »
Well...

StorePic
RclPic
UnArchive
Archive

those are the ones I really needed... but don't work