← Apple II Elementary, My Dear Apple

Apple II Elementary, My Dear Apple

From the originals

26 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

PDF page 13

SUPERMATH Now you can practice adding, subtracting, multiplying, and dividing without using flash cards! The program will quiz you on your math skills. It will show you problems and ask you to solve them. SUPERMATH has four parts: addition, subtraction, multiplication, an division. Addition and subtraction can pose problems using numbers up to 999. Multiplication and division use numbers up to twelve. ,1:1 1 II "'""111 •5 E" I EIII c QUESTION NO PLEASE ENTER YOUR • 11 • ! Ol DON'T FALL m m i i i ill a ill ill ill I 11 I II The more questions you get right, the harder the next question will be. If you want, you can tell the program to quiz you on a certain number, and it'll use that number in every problem. If you can't solve a problem in 3 tries, the program will show you the answer and show you how to solve the problem step by step. The program lets you solve the addition and subtraction problems column by column, from right to left. Just type the digits of the answer as you figure them out, and press RETURN when you're finished. Many of the harder problems will have you carry or borrow. The biggest number the program will give you is 999, and the result of a subtraction problem is always a positive number. When you let the program quiz you in multiplication, it will give you problems up to 12 times 12, and ask you to type the answer in all at once, from left to right, and press RETURN. You can ask the program to let you try division problems, too. You can ask for problems with or without remainders. The biggest number the program will have you divide by is 12, and the program would like you to type the quotient (the answer) in all at once, from left to right, and press RETURN. If you ask for problems with remainders, then the program will ask you what the remainder is after you've typed the quotient. If you make a mistake while typing the answer to any problem, you can , use the left arrow key to back up and retype or erase the wrong numbers. When you've typed the answer correctly, press RETURN. The program will tell you whether your answer is right or wrong. If it's wrong, you'll get another chance to work the problem. If it's right, the program will show you another problem, a little harder than the last one. When you want to stop, just press the ESC key. !! Here's a game that's like good ol' Hangman, but with a difference. You are walking towards the edge of a cliff. The program will think of a word, and you will try to guess it, letter by letter. Each time you guess a letter that is not in the word, you take another step closer to the cliff. If you don't guess the word in time, you fall! The program knows more than a hundred words in thirteen different categories. When the program shows you the list of categories it knows, choose one by typing the number next to the name of the category and press RETURN. The program will then ask you what skill level you want to play at. There are three levels: Easy, Hard, and Expert. The skill level doesn't change how hard the words are, but changes how far away from the cliff you start. For "easy" questions, you start 13 steps away. For "hard" questions, you start 7 steps away, and for "expert" questions you start only 4 steps away from the cliff! Then the program will ask you whether you want it to play, too. If you let it play, then after you try to guess a word, it will ask you to type any word in the same category as the one you've chosen, and it will try to guess your word. See if you can fool the program and make it fall! When the program is ready to start, it will show you a picture of a person (that's you) walking towards a cliff, and some dashes, like this: There's one dash for every letter in the word. Guess a letter that you think is in the word, type it, and press RETURN. If your letter is in the word, the program will take away some of the dashes and put your letter there. If your letter isn't in the word, you take another step closer to the cliff! Too many wrong letters, and you fall! OUCH! 8 ELEMENTARY MY DEAR APPLE THE GAMES 9

Reading notes: Garbled characters in the source around the quiz screen and page header, such as ',1:1 1 II "'""111' and 'DON'T FALL'.

Printed product names
SUPERMATH
Languages
English
PDF page 14

PROGRAMMER'S CORNER: INSIDE DON'T FALL

