From Wikibooks, the open-content textbooks collection
|
Userboxes
| en-N |
This user can read and write at a native level in English. |
| html-1 |
This user is a beginning coder in HTML. |
|
[edit] Calculator Programing books
[edit] Useful characters for editing
- Math:
÷ × ± = ≠ ≈ < ≤ > ≥ ¹ ² ³ °
- Other:
→
[edit] Useful TI-Basic routines
[edit] Repeating scroll routine
:While K=0
:getKey→K
:End
:round(N*fPart((X+(N-S)-(K=24)+(K=26))/N)+S)→X
[edit] Explanation
This code is used when one would want to cycle through a sequence of numbers. It is especially useful when used in a menu routine and want to return to the first number when at the end, or when moving a sprite across the screen.
X - The variable being modified
K - Variable used to store the getKey value
N - Is the amount of numbers to go through
S - The minimum number in the sequence
[edit] External Links
Wikipedia/User:Dlrohrer2003 - My Wikipedia user page.