Search results

From Learn @ Cemetech
Jump to navigationJump to search
  • ...can remove closing parentheses, braces, and quotes at the end of a line of code. The one ''rare'' case you would keep an end parenthesis if if you are deal
    1 KB (260 words) - 18:19, 24 February 2016
  • ...f you try to use a decimal number. You could fix this problem by using the code below instead:
    2 KB (315 words) - 22:12, 24 February 2016
  • TI's code always resets the keypad before scanning; sometimes, you may get incorrect
    3 KB (456 words) - 23:56, 5 February 2016
  • This page is dedicated to showcase small snippets of code may be useful. These small routines are designed to accomplish tasks involv
    1 KB (192 words) - 18:23, 24 February 2016
  • ...o now we're going to show you how to use both commands. Check this example code out, to be explained afterwards.
    2 KB (371 words) - 17:19, 28 January 2017
  • ...|XLIB]] or Celtic III commands. Else, you will need to create installation code that is only ran the first time you run your program that will copy all pic
    5 KB (784 words) - 18:06, 24 February 2016
  • |summary=Returns the numerical code of the last key pressed, or 0 if no key is pressed.
    4 KB (619 words) - 18:13, 24 February 2016
  • The following code awaits the user to input an angle to fire at, using a [[TI-BASIC:Line|Line]
    2 KB (382 words) - 00:53, 25 February 2016
  • Inserts a code section at the current location.
    370 bytes (40 words) - 16:40, 5 February 2016
  • ...n the functions on, they'll draw in the screen so you may want to use this code wisely.
    3 KB (423 words) - 00:56, 25 February 2016
  • ...tect the arrow keys. The readme explains in more detail and includes a key code chart. This was designed with games in mind so it is small, fast, and easy
    10 KB (1,607 words) - 18:36, 24 February 2016
  • ...the corresponding bit. Otherwise, it will continuously call the interrupt code once interrupts are re-enabled with [[Z80:Opcodes:EI|EI]].
    2 KB (375 words) - 23:56, 5 February 2016
  • ...represent an existing run of the same element. We check for this with the code If L₁(I)=int(L₁(J)). If this turns out to be the case, we add .001 to i
    3 KB (520 words) - 22:11, 24 February 2016
  • If A is guaranteed to be positive, the following shorter code can be used, omitting B(A<0):
    2 KB (367 words) - 18:06, 24 February 2016
  • The code will show A=?, which means, "What do you want A to equal?". Prompt has limi
    4 KB (603 words) - 00:56, 25 February 2016
  • Another use of the finance variables is in speed-critical sections of code: they are faster to access even than [[TI-BASIC:Ans|Ans]]. Somewhat off-set
    6 KB (934 words) - 23:22, 24 February 2016
  • The directive generates code (and inserts it at the current point) according to the list.
    1 KB (138 words) - 16:43, 5 February 2016
  • ...ou want to write a program called prgmGAME, you type the ASCII represented code in a program with a different name (e.g. GAMEA) and then do AsmComp(prgmGAM
    2 KB (246 words) - 18:20, 24 February 2016
  • ...-Basic programs, assembly programs are written in the calculator's machine code directly, which makes them more powerful in both speed and functionality. H
    1 KB (207 words) - 18:37, 24 February 2016
  • Scan codes for direct hardware input. Horizontal values are the scan code and vertical values are the group codes. To activate a group, set the bit t
    2 KB (190 words) - 07:49, 6 February 2016
  • ...n the "list" (the delimiter must never occur in an individual string). The code will be simpler if the delimiter also occurs at the end of the string, as i
    4 KB (605 words) - 18:24, 24 February 2016
  • # Loops are a type of control structure used to repeat a block of code several times. There are two kinds of loops: a loop that repeats until a co
    2 KB (278 words) - 00:56, 25 February 2016
  • ...the fractional part, encoded as one of 0, 0.25, 0.5, or 0.75. In the above code (accessing individual cards), the convention is that 0=Spades, 0.25=Hearts,
    2 KB (330 words) - 22:10, 24 February 2016
  • this very simple code will switch the pixels on and off rapidly, a delay could be added using a "
    765 bytes (109 words) - 18:32, 24 February 2016
  • ...macro. Macros are basic find-and-replace operations, and as such lines of code are modified before being assembled.
    506 bytes (58 words) - 16:54, 5 February 2016
  • This can be taken to extreme degrees. For example, the following code uses abs( three times to test if X is the [[TI-BASIC:Getkey|GetKey]] keycod
    3 KB (391 words) - 02:25, 27 November 2017
  • ...tead of the variable. Even if Ans were 0 at the beginning of the loop, the code will work, since a Repeat loop will always cycle once before the condition
    5 KB (835 words) - 18:37, 24 February 2016
  • ...our game, it is practically 100% guaranteed that you made a mistake in the code. So use an [[Z80:Emulators|emulator]]! Tilem, Virtual Ti, and PindurTI ar
    3 KB (463 words) - 07:21, 6 February 2016
  • * The hex code [[TI-BASIC:Asmprgm|AsmPrgm]]FDCB058EC9 will disable the option (but it requ
    5 KB (950 words) - 18:26, 24 February 2016
  • ...or limitation that it has is it does not allow formatting inside a link or code block. Specifically, you cannot display text or numbers as superscript (tex
    2 KB (245 words) - 00:36, 25 February 2016
  • |location=This command can only be accessed through a hex editor (its hex code is 0xBB 0xDA)
    906 bytes (138 words) - 18:15, 24 February 2016
  • These quick chunks of code allow you to get through your programming without the hassle of inventing s
    2 KB (317 words) - 18:32, 24 February 2016
  • ...to perform the translation. It is a standard expression, where the special code {*} specifies the current character being translated. Here are a couple of
    1 KB (227 words) - 16:57, 5 February 2016
  • ...nvNorm( as an approximation for the nonexistent "invBinom(". The following code gives the number of trials out of N that will succeed with probability X if
    3 KB (381 words) - 18:21, 24 February 2016
  • The idea behind the code is actually pretty simple. The calculator has a few commands (in particular
    2 KB (293 words) - 22:12, 24 February 2016
  • * [[TI-BASIC:Key_Code_Retriever|Key Code Retriever]]
    825 bytes (113 words) - 21:56, 24 February 2016
  • ...can also calculate population standard deviation of L1 with the following code:
    2 KB (349 words) - 18:27, 24 February 2016
  • ...etween bases will make programming as well as understanding other people's code a lot easier.
    8 KB (1,163 words) - 06:06, 5 February 2016
  • This page is dedicated to showcase small snippets of code may be useful. These small routines are designed to accomplish tasks involv
    560 bytes (97 words) - 18:07, 24 February 2016
  • ...verything positive from the bottom left corner you would use the following code.
    24 KB (4,238 words) - 00:37, 25 February 2016
  • Thus, the following code would find the probability of χ² between 0 and 1 on a χ² distribution w
    3 KB (407 words) - 18:33, 24 February 2016
  • /* Uses the smallest of two pieces of source code */
    2 KB (202 words) - 17:11, 5 February 2016
  • ...ould note that the [ON] key (the key in the bottom left corner) has no key code, so you cannot check for nor disable it.
    2 KB (257 words) - 18:21, 24 February 2016
  • The add code is as follows:
    1 KB (256 words) - 18:37, 24 February 2016
  • ...ing in all of the different values into the npv( command, this is what our code looks like:
    4 KB (575 words) - 19:12, 24 February 2016
  • ...timization, or else the label will be ignored. For instance, the following code exits with [[TI-BASIC:Errors#label|ERR:LABEL]]:
    2 KB (269 words) - 18:27, 24 February 2016
  • You want to write a loop that will continuously display the getkey code for the key you press, until you press enter.
    2 KB (304 words) - 20:59, 3 February 2016
  • Now for the Code:
    678 bytes (97 words) - 18:09, 24 February 2016
  • ...so numbered starting from 0). This can be done using the following line of code:
    2 KB (356 words) - 22:23, 24 February 2016
  • For the TI-84+ and higher with a MathPrint or color OS, use this code instead:
    1 KB (211 words) - 19:40, 25 February 2016
  • ...lculators (an unsquished program can be edited, compiled or run as machine code on the calculator). Unsquished programs on the TI-8X still require regular
    877 bytes (138 words) - 17:13, 5 February 2016
  • The above code returns 1, because the 30<sup>th</sup> of December, 2007, is a Sunday.
    2 KB (239 words) - 22:24, 24 February 2016
  • ...value of a list is true will min( return true. For example, the following code will test if two lists are identical -- they have the same exact elements -
    3 KB (480 words) - 18:37, 24 February 2016
  • ...hird to create a list of integers. To create a list of 20 dice rolls, the code would be like this:
    2 KB (390 words) - 00:55, 25 February 2016
  • ...command does not need a line break or colon (which indicates a new line of code) following the variable name. This allows you to make chains of variables (
    4 KB (680 words) - 18:27, 24 February 2016
  • ...our CPU can only work with 8/16 at a time. And TI has also written all the code necessary for floating point arithmetic. All we need to do is plug in the i
    5 KB (720 words) - 21:00, 3 February 2016
  • This is where most of the helpful code is. Routines will help you accomplish some tasks that cannot normally be d
    2 KB (265 words) - 18:09, 24 February 2016
  • The code for looping over each character (technically, each token) of a string invol
    1 KB (207 words) - 18:18, 24 February 2016
  • ...'[[TI-BASIC:Key_Code_Retriever|Key_Code_Retriever]]''' -- Displays the key code for any key that you press.
    6 KB (977 words) - 18:33, 24 February 2016
  • Forces an error in the source code. Follows the same general rules as .echo.
    318 bytes (40 words) - 17:29, 5 February 2016
  • = The Code =
    901 bytes (159 words) - 00:37, 25 February 2016
  • When the string is being concatenated to one that already exists, this code can be optimized by decrementing the For loop rather than incrementing, and
    3 KB (505 words) - 22:12, 24 February 2016
  • ...op. Create a new program, call it whatever you want, and use the following code (Substitute the program's name for A):
    733 bytes (126 words) - 18:03, 24 February 2016
  • ...dvantages of combining Prompt commands are that it makes scrolling through code faster, and it is more compact (i.e. smaller) and easier to write than usin
    8 KB (1,513 words) - 00:36, 25 February 2016
  • To use this, create a program, and enter the code above into it. Then run the program using [[TI-BASIC:Asm_Command|Asm(]]. Vo
    2 KB (343 words) - 18:29, 24 February 2016
  • ...so has the jsTIfied calculator emulator built in so that you can test your code without leaving your browser.
    1 KB (211 words) - 03:07, 5 February 2016

View (previous 250 | next 250) (20 | 50 | 100 | 250 | 500)