ELEMENTARY MY DEAR APPLE CHAPTER 2 PROGRAMMER'S CORNER: INSIDE DON'T FALL DON'T FALL is a Shell Game. This means that like the other Shell Games (MR. MULTIPLE, THE MATCH MACHINE, and PROFESSOR TRUE, on the Apple diskette "The Shell Games", Apple part no. A2D0014), the program is actually a "shell" into which you can put your own information quickly and easily with the use of a special editor called the Problem Entry Editor. This editor allows you, in the case of DON'T FALL, to add, delete, or substitute different categories of words simply and painlessly. DON'T FALL, as well as the other Shell Games, is written in Apple Integer BASIC. Although there is no need for you to have an extensive knowledge of the BASIC programming language, you should at least be comfortably familiar with the editing features available in Apple BASIC. In particular, you should know how to use the left-arrow and right-arrow keys and how to move the cursor around the screen. These features are discussed in the Apple II BASIC Programming Manual. If you are very new to the Apple, you might wish to go over the sections of that manual that cover these topics before proceeding. (Don't let this advice dissuade or frighten you: the Shell Games Problem Entry Editor was designed specifically for new users with about ten hours of programming experience on the Apple.) If your Apple is equipped with the new Autostart ROM then if your diskette is booted auomatically when you turn your Apple on. The Autostart ROM gives you additional ways to move the cursor, as described in either the Applesoft Tutorial or the Autostart ROM Manual. GETTING INSIDE To start working on DON'T FALL, first get to the Elementary, My Dear Apple main menu and select option number 5, to END. When you see the Integer BASIC prompt symbol (the right arrowhead, ">") type LOAD DON'T FALL and press RETURN. After the red light on the disk drive turns off, type LIST 9010, 9014 Listing these lines will display a sample of the section of the DON'T FALL program that defines a category. These are the portions of the program with which you will be working when you create lists of your own, so be sure you understand what we are describing. PROGRAMMER'S CORNER 11

Reading notes: Apple part no. A2D0014 is a catalogue identifier rather than a product name Apple Integer BASIC and Applesoft are referenced but not all named as advertised products

Printed product names
Apple
Languages
English
PDF page 15

If you have the original program, here's what you will see: 9010 D1$="BIRDS,ROBIN,BLUEBIRD ,EAGLE, CROW,TURKEY,SEAGULL.BLUEJAY,DUCK ,CHICKEN,GOOSE,HAWK,SWAN,ROADRUN NER,WREN,CARDINAL,SPARROW" 9011 D2$="FLAMINGO,PARROT,CANARY,PENG UIN,STORK.PARTRIDGE,PEACOCK,OSTR ICH,PIGEON,DOVE.WOODPECKER,OWL,P ELICAN.HUMMINGBIRD": RETURN 9012 RIM 9013 REM 9014 REM It doesn't matter if you find different lines in your program. Just refer to these lines during the explanation. Once you understand these five lines and why they look as they do, you will have grasped most of what you need to know to write your own word lists. ANATOMY OF ALL SHELL GAMES _ The general anatomy of the problems is shared by all Shell Games. There are eight principles to that anatomy: 1. The first problem in all Shell Games can always be found beginning on line 9010. 2. All Shell Game word lists occupy exactly five consecutive lines: 9010 to 9014 for the first word list, 9015 to 9019 for the second word list, 9020 to 9024 for the third word list, and so on. The Shell Games use BASIC strings for holding your word lists. A string, as described in the Integer BASIC Programming Manual, is a series of characters surrounded by quotation marks. For example: NAME$="FRED", D1$="FL0WER AND TREES". Strings are simply a convenient way of storing words so you know where to find them. 3. You have five empty strings you can fill for each problem. (You may not need all five.) They are called Dl$, D2$, D3$, D4$, and D5$. 4. You must use Dl$ for EVERY list. DON'T FALL knows it has finished with a category when it finds a Dl$ with nothing in it. 5. Although you only use as many of the five strings as you need, the strings you use must be in ascending order—that is, D4$ may not be followed by D3$. It is not necessary to use each string in order, however: you may, for example, use Dl$, D2$, and D4$ for a given problem without using D3$ at all. 12 ELEMENTARY, MY DEAR APPLE • | ill ft in • i in I II! •' 111 w m i mi i mi i to i in i m l ! H I r m i to r i n ; E III | II II We will talk more about what information you place inside the strings after completing our description of the external structure of the lines. Please keep in mind that we are still discussing things that all the Shell Games have in common. 6. There is always a RETURN statement following the last string used— in this case, a :RETURN on line 9011. But it would be equally effective as 9012 RETURN or the RETURN could be on line 9013 or 9014—anywhere will do, as long as the RETURN appears after the last string. 7. All line numbers must be used. So—after you have typed your list into the strings, and after you have put in a RETURN statement— if you have any unused lines remaining, enter each of those line numbers followed by REM and a carriage return, just as was done on lines 9012 through 9014. It isn't necessary to type any spaces or other characters after the word "REM". 8. The final feature of all Shell Games is that the last category or "problem" is not really a problem at all. It is a "dummy" RETURN statement consisting of the line number that ordinarily would have been the first line of the next problem, with nothing on it but the word "RETURN". It is called the Data Table Terminator and its line number is always a multiple of 5. Example: 9085 RETURN This completes our discussion of the external anatomy of all Shell Games. We will now look at the structure of a DON'T FALL word list and then enter a new word list into the program. THE DON'T FALL WORD LIST Each word list in the DON'T FALL program consists of the following: 1. The category name as it will appear on the menu. 2. As many words in that category as you can: a. think up, and b. fit in five strings. The category name and each word in the list is separated from the next word by the special symbol, comma (,). You should not enter extra spaces. Instead of writing ROBIN, BLUEBIRD, CANARY you should instead enter ROBIN.BLUEBIRD.CANARY all scrunched up. If you have a two-word name, like Flying Squirrel, type the space between the two words just as you normally would: BADGER,FLYING SQUIRREL,FOX PROGRAMMER'S CORNER 13

