Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
New Tricks For Pure Basic Coders.
« previous
next »
Print
Pages:
1
[
2
]
3
4
Go Down
Author
Topic: New Tricks For Pure Basic Coders. (Read 12504 times)
0 Members and 1 Guest are viewing this topic.
JonimusPrime
LV6
Super Member (Next: 500)
Posts: 389
Rating: +25/-5
New Tricks For Pure Basic Coders.
«
Reply #15 on:
August 11, 2007, 05:09:00 am »
I wonder if it is th same for repeat?
Logged
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
Speler
LV8
Addict (Next: 1000)
Posts: 857
Rating: +6/-2
New Tricks For Pure Basic Coders.
«
Reply #16 on:
August 11, 2007, 05:20:00 am »
Well, Repeat works differently (it always completes the loop at least once).
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
New Tricks For Pure Basic Coders.
«
Reply #17 on:
August 11, 2007, 11:07:00 am »
what is StartTmr?
Logged
Speler
LV8
Addict (Next: 1000)
Posts: 857
Rating: +6/-2
New Tricks For Pure Basic Coders.
«
Reply #18 on:
August 11, 2007, 11:58:00 am »
It is a command built into 84+'s and 84+ SE's which tells you in interger form what time it is. It is used like this:
:StartTmr->T
...Test Code...
:CheckTmr(T
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
New Tricks For Pure Basic Coders.
«
Reply #19 on:
August 11, 2007, 12:45:00 pm »
ah ok i see
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
New Tricks For Pure Basic Coders.
«
Reply #20 on:
October 12, 2007, 09:15:00 am »
*bump*
I don't know if this has been said before in another topic but...
c1-->
CODE
ec1
10->X
100->X
200->X
c2
ec2
optimizes to
c1
-->
CODE
ec1
E2->X
E3->X
2E3->X
c2
ec2
Just a play scientific notation. It works just as fast, if not faster than the former.
I don't know about math operations on scientific notation numbers, but I would expect it to be the same. Either way this is a great way to save bytes.
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
Speler
LV8
Addict (Next: 1000)
Posts: 857
Rating: +6/-2
New Tricks For Pure Basic Coders.
«
Reply #21 on:
October 12, 2007, 09:33:00 am »
Actually, 10^( is generally a faster way to do the same (or rather, a very similar) thing.
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
New Tricks For Pure Basic Coders.
«
Reply #22 on:
October 12, 2007, 09:40:00 am »
Really? It has been tested?
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
Speler
LV8
Addict (Next: 1000)
Posts: 857
Rating: +6/-2
New Tricks For Pure Basic Coders.
«
Reply #23 on:
October 12, 2007, 09:43:00 am »
Yup, it's in basic code timing thingy... I mean 10^( as one token by the way.
Logged
Halifax
LV9
Veteran (Next: 1337)
Posts: 1334
Rating: +2/-1
New Tricks For Pure Basic Coders.
«
Reply #24 on:
October 12, 2007, 10:00:00 am »
Yeah, I understand, cool. I didn't know that.
Logged
There are 10 types of people in this world-- those that can read binary, and those that can't.
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
New Tricks For Pure Basic Coders.
«
Reply #25 on:
October 12, 2007, 12:33:00 pm »
i didn't knew E can be used without a number as prefix o.o
Logged
JonimusPrime
LV6
Super Member (Next: 500)
Posts: 389
Rating: +25/-5
New Tricks For Pure Basic Coders.
«
Reply #26 on:
October 12, 2007, 03:59:00 pm »
Yep it is very helpful that way
Logged
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
kalan_vod
LV11
Super Veteran (Next: 3000)
Posts: 2715
Rating: +10/-0
New Tricks For Pure Basic Coders.
«
Reply #27 on:
November 07, 2007, 03:41:00 pm »
Well I just saw burr post about the graphing vars, and it is very useful!
c1-->
CODE
ec1:"randInt(X,Y->u;2nd 7 or 8 (u or v)c2
ec2
Now execute u/v and it works as an instruction
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
New Tricks For Pure Basic Coders.
«
Reply #28 on:
November 07, 2007, 03:44:00 pm »
example, screenshot? o.o
Logged
kalan_vod
LV11
Super Veteran (Next: 3000)
Posts: 2715
Rating: +10/-0
New Tricks For Pure Basic Coders.
«
Reply #29 on:
November 07, 2007, 03:51:00 pm »
QuoteBegin-burr+-->
QUOTE
(burr)
You don't need to store C to a variable; Ans can be used instead.
CODE
:For(A,1,26+8D
:Repeat
(B,Ans
:randInt(1,9→B
:randInt(1,9
:End
:0→
(B,Ans
:End
However, if you use the randInt(1,9 statement elsewhere in your program, you can store it to one of the graphing variables (such as u or v) and then use that instead.
CODE
:"randInt(1,9→u
:For(A,1,26+8D
:Repeat
(B,Ans
:u→B:u
:End
:0→
(B,Ans
:End
Logged
Print
Pages:
1
[
2
]
3
4
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
New Tricks For Pure Basic Coders.