6

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.

gsamaras
  • 71,951
  • 46
  • 188
  • 305
user3674739
  • 57
  • 1
  • 2
  • 7
  • There is presumably an "insert" key (possibly a secondary function) that inserts a new line. – ooga May 27 '14 at 22:27

2 Answers2

11

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.

mginn
  • 16,036
  • 4
  • 26
  • 54
Boone
  • 167
  • 1
  • 1
  • 10
5

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.

ankh-morpork
  • 1,732
  • 1
  • 19
  • 28