Reading notes: Source contains OCR-style line breaks mid-word (e.g., ROADRUN NER, PENG UIN) and possible character errors such as SEAGULL.BLUEJAY and OSTR ICH, which may need verification. Reading order of the page is uncertain due to interleaved program listing text and page headers.

Languages
English
PDF page 16

You should think of the five strings, Dl$ through D5$, as really being one continuous string of characters which happens to be broken into five parts. When DON'T FALL absorbs a word list, it ties the strings together again into one piece, so it really doesn't care how you have divided them. The only rule you must observe, in dividing up your word list among the strings, is that breaks between strings always occur between words, where you would normally be placing a comma. DON'T FALL doesn't care whether you include the comma at the end of the string. SPECIAL WORD LISTS There's a special kind of word list that you can use. When you choose to play DON'T FALL with a category that uses one of these special word lists, you will be required to guess all of the words in that category, in order, before DON'T FALL will stop. The Apple doesn't get to play DON'T FALL when you choose a special category, but it will print out a hint for each word you have to guess. To remind you of which categories are special, DON'T FALL will print an asterisk (*) after the names of all special categories. On your DON'T FALL diskette, category 13, SPELLING *, is special. A special word list is constructed just like a normal word list, except that the name of the category is preceded by a pound sign (#). After each word, you can also add an at-sign (@) followed by the hint you want DON'T FALL to print for that word. Follow the hint with a comma, just as in a normal word list. Notice that the more hints you give, the fewer words you can include. For example, the DON'T FALL category called SPELLING is constructed like this: 9070 D1$="#SPELLING,APPLE@A GREEN FRU IT,SALAMANDER@A SLIMY LIZARD" 9071 D2$="ICE CREAM0A COLD DESSERT,CH AIR@YOU SIT ON IT,LETTERS0POSTME N CARRY THESE,DOG@MAN'S BEST FRI END" 9072 RETURN 9073 REM 9074 REM The pound sign in front of the title SPELLING tells DON'T FALL that this is a special word list. A word is separated from its hint by an at-sign; each word-hint pair is separated from the next by a comma. When DON'T FALL asks you to guess a word from a special category, after it asks you to PLEASE GUESS A LETTER, instead of saying AND PRESS THE 'RETURN' KEY it will print the hint that's associated with the word. You have to guess all of the words in the category before you can stop playing. 14 ELEMENTARY, MY DEAR APPLE m | in m ill m < II » ' ill ft > ill ft 111 ft III •' ID ft III ft 111 • III ft u m III ft! II ft II ft II ft p ft ft: M ft! ill ft ill ft us ft ill fti Hi Teachers might want to use these special categories to store weekly spelling lists, with which students could quiz themselves while playing DON'T FALL. THE PROBLEM ENTRY EDITOR Now you are going to learn how to enter a new category. You are going to create a category named Rivers. Inside DON'T FALL is a hidden program called the Problem Entry Editor, designed to make problem entry as simple as possible. If you haven't LOADed the DON'T FALL program, do so now, as described above in the section "GETTING INSIDE". To get to the Problem Entry Editor, type RUN 2 ENTERING A NEW CATEGORY You are now in the Problem Entry Editor. Select 1) ENTER A NEW PROBLEM from the menu. The first thing that occurs is that DON'T FALL leafs through all the first lines of the existing categories, looking for the Data Table Terminator line: the first line of a problem (an even multiple of five) containing only a RETURN statement. The program knows it has found the Data Table Terminator because DI$, which was emptied just before jumping to the problem, is still empty on return. (This is why it is always necessary to use Dl$ in every word list.) The second thing that usually happens is that the Apple will ask you to copy over a couple of lines, pressing the RETURN key at the end of each, as seen in this photograph: The cursor will be positioned at the beginning of the first line. Just use the forward arrow key to move across each character, until you reach the space just before the black-on-white arrow. Then press the PROGRAMMER'S CORNER 15

