07.05.2015 Views

Bronze Edition Guide - True BASIC

Bronze Edition Guide - True BASIC

Bronze Edition Guide - True BASIC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11. Editing Hints and Shortcuts<br />

75<br />

Move the insertion point to the very beginning of the program. Choose Find Again. <strong>True</strong><br />

<strong>BASIC</strong> will find the READ statement now, because you started the search at the very beginning<br />

of the program.<br />

Changing Text. The Change command lets you change all occurrences of a word or number<br />

to a different word or number. Choose Change... from the Edit menu. Type the word<br />

music$ in the first line, and the word notes$ in the second line. Now click on the Replace All<br />

button.<br />

Look at the READ and PLAY statements, and you’ll see that the variable names have<br />

changed.<br />

The Change command works over the entire contents of the Source Window. Otherwise,<br />

the Change command works like the Find command. You can make it case sensitive. And<br />

you can have it apply only to entire words and not parts of words.<br />

Keep and Include<br />

The next two commands in the Edit menu will become useful as you begin to work with larger<br />

programs.<br />

If you want to remove all but one section of a program, use the Keep command. Select the<br />

part you want to keep and then choose Keep from the Edit menu. <strong>True</strong> <strong>BASIC</strong> will delete<br />

everything in your program except the selected text. <strong>True</strong> <strong>BASIC</strong> will also change the name<br />

of what is left to "Untitled ?" to prevent your accidentally saving it over the original file.<br />

The Include command lets you add the contents of another file to your program. Put the<br />

insertion point at the place where you wish to add the new file and select Include from the<br />

Edit menu. You’ll get a dialog box where you can specify any existing file in any directory

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!