Search results

From Learn @ Cemetech
Jump to navigationJump to search
  • ; your code goes here ...e, the .db $BB,$6D inserts the "AsmPrgm" token as the first line of actual code into your program. You can find this token by going into your program catal
    4 KB (684 words) - 19:38, 6 February 2016
  • ...point, adding variables such as X and Y above is useful, allowing the same code to draw the same thing at multiple locations. It should also be noted that * The image data is stored in variables (lists), so the same code can display any sprite.
    15 KB (2,537 words) - 00:38, 25 February 2016
  • This is a better version of the previous code. It can add A to HL, BC, or DE, it doesn't require that you destroy the da The first code subtracts B from A. The second code subtracts the value pointed to by HL from A.
    6 KB (974 words) - 20:58, 3 February 2016
  • = The Original Code = Below is the code of the original version of the guess-the-number game. It is a 1-Player game
    27 KB (4,816 words) - 22:24, 24 February 2016
  • ...a buffer, you need to define the beginning or end. Whether you do this in code or just in your head, it doesn't really matter. == The Code ==
    6 KB (786 words) - 08:22, 6 February 2016
  • ...tructure and organization. Where the spaghetti name comes from is that the code becomes difficult to read and understand, similar to how it is difficult to Besides making code hard to read and understand, spaghetti code also has some other disadvantages associated with it:
    2 KB (358 words) - 18:27, 24 February 2016
  • Now that we have the header of the application, it's time to discuss the code for applications. [[Z80:Intro to Flash Applications|Intro to Flash Applicat ...te a few of the novelties of flash application programming. So, here's the code (with out header):
    4 KB (541 words) - 08:00, 6 February 2016
  • The command IS>(A,B is equivalent to the following code: Similar code can be used as a substitute for B+1→B if you don't want to change [[TI-BA
    4 KB (748 words) - 18:12, 24 February 2016
  • '''Q''': My program is extremely large. Is there a way to manage/condense the code better? '''Q''': How do I hide the code of my TI-Basic program?
    23 KB (3,863 words) - 18:33, 24 February 2016
  • ...inal string backwards using a [[TI-BASIC:For|For(]] loop. Here is what the code would look like: The actual code for the routine is:
    5 KB (975 words) - 18:16, 24 February 2016
  • * [[TI-BASIC:Timings|Code Timings]] * [[TI-BASIC:Selfmodify|Self-Modifying Code]]
    7 KB (891 words) - 18:34, 24 February 2016
  • Or alternatively for a slightly faster and smaller code: ...try this with small examples to understand and possibly develop their own code.
    35 KB (5,985 words) - 00:36, 24 April 2016
  • ...to think of matrices as lists of lists, you can say that the last line of code says, "Provide 2 lists, each with 3 elements." ...to store the powers of 2 from element (1,1) to (2,3), we have to use this code:
    3 KB (512 words) - 00:53, 25 February 2016
  • ...resents it with the appropriate tokens. It can convert .8xp fies to source code, as well as let you edit and create programs online and export them as .8xp ...guishing the code can be difficult. JALcc solves this problem by utilizing code-coloring commands, indenting nested commands, and allowing you to make larg
    10 KB (1,435 words) - 18:38, 24 February 2016
  • ...tect's source has been released, it is not much of a problem to modify the code to look for appvars instead of programs. ...ng the detector easier. In this example, you can copy this entire block of code and compile it. There is no need for any header (include ti83plus.inc, defi
    4 KB (678 words) - 08:22, 6 February 2016
  • ...functionality like giving access to key-hooks. This page provides you with code you can embed into TI-Basic programs to make them compatible with assembly :<program code...>
    2 KB (358 words) - 00:37, 25 February 2016
  • ...nd result tends to produce more bulky and poorly written code, than if the code was written from scratch and thought out from the beginning. Don’t worry ...re tips from the [[TI-BASIC:Plan|planning]] tutorial, but you can start to code.
    7 KB (1,255 words) - 18:39, 24 February 2016
  • Defines a code section. Code inside sections isn't compiled immediately. To compile it, you need to use
    937 bytes (101 words) - 17:28, 5 February 2016
  • This code will recall Pic1 then wait for the user to press Enter and finally erase al The code for the bullet(s) is
    10 KB (1,674 words) - 00:56, 25 February 2016
  • Self-modifying code (SMC) is code that changes itself while it is executing. While TI-Basic does not provide ...ariable whenever you want to call the statement. This eliminates duplicate code, which makes your program smaller.
    4 KB (735 words) - 18:40, 24 February 2016
  • The American Standard Code for Information Interchange. It is a standard for character interpretation Lines of code that on compile are replaced with other lines of code. A notable example is [[Z80:Macros:BCALL|BCALL]].
    5 KB (862 words) - 07:34, 6 February 2016
  • Another code you can use uses the xor logic: The code above will scroll the screen right 5 pixels, then toggle a LCD update.
    18 KB (2,976 words) - 00:37, 25 February 2016
  • == Macro Code == In case you memorized the hex code, the code is undocumented, or you are typing directly on the calculator. For example,
    1 KB (164 words) - 07:53, 6 February 2016
  • The command DS<(A,B is equivalent to the following code: A similar code can be used as a substitute for B-1→B if you don't want to change Ans:
    4 KB (749 words) - 18:21, 24 February 2016
  • ...veral different pitfalls that you have to be aware of. A pitfall is simply code that is syntactically correct, but does not produce the correct or desired ...around (25 should be swapped with 34, and vice versa for 24 and 26). This code will not generate any errors by the calculator, since it is syntactically c
    6 KB (999 words) - 00:55, 25 February 2016
  • : '''ASCII <span id=" ascii"></span>''' : The American Standard Code of Information Interchange. It uses 1 [#byte byte] (8 [#bit bits]) to hold ...A-F. It is used as a convenient shorthand way to express [#binary binary] code, because every four bits of binary have a corresponding hexadecimal symbol.
    28 KB (4,340 words) - 22:24, 24 February 2016
  • ...veral different pitfalls that you have to be aware of. A pitfall is simply code that is syntactically correct, but does not produce the correct or desired ...around (25 should be swapped with 34, and vice versa for 24 and 26). This code will not generate any errors by the calculator, since it is syntactically c
    6 KB (972 words) - 18:04, 24 February 2016
  • ...o begin with, so at the start of your program you should put in a block of code to do this. ...the list didn't already exist or didn't have 7 elements, the next block of code will execute.
    6 KB (1,092 words) - 18:27, 24 February 2016
  • ...ecks of cards. Commonly, before this command was introduced, the following code would shuffle a deck: This result can now be achieved with the following code:
    2 KB (275 words) - 18:06, 24 February 2016
  • ...numbers, because other programs might. To prevent this, use the following code to save and restore "randomness": {{Template:TI-BASIC:Prgm-code
    4 KB (625 words) - 18:28, 24 February 2016
  • ...other games, try out the game and try to understand and think through the code. == The Code ==
    2 KB (273 words) - 00:36, 25 February 2016
  • ...built-in. An [[TI-BASIC:If|If]] conditional is easiest, but if there is no code that ends the branching, then program execution will continue indefinitely, * It makes reading code (your own, or someone else's) much more confusing.
    3 KB (561 words) - 18:31, 24 February 2016
  • = Source Code = ...attach a license indicating what people are allowed to do with the source code. If you don't include a license, the default is "All rights reserved".
    4 KB (689 words) - 21:13, 3 February 2016
  • * [[TI-BASIC:code-conventions|Code Conventions]] * [[TI-BASIC:comments|Commenting Code]]
    1 KB (128 words) - 17:55, 1 December 2017
  • ...other games, try out the game and try to understand and think through the code. == The Code ==
    1,001 bytes (178 words) - 00:36, 25 February 2016
  • == The Code == Next we initialize the main program loop, where all the code inside the loop will be repeated until the user guesses the number. While w
    5 KB (951 words) - 00:37, 25 February 2016
  • * [[TI-BASIC:Selfmodify|Self-Modifying Code]] |prevpage = code-conventions
    1 KB (149 words) - 21:03, 1 December 2017
  • ...AI system that makes it kind of intelligent. Please try to understand the code and learn from it. == The Code ==
    1 KB (194 words) - 18:11, 24 February 2016
  • ...other games, try out the game and try to understand and think through the code. == The Code ==
    2 KB (286 words) - 00:38, 25 February 2016
  • ...does nothing. This one command fixes what would take quite a few lines of code and the possibility of user error. You can then use the dim( command to spe ...at hard to use a list. To write something to it, for example, you use this code:
    5 KB (777 words) - 00:55, 25 February 2016
  • === Code Conventions === * Don't pad code with unnecessary blank lines or spaces.
    2 KB (368 words) - 18:14, 24 February 2016
  • ...te the name and model of your calculator in the table below, then use this code to measure your loop overhead (with an empty line). Alternatively, use the following timing code to include storing to Ans (":1") in the overhead:
    9 KB (958 words) - 17:45, 3 May 2016
  • ...other games, try out the game and try to understand and think through the code. == The Code ==
    1 KB (220 words) - 00:36, 25 February 2016
  • ...e using the calculator because it has a small screen that doesn't fit much code, and using its keys to type can be rather cumbersome for writing large prog ...urceCoder 3 is implemented with jsTIfied, which makes it easy to test your code in an emulator.
    8 KB (1,322 words) - 00:56, 25 February 2016
  • ...tring. Again, try out the game and try to understand and think through the code. == The Code ==
    1 KB (238 words) - 00:38, 25 February 2016
  • {{Template:TI-BASIC:Prgm-code |code=
    3 KB (446 words) - 18:04, 24 February 2016
  • ...acter. Again, try out the game and try to understand and think through the code. == The Code ==
    2 KB (261 words) - 00:37, 25 February 2016
  • ...other games, try out the game and try to understand and think through the code. == The Code ==
    2 KB (250 words) - 00:38, 25 February 2016
  • * [[TI-BASIC:Code_Conventions|Code Conventions]] * [[TI-BASIC:Comments|Commenting Code]]
    5 KB (576 words) - 21:35, 25 February 2016
  • ...et for a moment that the [[TI-BASIC:Abs|Abs(]] command exists, and picture code that would do its job. A possible solution relies on the [[TI-BASIC:If|If]] ...ssions while keeping the result the same. For example, here is part of the code for moving a cursor on the screen, as a piecewise expression:
    4 KB (729 words) - 18:18, 24 February 2016

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