Reading notes: OCR-garbled characters in the numbered program listing block (e.g., 'm | in', 'ft III') make the exact content of that section uncertain. Reading order around the photograph reference and page footer ('PROGRAMMER'S CORNER 15') is unclear.

Languages
English
PDF page 17

RETURN key. The cursor will disappear for a moment and then appear at the beginning of the next line. Step through the second line using the forward arrow key and again press the RETURN key just before the black-on-white arrow. As the new category will be entered at the end of the data table, beginning on the line now occupied by the Data Table Terminator, you need to write a new Data Table Terminator five lines further ahead. That is what you just did by copying over those lines with the forward arrow key. The reason the Problem Entry Editor doesn't always stop and ask you to copy lines is that there may already be a RETURN statement five lines ahead. Data Table Terminators tend to get left lying around rather casually. The program doesn't mind—as long as there's one, there may be a hundred. After copying over the lines, you will be presented with a choice at the bottom of the screen: <ESC> FOR EDIT, <RETURN> TO MENU If you reach this point accidentally, you can press the RETURN key to return to the Problem Entry Editor menu. Since you have come this far intentionally, press the ESC key. Here's what you'll see: (If the line numbers do not correspond, you simply have a version of the program with more or fewer categories already entered. The specific line numbers you see are unimportant.) The Problem Entry Editor has laid out the five strings in their maximum size and placed the cursor at the beginning of the first line. You're given a scant four lines for each string, at the end of which is the close-quote, followed by a white rectangle. The second quotation mark is there to indicate the absolute maximum length the string may be; it is rare that your word list will fit exactly. You may enter less than the maximum length by simply closing the string: type a quotation mark, then press the RETURN key. In no case may you go beyond the quotation mark. If you do, you will receive a *** TOO LONG ERR message and have to re-enter the line. 16 ELEMENTARY MY DEAR APPLE • lit m Ml m ill B 11: B 9 !i B 11! B Ill B Hi B 111 m o i 11! m u m IE B UJ B = I I I i= 1! m I I ! 1 M • 10 Br HI •: ill m 11 R m Br If you use all five strings, then the last string must be followed by the RETURN statement; this is why it is shorter than the other four. Keep in mind that displaying these maximum string sizes and the RETURN statement on the last line is just a way of reminding you of the limitations and requirements. In actual operation you will usually need fewer than the maximum number of strings and less than the maximum string length, and you may put the RETURN statement anywhere as long as it follows the last string you actually use. You may now proceed to enter the new category. The title to appear on the menu is RIVERS and you will want the following list of rivers: Nile, Mississippi, Amazon, Yangtze, Thames, Volga, Danube, Po, Ganges, Mekong, Colorado, Columbia, Congo, Zambesi, Orinoco, Irrawaddy, Limpopo. To enter the list, first press the forward arrow key repeatedly to move the cursor just beyond the first quotation mark on the first line. Then start typing in the list, starting with the title, Rivers. For example, you might enter: 9075 DI$="RIVERS,NILE.MISSISSIPPI,AMA ZON,YANGTZE,THAMES,VOLGA,DANUBE" Since you didn't fill the entire allotted space in the string, be sure to include the closing quotation mark after the last character and press the RETURN key. If the cursor isn't at the beginning of the next numbered line, press the backward arrow key repeatedly. This will move the cursor down one row at a time until it is on top of the 9 in 9076. Remember this technique: whenever the cursor is at the left edge of the screen and you wish to move it down the screen a line at a time, use the backward arrow key. Now that you have positioned the cursor on the line you want it on, space it forward with the forward arrow key until it is just past the opening quotation mark on the line. Then continue typing: 9076 D2$="P0,GANGES.MEKONG,COLORADO,C OLUMBIA,CONGO,ZAMBESI" 9077 D3$="ORINOCO,IRRAWADDY,LUMPOPO" (Notice that the last river name is misspelled. Don't worry; type it this way and you'll find out later how to correct it.) 9078 RETURN 9079 REM You could have crowded almost the entire category into the first string, but you may wish to come back at a later time and lengthen the title, add new river names, or make other changes that require increasing the amount of material. This will be far easier to do if you have left some room. PROGRAMMER'S CORNER 17

Reading notes: Garbled OCR characters in the line-number column (e.g., 'lit', 'Ml', 'm ill') in the middle of the source text Line-number and character listing near '16 ELEMENTARY MY DEAR APPLE' is partly unreadable

Languages
English
PDF page 18

Normally, the next thing you would do would be follow the screen's advice to RUN 2, but don't do so now; we haven't covered any of the other features of the Problem Entry Editor yet. Check over the lines you have entered for accuracy and then type RUN to RUN the program and see your work revealed. If there are any problems, you may wish to refrain from correcting them until you have read the next section on editing. As you can see, the Problem Entry Editor makes new problem entry easier by finding the proper location for the next problem, doing some of the typing for you, and providing end-of-string and don't-forget-the- RETURN-statement reminders. But it takes time for the Problem Entry Editor to find the location of the next new problem. If you are entering an entirely new set of categories all at once, you could delete the entire data table by typing DEL 9010,9999 and you may find it a lot faster not to use the Problem Entry Editor. If you are doing all new categories, you know on which line the next category will begin, and it can often be faster to enter it "by hand", perhaps using the AUTO command to supply you with line numbers. (See the Apple II BASIC Programming Manual). Try it both ways and see which you prefer. EDITING AN EXISTING CATEGORY If you have been following along on the computer, you will now have a river named the Lumpopo. Unfortunately, no one else in the world has ever heard of such a river. The proper spelling, as Rudyard Kipling would quickly tell you, is Limpopo. The Problem Entry Editor makes it easy to fix this mistake. Type RUN 2 to enter the Editor. Select 2) EDIT CURRENT PROBLEM from the menu and press the RETURN key. 18 ELEMENTARY MY DEAR APPLE Ei < III! EJ II! Ei III! i n Ei Illl e oi ii O I ill E U!i zr Ei II jj i > m t j , n ii it; r m i £ If! fci m if i t- m The category you entered earlier is displayed and you are given the option of entering edit mode or returning to the menu. Since you wish to edit, press the ESC key, as indicated at the bottom of the screen. The screen now appears like this: The lines have been moved over so that there are no extra spaces on the left, relieving you of having to leapfrog over them. The cursor has been placed at the beginning of the first string. You may enter as much text as will fit between the beginning of each string and the small white rectangle—in fact, the cursor can appear on top of the first block of the small rectangle when you press RETURN. The word list you are entering falls safely short of these maximums. Since you wish to edit the third line, use the backward arrow key, as described above in the section "ENTERING A NEW CATEGORY", to move the cursor down one row at a time until it is on top of the 9 in 9077. Then press the forward arrow repeatedly until the cursor is resting over the U in LUMPOPO. Type the letter I in place of the U and then press the forward arrow repeatedly until it is on top of the first space following the quotation mark. Then press the RETURN key. The new line has now replaced the original. You may now either type RUN 2 or backspace to the bottom line and copy over RUN 2 with the forward arrow. Either way, press the RETURN key and you will be returned to the Problem Entry Editor menu. During the time that you are editing a problem or entering a new one, you are not being controlled by the Problem Entry Editor. The Editor has set up the screen and printed reminders to guide you, but you are essentially talking directly to the Apple. At this point, it is important to know how to use the Apple editing features: the forward and backward arrow keys and the various ESC sequences—ESC-A, ESC-B, and so forth. With them, you can do extensive editing of problems with speed and ease. Take the time to practice until you become proficient. PROGRAMMER'S CORNER 19

