We will start off this unit by demonstrating the Amstrad's ability to produce colour and sound. Type the following program into the computer and run it. (At this stage, don't worry if you don't understand the program.) 10 FOR N=1 TO 20 20 INK 0,N 30 BORDER 20-N 40 SOUND 1,5*N,100 50 NEXT N 60 GOTO 10In the course of this unit, you will learn all the new commands and techniques that we have incorporated in this program, such as FOR...NEXT loops, Numeric Variables and interesting screen displays. That is to say, printing characters on the screen, constructing shapes out of characters and moving individual characters around the screen. However, it is the commands and techniques you will use during this unit that will be of the greatest importance to you in learning how to program your computer.
| ★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser... |
|
|