Author Topic: Undocumented BASIC tricks (TI83/84 series)  (Read 17037 times)

0 Members and 1 Guest are viewing this topic.

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #30 on: June 08, 2006, 08:57:00 am »
no... it's the TI pic files that's missing the last row X_X
you'd have to have an Asm-lib that stores its pics as either prgms or Appvars

Zeromus

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #31 on: June 11, 2006, 08:17:00 am »
I can store everything but the 7-8 pixels in the VERY top right with xLIB

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Undocumented BASIC tricks (TI83/84 series)
« Reply #32 on: June 11, 2006, 08:37:00 am »
even if they seems to be gone they are still here, its just that the calc wont display them since this part is for the run indicator
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

something1990

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #33 on: June 15, 2006, 03:08:00 am »
QuoteBegin-Risen Phoenix+Jun 7 2006, 05:22 PM-->
QUOTE (Risen Phoenix @ Jun 7 2006, 05:22 PM)
Good teacher protection code
c1-->
CODE
ec1
:ClrHome
:1X
:While X
:Input "",Str1
:If Str1="DONE
:0X
:Disp expr(Str1
:Endc2
ec2
It's not optomized, but it can be used in programs to solve problems as if it was the homescreen. (to some extent) :)smile.gif

I made something like this a while ago. Here's an adaptation for quick use in a program by pressing mode.
c1
-->
CODE
ec1:getkey
:If Ans=22
:Then
:ClrHome
:Repeat Str1="Quit
:Input "",Str1
:If Str1=/="Quit
:Disp expr(Str1
:End
:Delvar Str1End
c2
ec2

Vladik

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #34 on: June 23, 2006, 04:47:00 am »
GAH! TI-83+ BASIC PROGRAMMERS! Lol.

Offline Spellshaper

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1690
  • Rating: +0/-0
  • This is me. Or maybe not.
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #35 on: June 23, 2006, 07:42:00 am »
QuoteBegin-Vladik+Jun 23 2006, 05:47 PM-->
QUOTE (Vladik @ Jun 23 2006, 05:47 PM)
GAH! TI-83+ BASIC PROGRAMMERS! Lol.  

 That's your opinion. So please let us have our own opinion, too.
Thanx.

Offline Speler

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 857
  • Rating: +6/-2
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #36 on: June 23, 2006, 09:10:00 am »
Something1990, that code can be optimized to:

Repeap A=E5  //When's this acctually going to be the answer?
input "",A
Disp A
End


Vladic, just because they can only afford an 83+ doesn't mean that a person should be excluded.

One interesting unknown fact is that finance variables run faster then even ans.  I often use finance variables in phisics engines or other programs that need every slight speed boost they can get.

crzyrbl

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #37 on: June 23, 2006, 10:57:00 am »
thats good to know, what are they

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Undocumented BASIC tricks (TI83/84 series)
« Reply #38 on: June 23, 2006, 12:24:00 pm »
Seems like someone asked for a ban above... trolling=bad

EDIT: to avoid confusion my post was directed toward vladik
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

threefingeredguy

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #39 on: June 25, 2006, 07:10:00 am »
QuoteBegin-crzyrbl+Jun 23 2006, 04:57 PM-->
QUOTE (crzyrbl @ Jun 23 2006, 04:57 PM)
thats good to know, what are they

The finance APP (the one you can't delete) contains variables made specifically for that app that you can use in normal programming. You can always use them because you can't get rid of the finance app. They are faster because they are programmed differently than the other variables (which use built-in bcalls). These are processed by hooks (like xLIB) and executed from the APP instead of the OS's horrible methods.

Demon

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #40 on: July 15, 2006, 07:07:00 am »
Here's an interesting one:

If you want your programs and games to be smaller, don't use lowercase letters for the text unless it's really necessary.  Lowercase letters and some other symbols are like Unicode on the calc and they take up two bytes for each one you use. If you have lots of text in your program, and you're using lowercase, try making it all uppercase and see how many bytes you save (doing this has saved saved up to 75% of space per program on my calc...)

This post is 588 bytes long.  If you put this in your calc, it would be double that unless you made it uppercase.

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #41 on: December 09, 2006, 11:02:00 am »
Alot of the time i use
Output(X,Y,"I%"
Output(X,Y," ")

to output a % at X,Y+1 for loading screens because that is the only %sign on the calc  (I% is a finance variable)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Undocumented BASIC tricks (TI83/84 series)
« Reply #42 on: December 09, 2006, 11:07:00 am »
thats an useful thing, i never understood why TI didnt made the % symbol avaliable in BASIC by default
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Undocumented BASIC tricks (TI83/84 series)
« Reply #43 on: December 09, 2006, 11:32:00 am »
yea same here I hated then and I never knew how to get a % sign without making it your self on the graphscreen but now I know so thanks
There are 10 types of people in this world-- those that can read binary, and those that can't.

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Undocumented BASIC tricks (TI83/84 series)
« Reply #44 on: December 09, 2006, 01:05:00 pm »
You can use the percent that is to dots and a slash.