Reading notes: Possible OCR column-mixing around the stray glyph block near 'ELEMENTARY MY DEAR APPLE' and the 'PROGRAMMER'S CORNER' page marker Screen-dump lines between 'The Editor has set up the screen' and 'The cursor has been placed' are garbled and their reading order is uncertain

Printed product names
Apple II BASIC Programming Manual
Languages
English
PDF page 19

If, while entering or editing data, you find the screen becoming cluttered, or you get an error message that is covering up part of what you are doing, type RUN 2 again and select 2) EDIT CURRENT PROBLEM from the menu. This will clear the screen and redisplay the lines you have already entered. BACK TO THE MAIN PROGRAM Now you can check that the word list is working properly. To do so, select 3) GO TO GAME from the Problem Entry Editor menu. This selection will cause the program to run in the normal way, beginning at the category selection, except that you have the option of instantly returning to the Problem Entry Editor at any time simply by pressing the ESC key. You may now play the game to confirm that all is well, or you may just select a category, skill level, and number of players, and then press the ESC key to return to the Problem Entry Editor. We will not be referring to this newly entered word list again. If you are tired of reading and will want to come back later, you need not keep the program in the computer any longer. You can LOAD the original version again later. If you wish to keep this version of the program containing the new category, you may now SAVE it the same way you SAVE any other program you have written. SEARCHING FOR A CATEGORY One of the prime reasons for the creation of the Problem Entry Editor was the difficulty of trying to find a particular word list somewhere in the middle of the data table. Listing forty or fifty problems in order to find the one with a typographical error in one word can be most tedious. There are two features of the Problem Entry Editor that were designed to alleviate this problem. First, in all the Shell Games, the Problem Entry Editor is always aware of where you are in the program. Exit the Problem Entry Editor by selecting 7) END from the menu and type RUN Select category 10 from the menu and begin guessing the word. You might be playing this game and suddenly discover that BAGPIPE is spelled BIGPIPE. Stop the program by typing a CTRL-C, then type RUN 2 The Problem Entry Editor indeed knows you are working on category 10 and is prepared to set up the program lines in that category for editing, as you can see by the second selection on the Problem Entry Editor menu. 20 ELEMENTARY MY DEAR APPLE Of course, there will be occasions when you do not wish to edit the particular problem you have been displaying. So the Problem Entry Editor has a search feature to allow you to find the word list you do wish to work on. Select 4) SEARCH FOR PROBLEM TO BE EDITED You may begin your search from one of three places: the beginning, the current problem, or the end of the table. When looking for a particular word list, make your best guess as to which of these three locations is closest to the word list you're looking for, and select that option. Beginning your search from 3) THE END OF THE DATA TABLE is the most fun, so select that now. The Problem Entry Editor just went forward from the previous current problem to the the Data Table Terminator. The line you are looking at is the Terminator: a line number that is an even multiple of five with only a RETURN statement after it. Pressing the backward arrow key will move you back to the last word list. By using the backward and forward arrow keys to move backward and forward through the categories, coupled with the REPT key for speed, you can quickly find any word list. Notice, however, that for speed and clarity only the first line of each list is displayed. Once you have found the word list you wish to edit or display, press the RETURN key. This will take you back to the main Problem Entry Editor menu. The Problem Entry Editor will now consider the word list you were viewing at the time you pressed RETURN to be the new current problem and you can view or edit it. VERIFYING THE DATA TABLE As simple as the structure of the word lists may now seem, it is quite easy when entering a lot of categories to make mistakes, such as not terminating each list with a RETURN statement or forgetting the Data Table Terminator. Some of the errors created by these minor slips can be very difficult to understand. Not having a RETURN statement at the end of a problem, for example, will cause the next problem to occur twice! Since it is the computer's job to be concerned with such matters, the task of checking for errors in the form of the data table has been automated. Your Apple will do it for you if you select 5) VERIFY DATA TABLE FORMAT If there are any problems, the Problem Entry Editor will announce exactly what they are and help you correct them, usually printing out the corrected lines and asking you to copy them with the forward arrow key, as you did earlier in entering a new word list. After you have made the correction, the Problem Entry Editor will verify that you have done it properly, asking you to do it again if it is wrong. PROGRAMMER'S CORNER 21

