Search results

From Learn @ Cemetech
Jump to navigationJump to search

Page title matches

  • 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
  • * [[TI-BASIC:Key_Code_Retriever|Key Code Retriever]]
    825 bytes (113 words) - 21:56, 24 February 2016
  • ..., primarily focusing on the structure and appearance of the code. Although code conventions are generally subjective and informal, just the individual pref ...understand, but also eliminates a lot of the difficulty in maintaining it. Code conventions are also important in group projects, where multiple people are
    5 KB (794 words) - 18:02, 24 February 2016
  • 69 bytes (7 words) - 18:06, 24 February 2016
  • {{Template:TI-BASIC:Code |code=
    602 bytes (98 words) - 18:07, 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
  • ...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
  • |summary=Retrieves the key code of any key pressed This routine loops until a key is pressed. When a key is pressed, the key code for that specific key is displayed.[[Category:TI-BASIC]]
    380 bytes (55 words) - 22:13, 24 February 2016

Page text matches

  • When creating a subprogram, you take whatever code you want from the parent program and put it in its own program (see [[TI-BA ...nderstand and update (in fact, it's actually a [[TI-BASIC:Code_Conventions|code convention]]), and helps cut down the potential for [[TI-BASIC:Errors|memor
    34 KB (5,832 words) - 18:36, 24 February 2016
  • ...easy to mess up your program, overwriting or deleting necessary pieces of code. If you just spent several hours working on your program, you don't want to = Simplify the Code =
    14 KB (2,449 words) - 00:39, 25 February 2016
  • ...s://www.cemetech.net/forum/profile.php?mode=viewprofile&u=10064 <code>PT_</code>]. ICE allows you to create advanced programs right on your 84+ CE without ...and use ICE to compile your program into eZ80 assembly, A.K.A raw machine code for your calculator. This means that your ICE programs will run much faster
    68 KB (11,666 words) - 22:35, 14 June 2018
  • ...re of the TI-Basic community: allowing others to study and learn from your code, and to use the techniques and concepts in their programs, increases the qu = Put the Code Together =
    17 KB (2,996 words) - 00:38, 25 February 2016
  • = The Code = To achieve the function of movement, we need to use some intense code and combine that with the attribute of getKey. First of all, the object th
    15 KB (2,588 words) - 00:56, 25 February 2016
  • ...ly write the code. Depending on what kind of program you're creating, your code will vary a great deal. However, it is possible to provide a few tips on co If you don't know already, re-writing the same code multiple times is a waste of time and space. Instead, it is much more effic
    8 KB (1,272 words) - 08:01, 6 February 2016
  • ...keep track of time in games because they operate regardless of what other code is currently being executed. There are two kinds of interrupts: hardware an ...-Calculators, an interrupt is never triggered. You can test this with this code:
    7 KB (1,090 words) - 06:16, 5 February 2016
  • Controlling flow defines the order in which a program runs, what line of code will be executed next; to repeat or skip a group of commands. There are thr ...ccur -- directing the flow of program execution. Conditionals determine if code will be executed or not.
    31 KB (5,464 words) - 00:37, 25 February 2016
  • ...do so until the condition after While becomes false. Let us consider this code: This code, of course, initially stores 3 into A. Then, it encounters the While loop.
    16 KB (2,791 words) - 00:57, 25 February 2016
  • The table of key code values is stored at '''(KeyExtend)'''. '''kExtendEcho2 ($FC)''' holds the last key code returned from GetKey, which is also stored into the accumulator after calli
    6 KB (683 words) - 08:28, 6 February 2016
  • ...lp you determine the flow of the program. It would be really boring if the code executed each line once from the beginning of the program to the end. We ne ...ly, testing conditions are a vital part to programming code. If a piece of code is continually run from start to finish without conditions, it's usually no
    10 KB (1,600 words) - 07:57, 6 February 2016
  • ...ach time through the game loop. In addition, if you enter a large block of code for the player, it will take a while before the other players have a chance This is code determines which assigns each calculator with a unique identity:
    18 KB (2,917 words) - 00:37, 25 February 2016
  • ...ress alpha followed by up or down, you will scroll a whole page of program code. In addition, 2nd right will take you to the end of your current line, and ...king up just consists of creating a new program, and recalling the program code into that program. However, if your program uses several programs and other
    5 KB (789 words) - 00:57, 25 February 2016
  • ...ress alpha followed by up or down, you will scroll a whole page of program code. In addition, 2nd right will take you to the end of your current line, and ...king up just consists of creating a new program, and recalling the program code into that program. However, if your program uses several programs and other
    4 KB (762 words) - 18:34, 24 February 2016
  • In the beginning of programming, programmers had to write code by manually setting on/off switches. Depending on whether the switch was se ...ent of compilers. These were primitive programs that took user inputs (the code) and turned them into on/off data that the computer could use. The basis of
    10 KB (1,648 words) - 20:11, 19 May 2016
  • ...screen. Notice that it only displays a character, though. Below is some code that would display text: ...gs because it to your calculator it is all the same thing (pictures, text, code, data, etc.).
    16 KB (2,502 words) - 18:52, 6 March 2017
  • ...ounter (often we use B to take advantage of DJNZ), we can copy the looping code the fixed number of times. ...ed from the original. However, comparing the sizes, the optimised unrolled code is 43 bytes compared to 13 bytes.
    13 KB (1,775 words) - 08:12, 6 February 2016
  • = The Code = This is the basis for the code used in the two later examples. An explanation for why it works can be see
    7 KB (1,212 words) - 00:39, 25 February 2016
  • ..., primarily focusing on the structure and appearance of the code. Although code conventions are generally subjective and informal, just the individual pref ...understand, but also eliminates a lot of the difficulty in maintaining it. Code conventions are also important in group projects, where multiple people are
    5 KB (794 words) - 18:02, 24 February 2016
  • ...es the end of the code, so if you are developing a game or so you need the code to flow correctly and execute over and over (for example for checking if yo ...not have exactly 101 uses, they are some of the most spectacular pieces of code that enable iterations to be made so that a game can constantly update itse
    5 KB (877 words) - 00:56, 25 February 2016
  • ...[[TI-BASIC:Pause|Pause]] to separate the variable initialization from the code test). Feel free to experiment with code timings, and to put your results up on this page. However, be sure to list
    20 KB (3,134 words) - 00:36, 25 February 2016
  • ...mment is a brief note that describes some functionality or feature of your code. You don't need to comment everything, but the two main things that you sho There are a couple different ways that you can add text comments to your code, with each having their own advantages and disadvantages. The first way is
    6 KB (1,044 words) - 18:05, 24 February 2016
  • In this code, if ''a'' is greater than ''b'', the program will say "yes", otherwise, it This code tests the value of '''a''' three times. First it finds if '''a'''=1. If i
    41 KB (6,621 words) - 00:38, 25 February 2016
  • |summary=Executes a line or block of code when an expression is nonzero. ...Advanced uses of the If command allow you to execute a different block of code if the check turns out to be false. The simplest form of the command is qui
    4 KB (661 words) - 18:40, 24 February 2016
  • Example of Inputting Hex Code ...mmand, where Asm(prgmPROGNAME is the program that contains the hexadecimal code.
    15 KB (2,541 words) - 21:58, 24 February 2016
  • ...e compatible with a shell. There are certain instructions you put in your code so that the shell recognizes the programs that it should show. ;code starts here
    6 KB (904 words) - 21:05, 3 February 2016
  • Here's a chunk of code that will create a simple menu with a header(Test Menu), 4 items (A,B,C, an Hopefully from the code you'll be able to understand the general flow.
    16 KB (2,051 words) - 21:27, 3 February 2016
  • ...message at the end. To eliminate this you can add this to the end of your code Output(1,1,"</span> '''7'''. What is the minimal modification that will allow this code to start-up?
    13 KB (2,355 words) - 18:24, 24 February 2016
  • The following code is an efficient way of waiting until a number key is pressed, and convertin ...f all you're going to do with the option is go to a different part of your code, you might just want to use the getKey value for comparisons. And if you on
    10 KB (1,673 words) - 18:33, 24 February 2016
  • ...en display it at the end to get a final output. For example, look at this code. All it is doing is testing a condition and acting upon it on which phrase ...e strings depending on some conditions to receive an output. So the above code can be turned into this:
    6 KB (1,039 words) - 00:54, 25 February 2016
  • The code below allows you to move an X around on the [[TI-BASIC:Homescreen|home scre This code is a collaboration of many optimizations by many members of the ti-basic co
    7 KB (1,221 words) - 18:02, 24 February 2016
  • 1817 ;skips the first chunk of code 1827 ;skips the first chunk of code
    6 KB (1,175 words) - 22:10, 24 February 2016
  • ...message at the end. To eliminate this you can add this to the end of your code Output(1,1," '''7'''. What is the minimal modification that will allow this code to start-up?
    14 KB (2,256 words) - 23:22, 24 February 2016
  • '''Main code:''' ...e corners of an imagined rectangle, in pixel coordinates, and run the main code of the routine. The ellipse will be drawn inside this rectangle (much like
    4 KB (713 words) - 21:59, 24 February 2016
  • ...recursively: N! = N*(N-1)! (with 1! and 0! being defined as 1). The actual code for a stack will be given in the next few sections; for now, let the fictio ...tack will crash when you try to do that. In most cases, you can watch your code to make sure that pushes and pops come in pairs, to prevent this from happe
    6 KB (1,064 words) - 18:10, 24 February 2016
  • |summary=Loops through a block of code while the condition is true. ...de to break out of the loop (it isn't built into the loop). If there is no code that ends the loop, then you will have an infinite loop. An infinite loop j
    4 KB (744 words) - 18:11, 24 February 2016
  • ...] and [[TI-BASIC:Programs|Programs]] are a good place to find such example code. See the [[TI-BASIC:Routines|Routines]] page for several short routines to ...ider [[TI-BASIC:Comments|Commenting Code]] and [[TI-BASIC:Code_Conventions|Code Conventions]] when you're writing it.
    6 KB (999 words) - 18:22, 24 February 2016
  • Here's what this code would do: ...how we would do to mix all together and add loops! Try to understand this code before continuing and type it in your own calculator.
    9 KB (1,461 words) - 00:39, 12 April 2016
  • ...isplayed. Now if the IF comes across a 1, it returns true and executes the code that follows. Now you might be asking yourself "And what about the IF 2?" w ...number but a condition. Well you are wrong. Look at the following piece of code:
    4 KB (784 words) - 00:57, 25 February 2016
  • ...uilt-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.
    6 KB (1,099 words) - 18:30, 24 February 2016
  • ===== The Code, Version 1, Kahla Mancala ===== ===== The Code, Version 2 =====
    10 KB (1,317 words) - 00:39, 25 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
  • == Code Structure == ...ur code and make choices depending on whats true at the time and what your code tells it to do.
    10 KB (1,746 words) - 00:39, 25 February 2016
  • At 13 bytes, this code is a pretty decent balance of speed and size. It multiplies DE by A and ret ...ading zeroes before finishing the multiplication, which take a little more code, but results in a faster average speed.
    46 KB (6,182 words) - 22:30, 31 May 2016
  • Before writing any of the code for a program, you should carefully plan out the program. This may seem lik ...es using English (or whatever language you speak) in place of the TI-Basic code to describe what the program will do to perform the desired functions and t
    8 KB (1,382 words) - 21:28, 1 December 2017
  • ...t will have a length of more than that (in this case, 3). So this piece of code stores a default of {0,0,0} to the list if it's just been created (of cours ... //Rest of code
    6 KB (979 words) - 18:03, 24 February 2016
  • ...f iPart( and fPart(, multiplying by the related power of 10. The following code draws a line for each element in the list: ...e harder to compress multiple digit of any length into one number, so more code is needed to accomplish this.
    10 KB (1,658 words) - 18:04, 24 February 2016

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