SECTION D FILE INTRO.D SIMPLE EDITING When we get to the next section, PRIMER, you will begin to get into actual programming, examining program listings and seeing how they behave when run. Each part deals with a different subject. I recommend that you read each part over several times and try to understand the way in which the program works. But to derive maximum benefit from this course you need to experiment a lot by changing program lines to see the effects obtained.In this way you will reinforce what you have learned and get a better understanding of the principles involved. Sometimes there will be suggestions for changing lines, but you should also be prepared to use your imagination, guided by the course, to boldly go where every programmer has gone before. There are so many variations on a theme in programming, that it is doubtful that even the guys who wrote MALLARD BASIC know all it's nooks and crannies. Who knows; you may discover a new routine, a programmer's lost chord even. At the risk of being boring, I would remind you again that any changes that you make will only be in the computers 'memory' and will not alter the program on disc unless you intend it to by unprotecting the disc and deliberately 'saving' your revised program to disc. Even if you make the program unworkable (unlikely) you can always reload the original version from disc again. Before starting a major demolition of lines, it is a good policy to LLIST the relevant lines to the printer so as to see what you started out with. At this stage you are probably muttering "Why doesn't he get on with it and tell me how to alter lines then " So I will, now Altering program lines (Simple EDITING) ======================================= All parts of a program line can be changed, including the line number, but at this stage you would be well advised to leave the line numbers alone and just concentrate on the remainder. To change a line first ensure that you are in DIRECT mode; if you have doubts just press [STOP] Now type 'EDIT line-number', where line-number is the number of the line that you want to edit, and press [RETURN]. The line will appear on screen with the cursor already on it. The cursor can be moved to any position on the line by using the arrow keys,and any alteration can only be made at the cursor position. Delete characters by using the [DEL] keys and add characters by pressing the appropriate keys. Use the space bar to add spaces. Most keys will repeat as long as they are held down so if you hold down a [DEL] key it will carry on until all reachable characters have been deleted. If at any time you get lost in the program you can get back to the section menu by typing GOTO 2000 .Then press [RETURN] Should the screen start filling up with characters or otherwise misbehave, just press [STOP], then carry on. End of file INTRO.D ing up with cha