Reading notes: Source appears to be a computer programming manual page with line-numbered header; primary heading is not clearly identified. Hyphenated line breaks and irregular spacing from extraction may affect exact word reading.

Languages
English
PDF page 20

The only type of error to which the computer cannot dictate a correction is a missing RETURN statement. If you have forgotten the RETURN statement at the end of a word list, the Problem Entry Editor will tell you so and display the list that lacks the RETURN statement, leaving you in edit mode. You may enter a RETURN statement following the last string used and thus resolve the problem. Afterwards, return to the Problem Entry Editor and verify that the data table is now correct. When all the word lists are fixed up, the Editor will give your data table a clean bill of health and announce that you should press the RETURN key to return to the menu. REPLACING OLD CATEGORIES To replace one list with another, search for the list you wish to replace, select 2) EDIT CURRENT PROBLEM and delete the lines of the old word list. Then re-enter the Problem Entry Editor and select 1) ENTER A NEW PROBLEM The empty strings will be displayed and you may proceed to enter your new list. If this is your first time through the Problem Entry Editor procedure, remember that you must actually enter a new list—you may not leave a gap in the data table! If you do, you are breaking two of the cardinal rules of the Shell Games: all Shell Game problems occupy exactly five lines, and all line numbers must be used. INSERTING AND DELETING LISTS Although it is possible to insert and delete problems from Shell Game data tables, these are not tasks for a brand-new programmer. Unless you are fairly experienced, it is suggested that you skip this section. You can make full use of the Shell Games without doing any insertions and deletions. Both insertion and deletion depend on the Integer BASIC RENUMBER program. This program resides in the Programmer's Aid #1 ROM card and can also be found on an Apple Software Bank diskette, Contributed Programs Volume 5, both available from your Apple dealer. Instructions for using the RENUMBER program are provided with these products. For each new word list you wish to insert, renumber the data table starting from the point where the new category will begin and ending at line number 9990 with an increment of one, freeing five lines for your insertion. To delete a word list, delete its lines and then renumber starting from the beginning of the next list and ending at 22 ELEMENTARY MY DEAR APPLE line number 9990 with an increment of one, using up the five lines that are left free. For example, to insert a list before category 5, which currently resides from line 9030 to 9034, you would give these commands to RENUMBER: CLR START = 9035 STEP = 1 FROM = 9030 TO = 9990 CALL <central memory address for renumbering a program> Conversely, to delete category 5, enter: DEL 9030, 9034 CLR START = 9030 STEP = 1 FROM = 9035 TO = 9990 CALL Ccentral memory address for renumbering a program> The specific CALL address you will use depends on which version of RENUMBER (RAM or ROM) you are using and, in the case of the RAM version, where you have located the program. Consult the instructions supplied with the RENUMBER program for the address of the CALL. This insertion and deletion scheme depends upon each and every line in the data table being used, so compression won't occur. If only four lines were used for a category, the next category's first line would suddenly become the last line of the previous list, creating chaos and confusion. This is the reason for requiring each line number to be used and for the menu selection 6) VERIFY TABLE FORMAT TO ALLOW RENUMBER which, in addition to checking everything covered by selection 5, also confirms that all line numbers are used. If any unused lines are discovered, the program will print the lines that need to be corrected and ask you to copy them. WARNING: It is vital that you do this verification before attempting to insert or delete, as "decompression" is frustrating and time- consuming. LEAVING THE EDITOR Selecting 7) END is the preferred way to exit from the Problem Entry Editor, as it will remind you to save the program if you have made any changes. PROGRAMMER'S CORNER 23

