Here - 1000 BiT
Here - 1000 BiT Here - 1000 BiT
THE INSERT KEYINST stands for "insert" which means "put in."When you hold down SHIFT and press INST, the computer sticks in a space to the left ofthe cursor, then moves the cursor onto it. Try this:20 PRINT "WHICH UP?"Now use the CRSR arrows to move the cursor onto the U. Then press the SHIFT INSTkeys four times. Then type WAY.INST is the opposite of DEL. After you have inserted a space, you may type a letterinto it.If you hold down the SHIFT and INST keys, the cursor whizzes along, inserting a lotof spaces.THE INSERT KEY GOES CRAZYAfter inserting spaces in a line, you may type letters, numbers, punctuation and graphicsinto the spaces and they will appear on the screen OK. But if you press the CRSR, CLR,HOME, DEL or color keys, you will see funny characters on the screen.52
Assignment 8:1. Just for practice in understanding the GOTO command, draw the road map for thisspaghetti program:10REM >>>FORKED TONGUE >>>20 GOTO 4030 PRINT "N"31 GOTO 6040 PRINT "S"41 GOTO 3050 PRINT "E"51 GOTO 9960 PRINT "A"90 PRINT "K"91 GOTO 5099 PRINT "BITE"2. Write a program which prints "TEEN POWER" over and over.3. How do you stop your program?»4. Write another which prints your name on one line, then a friend's name on the next,over and over. Print each name in a different color. Stop the program with theSTOP key.5. Write a program which uses each of these commands: PRINT, INPUT, LET, GOTO. Italso should glue two strings together and use two colors of letters.53
- 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 and 22: nINSTRUCTOR NOTES 2COLOR AND THE KE
- Page 23 and 24: There are eight colors on the numbe
- 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: A CAN OF SPAGHETTILook at this: 10
- 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
- Page 73 and 74: AN IF INSIDE AN IFThe "teenager" pr
- Page 75 and 76: 2. Here is another program. What wi
- Page 77 and 78: LESSON 13RANDOM NUMBERS AND THE INT
- Page 79 and 80: ROUNDING OFF NUMBERSPerhaps you kno
- Page 81 and 82: INSTRUCTOR NOTES 14SAVING TO TAPEWe
- Page 83 and 84: The computer automatically turned o
- Page 85 and 86: nnr^nnnnnr^nnLOADING A PROGRAM FROM
- Page 87 and 88: 5. We are ready to put in the next
- Page 89 and 90: n INSTRUCTOR NOTES 15 SOME SHORTCUT
- Page 91 and 92: AN INPUT SHORTCUTInstead of10 PRINT
- Page 93 and 94: WHEN TO USE THE COLON SHORTCUTUse t
- Page 95 and 96: But if we write this line in a prog
- Page 97 and 98: LESSON 16 MOVING PICTURESMOVING THE
- Page 99 and 100: Line 40 waits for you to see this b
- Page 101 and 102: LESSON 17FOR-NEXT LOOPSRemember the
- Page 103 and 104: LOOP VARIABLESTo make sure that eac
Assignment 8:1. Just for practice in understanding the GOTO command, draw the road map for thisspaghetti program:10REM >>>FORKED TONGUE >>>20 GOTO 4030 PRINT "N"31 GOTO 6040 PRINT "S"41 GOTO 3050 PRINT "E"51 GOTO 9960 PRINT "A"90 PRINT "K"91 GOTO 5099 PRINT "BITE"2. Write a program which prints "TEEN POWER" over and over.3. How do you stop your program?»4. Write another which prints your name on one line, then a friend's name on the next,over and over. Print each name in a different color. Stop the program with theSTOP key.5. Write a program which uses each of these commands: PRINT, INPUT, LET, GOTO. Italso should glue two strings together and use two colors of letters.53