Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a line in the middle of the program in TI-Basic Editor?

I am writing a simple Pong game in TI-Basic but the editor won't let me insert a line into the code I've already written.

For example

print "Hello world"
<--Where I want to insert the code
print "hello again"
x = 5

If I try to insert code it simply writes over previous code, I cannot create a new line.

like image 273
user3674739 Avatar asked May 27 '14 22:05

user3674739


2 Answers

Are you coding on the TI-84 calculator? If so, all you have to do is press "2nd" and then "DEL" (to the left of the arrow-pad). You will note the blue text, "INS", above the "DEL" key. Then simply press ENTER to add a new line.

like image 117
Boone Avatar answered Sep 27 '22 19:09

Boone


There is a relevant section on page 511 of this TI-83 manual.

Inserting and Deleting Command Lines

To insert a new command line anywhere in the program, place the cursor where you want the new line, press 2nd INS, and then press ENTER . A colon indicates a new line.

To delete a command line, place the cursor on the line, press CLEAR to clear all instructions and expressions on the line, and then press DEL to delete the command line, including the colon.

like image 33
ankh-morpork Avatar answered Sep 27 '22 20:09

ankh-morpork