Reading notes: Running page header text ('ELEMENTARY MY DEAR APPLE') appears mid-text, possibly affecting reading order. Garbled character in CALL line: 'Ccentral memory address' appears to be a typo for 'central memory address'.

Printed product names
Programmer's Aid #1 ROM card · Apple Software Bank diskette, Contributed Programs Volume 5
Languages
English
PDF page 21

WARNING: Not saving your program will changes and additional word lists you result in the loss of all the have entered. AN IMPORTANT FRINGE BENEFIT When a Shell Game is ended, it is deleted and the INDEX program is RUN. This is most distressing if you have changed one or more problems but have not yet saved the new version, as it will suddenly cease to exist. When you type RUN 2 the first thing that occurs is that this return-to-INDEX routine is disabled so you can save at your leisure. When you are completely through with the program, you may type RUN INDEX to reconnect the INDEX program and return to normal operation. There are also other more subtle protective measures taken to protect your work from harm, so it is a good idea always to enter the Problem Entry Editor at least momentarily before working on the program, even if you will be entering problems "by hand". 24 ELEMENTARY MY DEAR APPLE INDEX A adding 8 Address 22 Apple Integer BASIC 10 asterisk 13 at-sign 13 AUTO 17 Autostart ROM 10 B BASIC 10 Renumber 21 Strings 11 c CALL address 22 category 10 D DARTS 1, 3 Data Table End 20 Format 20 Data Table Terminator 12, 14, 15, DEL 17 DELETE 17 Deleting lists 21 denominator 3 dividing 8, 9 Dn$ 11, 12 DON'T FALL 1, 9, 10, 11 word list 12 DOS 2 E EDIT CURRENT PROBLEM 17 END 22 END OF THE DATA TABLE 20 ENTERING A NEW CATEGORY 18 Error 15, 21 ESC 4, 8, 9, 15, 18, 19 EXIT see Leaving F Format 20 Fractions 3 G GO TO GAME 19 H Hangman 9 hint 13 I INDEX 23 Inserting lists 21 Integer BASIC 10 Integers 3 J K L LEAVING the Editor 22 LEMONADE 7 line numbers 15 LOAD 14, 19 LOCK 6 M main menu 5, 10 mixed numbers 3 multiplication 8, 9 Music 5 N number lines 3, 4 numerator 3 O INDEX

