The following article was printed in March 1988 of the magazine „8000 PLUS".
A simple BASIC program for creating grafics
Drawing package by Roy Archer
Although full-blown graphics packages for the PCW are difficult things to write, this little listing is a lot of fun.
The program is sheer simplicity.
Type it in and run it.
If you want to start a new picture from scratch, press N at the first question (the other option is to load a picture you previously saved).
Now you simply build up a picture by placing ♦s (filled diamonds) where you want them on the screen.
You move the cursor around the screen using the normal cursor key.
If you want to draw (in other words if you want a ♦ placed in a specific place) you press [PASTE] with the cursor in the square you want.
Every square you move the cursor to from now on will be filled with a ♦ until you press the space bar.
If you press [CUT] you go into erase mode, where every square the cursor moves over becomes a space again.
When you have finished your drawing you press 'F' for finish and your drawing is saved as a disc file under any name you choose - up to 8 characters.
The program adds the file extension .DWG to the file name and when you want to recall a drawing it shows you a directory of all the suitable files.
Don't type the .DWG part when saving or loading files.
And then the fun really starts.
When the program saves your drawing it doesn't just save the final pattern, but instead it saves the sequence of keystrokes you used to move around the screen creating it.
So when you choose R for 'Recall a file from disc' the PCW starts in the same point and faithfully follows your route around the screen filling and erasing as it goes.
Only it moves a lot quicker
than you do.
This means that not only can you load a finished drawing, but with a little imagination you can also produce impressive changing and moving graphics.
With a slight modification you could use these files to produce imaginative display features, building up words and graphics and changing them.
Hours of fun.
The only way to get a printed copy ot your works of art is to take a 'screen dump' by pressing [EXTRA]+[PTR], and this isn't available to 9512 owners.