Here - 1000 BiT
Here - 1000 BiT Here - 1000 BiT
LESSON 2COLOR AND THE KEYBOARDTurn your computer off, then on again. You are ready to start the lesson.MAKING A WHITE BACKGROUNDEnter PO KE 53281,1 The screen turns white.CAREFUL! The number has to be exactly 53281. If you use another number by mistake,the computer may get "sick" and you will have to turn it off, then on, to make it wellagain.MAKING RED LETTERSLook at the "3" key. There are three things written on it.The character "3" in the middle.The character "#" at the top.The word "RED" on the front of the key.Here are the three things this key can do:Press the "3" key. It prints 3.Hold down the SHIFT key and press "3". It prints #.Hold down the CTRL key and press "3". It changes the color.(CTRL is short for "control." The CTRL key helps control the color that is printed.)The cursor is red. Every letter we type will be red, too. Try it.20
There are eight colors on the number keys. They are:blackwhiteredcyan (blue-green)purplegreenblueyellowBLKWHTREDCYNPURGRNBLUYELType letters in different colors. Hold down the CTRL key and press one of the color keys.Now type.Try each color.TUNE THE TV FOR GOOD COLORSTune the TV color controls so that the letters you typed are the right colors.If you can make a good yellow, the rest of the colors are probably OK.RAINBOW LETTERSYou can make the computer change colors in the middle of a program. Tell the computerwhat color by using a PRINT command.Enter10REM RAINBOW20 PRINT11..."30 PRINT "POT"40 PRINT"..."50 PRINT "OF GOLD"but don't put dots in line 20 or line 40.In line 20 press CTRL and the "BLK" key instead of dots.In line 40 press CTRL and the "YEL" key instead of dots.It will look like this on the screen:20 PRINT" ■"40 PRINT" □ "Run the program. It should print "POT" in black letters and "OF GOLD" in yellow letters.21
- Page 3 and 4: KIDSAND THECOMMODORE 64
- Page 5 and 6: KIDSAND THECOMMODORE 64neoartment o
- Page 7 and 8: nTABLE OF CONTENTSAcknowledgements
- Page 9 and 10: nACKNOWLEDGEMENTS^My sincere thanks
- Page 11 and 12: nTO THE PARENTSThis book is designe
- Page 13 and 14: n~ ABOUT PROGRAMMINGThere is a comm
- Page 15 and 16: nn INSTRUCTOR NOTES 1 NEW, PRINT, R
- Page 17 and 18: COMMAND THE COMPUTERTry this. Type
- Page 19 and 20: THE NUMBER ZERO AND THE LETTER "O"T
- Page 21: nINSTRUCTOR NOTES 2COLOR AND THE KE
- Page 25 and 26: OTHER COMMANDS IN PRINT STATEMENTSJ
- Page 27 and 28: LESSON 3 LIST, BOXES IN MEMORYClear
- Page 29: ADDING A LINEYou can add a new line
- Page 35 and 36: THE DELETE KEYThe DEL key is your "
- Page 37 and 38: INSTRUCTOR NOTES 5 TRICKS WITH PRIN
- Page 39 and 40: RULE: The semicolon makes the invis
- Page 41 and 42: Assignment 5:1- Write a program whi
- Page 43 and 44: LESSON 6THE INPUT COMMANDUse INPUT
- Page 45 and 46: YOU WEAR TWO HATS, USER AND PROGRAM
- Page 47 and 48: LESSON 7THE LET COMMAND, GLUING STR
- Page 49 and 50: GLUING THE STRINGSHere is how to st
- Page 51 and 52: LESSON 8THE GOTO COMMAND AND THE ST
- Page 53 and 54: A CAN OF SPAGHETTILook at this: 10
- Page 55 and 56: Assignment 8:1. Just for practice i
- Page 57 and 58: LESSON 9 THE IF COMMANDClear the me
- Page 59 and 60: JtTHE "NOT EQUAL" SIGNTwo signs:= m
- Page 61 and 62: INSTRUCTOR NOTES 10 INTRODUCING NUM
- Page 63 and 64: The thing which is put into the box
- Page 65 and 66: MIXTURES IN PRINTYou can print numb
- Page 67 and 68: INSTRUCTOR NOTES 11TAB AND DELAY LO
- Page 69 and 70: HOW BIG A SPACE CAN TAB( ) MAKE?The
- Page 71 and 72: INSTRUCTOR NOTES 12 THE IF COMMAND
LESSON 2COLOR AND THE KEYBOARDTurn your computer off, then on again. You are ready to start the lesson.MAKING A WHITE BACKGROUNDEnter PO KE 53281,1 The screen turns white.CAREFUL! The number has to be exactly 53281. If you use another number by mistake,the computer may get "sick" and you will have to turn it off, then on, to make it wellagain.MAKING RED LETTERSLook at the "3" key. There are three things written on it.The character "3" in the middle.The character "#" at the top.The word "RED" on the front of the key.<strong>Here</strong> are the three things this key can do:Press the "3" key. It prints 3.Hold down the SHIFT key and press "3". It prints #.Hold down the CTRL key and press "3". It changes the color.(CTRL is short for "control." The CTRL key helps control the color that is printed.)The cursor is red. Every letter we type will be red, too. Try it.20