Reading notes: Index entries are fragmentary and column-broken, so some page references and word ordering are uncertain. Some characters and line breaks in the copy are irregular, making exact reading order uncertain in places.

Printed product names
Shell Game · Apple Integer BASIC · DOS
Languages
English
PDF page 22

p w pound sign 13 Problem Entry Editor 10, 14, 15, 17, 20 Q QUIT see Leaving quotient 9 R Remainders 9 Renumber 21,22 REPLACING OLD CATEGORIES 21 RESET 2 RETURN statement 12, 14, 15, 16, 17, 20, 21 RUN 17, 19, 23 RUN 2 14, 17, 18, 19, 23 s SAVE 6, 19 Search 20 SEARCH FOR PROBLEM TO BE EDITED 20 Shell Games 10, 11, 12, 21 Spelling 13, 14 Strings 15 Subtraacting 8 SUPERDARTS 4 SUPERMATH 8 T Table Format verify 22 TOO LONG ERROR 15 u UNLOCK 6 V Verify 20, 22 Table Format 22 Data Table 20 Whole numbers 3 Word Lists 12, 13, 16 X.Y.Z SYMBOLS * 13 # 13 @ 13 26 ELEMENTARY, MY DEAR APPLE f! \ t 51 i i [ i i i S i § i I 1 i W E U I Hi m IB m m

Reading notes: Index-style text with fragmented entries and page numbers; reading order is unclear. Several OCR-like damaged or garbled characters in the symbol and letter fragments near the end. 'Shell Games' appears as a heading-style entry, not clearly a product name.

Printed product names
SUPERDARTS · SUPERMATH · SHELL GAMES
Languages
English
PDF page 23

A spiral-bound notebook spread with blank cream pages on both sides and a central metal wire binding, with very faint, mostly illegible ghosted marks visible on the left page.

Reading notes: Faint ghosted text on the left page is too washed out to transcribe reliably; no legible copy could be confirmed. Possible faint printed lines or marks on the left page were not confirmed as text.

PDF page 24

apple computer inc. 10260 Bandley Drive Cupertino, California 95014 (408) 996-1010 030-0114-00

A cream-colored spiral-bound page with a blank upper area, a row of spiral binding rings along the right edge, and the rainbow Apple logo with the wordmark 'apple computer inc.' and address block near the bottom.

Reading notes: Part number 030-0114-00 at bottom is small and may be imprecise at scan resolution.

Languages
English