Compucolor.org – Virtual Media

Listing of file='MENU.BAS;01' on disk='vmedia/execugraph_instructions-sector.ccvf'

200 PLOT 6,2,12,15,29,3,14,5:PRINT "INSTRUCTIONS FOR THE USER OF THE"
210 PLOT 3,21,9:PRINT "EXECUGRAPH PACKAGE"
220 PLOT 3,17,11:PRINT "WRITTEN BY MOIRA CASTELLINI"
230 PLOT 3,9,16:PRINT "COMMENCING OPTIONS"
240 PLOT 3,6,18:PRINT "A) COMMENCE FULL INSTRUCTIONS - PRESS RETURN KEY"
250 PLOT 3,6,20:PRINT "B) INSTRUCTIONS FOR DATABASE SECTION - PRESS RETURN KEY"
260 PLOT 3,6,22:PRINT "C) INSTRUCTIONS FOR DISPLAY SECTION - PRESS C THEN RETURN"
270 PLOT 3,8,25:PRINT "FURTHER OPTIONS WILL BE OFFERED AS WE PROGRESS THROUGH"
280 PLOT 3,8,26:PRINT "THE INSTRUCTIONS"
290 PLOT 21,2,18,118,242,18,70,100,70,100,118,18,118,255
300 PLOT 3,24,30:INPUT "YOUR CHOICE ?   ";T$
310 IF T$= "C"THEN GOTO 6000
2150 PLOT 12
2200 PLOT 6,2,12,15,29,3,8,4:PRINT "THE EXECUGRAPH CONSISTS OF TWO PROGRAMS NAMED"
2210 PLOT 3,8,6:PRINT "DISPLAY AND DATABASE.  THE DATABASE ALLOWS"
2220 PLOT 3,8,8:PRINT "CREATION OF PERMANENT DATA FILES WITH THE ABILITY"
2230 PLOT 3,8,10:PRINT "TO EDIT, UPDATE AND TO PRODUCE HARDCOPY OF THOSE"
2240 PLOT 3,8,12:PRINT "FILES.  THE DISPLAY PLACES A BLANK GRAPH ON THE"
2250 PLOT 3,8,14:PRINT "SCREEN AND THEN AWAITS THE USERS INSTUCTIONS"
2260 PLOT 3,8,16:PRINT "AS TO WHAT DATA TO DISPLAY ON THE GRAPH.  THE"
2270 PLOT 3,8,18:PRINT "DATA CAN BE DISPLAYED IN DIFFERENT FORMATS AS"
2275 PLOT 3,8,20:PRINT "WE WILL SEE, WHEN WE STUDY THE DISPLAY PROGRAM."
2280 PLOT 3,19,27:PRINT "PRESS RETURN TO CONTINUE"
2290 PLOT 3,46,27:INPUT "";T$
2300 PLOT 6,2,12,15,29,3,7,2:PRINT "THE DATABASE PROGRAM IS USED ONLY WITH DATA"
2310 PLOT 3,7,3:PRINT "THAT IS REQUIRED TO BE STORED.  ALL DATA IS"
2320 PLOT 3,7,4:PRINT "STORED IN A FILE.  THERE ARE EIGHT OPTIONS"
2330 PLOT 3,7,5:PRINT "IN THE DATABASE PROGRAM:-"
2340 PLOT 3,11,7:PRINT "1  UPDATING AN EXISTING FILE"
2350 PLOT 3,11,9:PRINT "2  CREATING A FILE"
2360 PLOT 3,11,11:PRINT "3  EDITING AN EXISTING FILE"
2370 PLOT 3,11,13:PRINT "4  DELETING AN EXISTING FILE"
2380 PLOT 3,11,15:PRINT "5  OBTAINING A HARDCOPY PRINTOUT"
2390 PLOT 3,11,17:PRINT "6  LISTING A DIRECTORY OF EXISTING FILES"
2400 PLOT 3,11,19:PRINT "7  CHANGING AN EXISTING FILE'S NAME"
2410 PLOT 3,11,21:PRINT "8  RETURN TO DISPLAY PROGRAM"
2420 PLOT 3,7,23:PRINT "BEFORE WE DISCUSS THE OPTIONS LET US UNDERSTAND THE "
2430 PLOT 3,7,24:PRINT "REQUIREMENTS OF THE DATA AS WE WILL BE REFERING"
2435 PLOT 3,7,25:PRINT "TO IT FREQUENTLY."
2440 PLOT 3,17,28:PRINT "PRESS RETURN TO CONTINUE"
2450 PLOT 3,44,28:INPUT "";T$
2460 PLOT 12
2510 PLOT 3,7,2:PRINT "EACH ITEM OF DATA CONTAINS TWO ENTRIES, ONE"
2520 PLOT 3,7,3:PRINT "REPRESENTING A SEGMENT OF TIME, EITHER MONTHLY,"
2530 PLOT 3,7,4:PRINT "QUARTERLY OR YEARLY AND THE OTHER A NUMERICAL"
2540 PLOT 3,7,5:PRINT "REPRESENTATION OF ANY UNIT YOU WISH TO USE."
2550 PLOT 3,7,7:PRINT "WHEN MONTHLY IS SELECTED THE TIME IS EXPRESSED IN"
2560 PLOT 3,7,8:PRINT "A MONTH/YEAR FORMAT.  E.G. 9/82 IS SEPTEMBER 1982."
2570 PLOT 3,7,10:PRINT "WHEN QUARTERLY IS SELECTED THE FIRST PART OF THE"
2580 PLOT 3,7,11:PRINT "EXPRESSION WILL BE A 1, 2, 3 OR 4 REPRESENTING"
2590 PLOT 3,7,12:PRINT "EACH QUARTER OF THE YEAR.  E.G. 2/82 IS THE QUARTER"
2600 PLOT 3,7,13:PRINT "COMMENCING APRIL 1982."
2610 PLOT 3,7,15:PRINT "WHEN YEARLY IS SELECTED THE PREFIX WILL BE A 1."
2620 PLOT 3,7,16:PRINT "E.G. 1/82 REPRESENTS THE YEAR 1982."
2625 PLOT 3,7,18:PRINT "THE TIME SEGMENT FOR THE PERIOD IS SELECTED BY TYPING "
2630 PLOT 3,7,19:PRINT "M, Q OR Y."
2650 PLOT 3,7,22:PRINT "THE UNITS CAN BE POSITIVE, NEGATIVE, REAL OR INTEGER."
2660 PLOT 3,10,25:PRINT "A MAXIMUM OF 78 ITEMS OF DATA IS ALLOWED."
2670 PLOT 3,17,28:PRINT "PRESS RETURN TO CONTINUE"
2680 PLOT 3,44,28:INPUT "";T$
2700 PLOT 6,2,12,15,29,3,17,3:PRINT "CREATING A FILE"
2710 PLOT 3,4,7:PRINT "ON SELECTING THIS OPTION THE FOLLOWING REQUESTS"
2720 PLOT 3,4,8:PRINT "FOR INFORMATION WILL APPEAR."
2730 PLOT 3,38,10:PRINT "EXAMPLE!!!"
2740 PLOT 3,10,12:PRINT "TILE ............ _";SPC( 9);"CAR SALES"
2750 PLOT 3,10,14:PRINT "FILE NAME........";SPC( 11);"CARSAL"
2760 PLOT 3,10,16:PRINT "PERIOD ..........";SPC( 11);"M"
2770 PLOT 3,10,18:PRINT "STARTING DATE....";SPC( 11);"7/82"
2780 PLOT 3,10,20:PRINT "UNITS TITLE......";SPC( 11);"THOUSANDS"
2790 PLOT 3,4,23:PRINT "THE TITLE AND UNITS TITLE CAN BE UP TO TWENTY SYMBOLS LONG."
2800 PLOT 3,4,24:PRINT "THE FILE NAME CAN BE UP TO SIX CHARACTERS LONG, CONTAIN NO"
2810 PLOT 3,4,25:PRINT "BLANKS OR PUNCTUATION MARKS AND IF ONLY ONE CHARACTER"
2820 PLOT 3,4,26:PRINT "CANNOT BE JUST A NUMBER.  EACH TIME THE RETURN KEY IS"
2830 PLOT 3,4,27:PRINT "PRESSED THE CURSOR WILL MOVE TO THE NEXT LINE."
2850 PLOT 3,17,30:PRINT "PRESS RETURN TO CONTINUE"
2860 PLOT 3,44,30:INPUT "";T$
2900 PLOT 6,2,12,15,29,3,19,1:PRINT "CREATING A FILE (CONTINUED)"
2910 PLOT 3,5,3:PRINT "ONCE THE FILE INFORMATION HAS BEEN ENTERED THE PHRASE"
2920 PLOT 3,5,4:PRINT "O.K. TO PROCEED(Y/N) WILL APPEAR.  IF N IS PRESSED THE"
2930 PLOT 3,5,5:PRINT "ENTRIES WILL BE ERASED AND YOU CAN REINPUT THE INFORMATION."
2940 PLOT 3,5,6:PRINT "PRESSING Y OR RETURN WILL PROMPT YOU WITH A DATA ENTRY"
2950 PLOT 3,5,7:PRINT "TABLE AS BELOW WITH THE FIRST TIME UNIT YOU SELECTED."
2960 PLOT 3,5,8:PRINT "ENTER THE NUMERIC VALUE THEN PRESS RETURN.  THE NEXT TIME"
2970 PLOT 3,5,9:PRINT "UNIT WILL APPEAR.  CONTINUE UNTIL ALL DATA IS ENTERED THEN"
2980 PLOT 3,5,10:PRINT "PRESS RETURN TWICE TO EXIT FROM INPUT."
2990 PLOT 3,6,13:PRINT "7/ 1982..._"
3000 PLOT 3,5,19:PRINT "ON EXITING INPUT A FILE SUMMARY WILL APPEAR FOLLOWED"
3010 PLOT 3,5,20:PRINT "BY AN  O.K. TO SAVE ON DISK?.  TYPING Y OR RETURN WILL"
3020 PLOT 3,5,21:PRINT "SAVE THE FILE, WHILST TYPING N WILL RETURN YOU TO THE"
3030 PLOT 3,5,22:PRINT "DATABASE OPTIONS (MENU) WITHOUT SAVING THE FILE."
3040 PLOT 3,12,26:PRINT "THAT WAS SIMPLE WASN'T IT.  NOW SUPPOSE WE"
3050 PLOT 3,12,27:PRINT "WANT TO ADD TO THAT FILE.  WE NEED TO USE"
3060 PLOT 3,12,28:PRINT "THE UPDATE OPTION."
3070 PLOT 3,21,30:PRINT "PRESS RETURN TO CONTINUE"
3080 PLOT 20,2,6,58,242,6,82,42,82,42,58,42,82,78,82,78,58,78,82,114,82,114,58,255
3090 PLOT 20,2,6,58,242,6,82,42,82,42,58,42,82,78,82,78,58,78,82,114,82,114,58,255
4000 PLOT 3,47,30:INPUT "";T$
4100 PLOT 6,2,12,15,29,3,14,1:PRINT "UPDATING AN EXISTING FILE"
4110 PLOT 3,4,3:PRINT "THE SCREEN PROMPT ON SELECTING THIS OPTION WILL APPEAR"
4120 PLOT 3,4,4:PRINT "AS BELOW:"
4130 PLOT 3,19,9:PRINT "UPDATE FILE"
4140 PLOT 3,15,13:PRINT "ENTER FILE NAME.... _"
4150 PLOT 3,4,17:PRINT "ENTER FILE NAME AND HIT RETURN.  IF THE FILE DOES NOT"
4160 PLOT 3,4,19:PRINT "EXIST NO SUCH FILE ON DISK. RETURN _ WILL APPEAR."
4170 PLOT 3,4,21:PRINT "PRESSING RETURN WILL RETURN YOU TO THE MENU.  IF IT DOES"
4180 PLOT 3,4,22:PRINT "EXIST THE NEXT CONSECUTIVE DATE FOR THE FILE NAMED WILL"
4190 PLOT 3,4,23:PRINT "APPEAR.  DATA INPUT AND FILE SAVING FROM HERE ON IS THE"
4200 PLOT 3,4,24:PRINT "SAME PROCEDURE AS CREATING A FILE."
4210 PLOT 3,4,25:PRINT "N.B. THE LAST FILE PROCESSED IS RETAINED IN MEMORY,"
4220 PLOT 3,4,26:PRINT "THEREFORE, PRESSING RETURN ON THE SCREEN PROMPT ENTER"
4230 PLOT 3,4,27:PRINT "FILE NAME WILL BRING LAST FILE BANK ON THE SCREEN."
4240 PLOT 3,19,29:PRINT "PRESS RETURN TO CONTINUE"
4250 PLOT 20,2,16,106,242,16,66,82,66,82,106,16,106,255
4260 PLOT 3,47,29:INPUT "";T$
4300 PLOT 6,2,12,15,29,3,16,1:PRINT "EDITING AN EXISTING FILE"
4310 PLOT 15,3,2,4:PRINT "THE SCREEN PROMPT ON SELECTING THIS OPTION WILL APPEAR"
4320 PLOT 3,2,5:PRINT "AS BELOW:"
4330 PLOT 3,19,9:PRINT "FILE EDIT"
4340 PLOT 3,15,13:PRINT "ENTER FILE NAME ..._"
4350 PLOT 3,2,17:PRINT "IF YOUR FILE NAME DOES NOT EXIST THE SCREEN WILL RESPOND"
4360 PLOT 3,2,18:PRINT "WITH NO SUCH FILE ON DISK. RETURN.  ON PRESSING THE RETURN"
4370 PLOT 3,2,19:PRINT "KEY YOU WILL BE SENT BACK TO THE MENU.  IF THE FILE NAME IS"
4380 PLOT 3,2,20:PRINT "CORRECT, THE FILE WILL BE DISPLAYED WITH THE WORD DATE.. IN"
4390 PLOT 3,2,21:PRINT "THE LOWER RIGHT HAND CORNER.  YOU CAN NOW ENTER THE DATE OF"
4400 PLOT 3,2,22:PRINT "THE ENTRY YOU WANT ALTERED EG 7/82.  AFTER PRESSING RETURN,"
4410 PLOT 3,2,23:PRINT "THE PROMPT WORD WILL CHANGE TO VALUE.., ENTER THE NEW VALUE"
4420 PLOT 3,2,24:PRINT "AND PRESS RETURN.  THE NUMBER CORRESPONDING TO THE SELECTED"
4425 PLOT 3,2,25:PRINT "DATED WILL CHANGE.  THE WORD DATE.. WILL REAPPEAR AND THE"
4430 PLOT 3,2,26:PRINT "EDITING CAN CONTINUE.  PRESSING RETURN IN RESPONSE TO THE "
4440 PLOT 3,2,27:PRINT "DATE WILL END EDITING.  TO SAVE ALL EDIT CHANGES SAY YES TO"
4450 PLOT 3,2,28:PRINT "THE FILE SAVING SEQUENCE."
4470 PLOT 3,13,30:PRINT "PRESS RETURN TO CONTINUE"
4480 PLOT 18,2,18,102,242,18,66,74,66,74,102,18,102,255
4490 PLOT 3,40,30:INPUT "";T$
4540 PLOT 6,2,12,15,29,3,20,3:PRINT "DELETING A FILE"
4560 PLOT 15,3,6,6:PRINT "OLD FILES THAT ARE NO LONGER REQUIRED CAN BE REMOVED"
4570 PLOT 3,6,7:PRINT "WITH THIS OPTION,  THE SCREEN WILL APPEAR AS BELOW:"
4580 PLOT 3,22,13:PRINT "DELETE FILE"
4590 PLOT 3,19,17:PRINT "ENTER FILE NAME ..._"
4600 PLOT 15,3,6,22:PRINT "IF YOU ENTER FILE NAME AND PRESS RETURN THAT FILE WILL"
4610 PLOT 3,6,23:PRINT "SIMPLY BE DELETED  AND YOU WILL BE RETURNED TO THE"
4620 PLOT 3,6,24:PRINT "DATABASE MENU.  IF NO SUCH FILE EXISTS OR YOU ONLY PRESS"
4630 PLOT 3,6,25:PRINT "THE RETURN KEY, YOU WILL BE RETURNED TO THE DATABASE"
4640 PLOT 3,6,26:PRINT "MENU WITHOUT AFFECTING FILES."
4650 PLOT 3,18,29:PRINT "PRESS RETURN TO CONTINUE"
4660 PLOT 17,2,30,90,242,30,46,88,46,88,90,30,90,255
4840 PLOT 3,45,29:INPUT "";T$
5000 PLOT 6,2,12,15,29,3,18,3:PRINT "HARDCOPY  PRINTOUT"
5010 PLOT 3,2,7:PRINT "IF A PRINTER IS CONNECTED AND YOU REQUIRE COPIES OF YOUR"
5020 PLOT 3,2,8:PRINT "FILES, ENTER THIS OPTION.  THE SCREEN PROMPT WILL BE:"
5030 PLOT 3,18,13:PRINT "HARDCOPY  PRINTOUT"
5040 PLOT 3,17,17:PRINT "ENTER FILE NAME ...._"
5050 PLOT 3,2,21:PRINT "ON ENTERING THE FILE NAME AND PRESSING RETURN YOUR FILE WILL"
5060 PLOT 3,2,22:PRINT "BE REPRODUCED.  IF YOU SIMPLY PRESS RETURN, THEN THE LAST"
5070 PLOT 3,2,23:PRINT "FILE USED WILL BE PRINTED OUT.  IF NO SUCH FILE EXISTS THE"
5080 PLOT 3,2,24:PRINT "MESSAGE";SPC( 32);"WILL APPEAR AND ON"
5090 PLOT 3,10,25:PRINT "NO SUCH FILE ON DISK. RETURN _"
5100 PLOT 15,3,2,26:PRINT "PRESSING RETURN YOU WILL BE RETURNED TO THE MENU."
5110 PLOT 3,17,29:PRINT "PRESS RETURN TO CONTINUE"
5120 PLOT 21,2,26,86,242,26,50,84,50,84,86,26,86,255
5130 PLOT 3,44,29:INPUT "";T$
5200 PLOT 6,2,12,15,29,3,16,3:PRINT "CHANGING A FILE NAME"
5210 PLOT 15,3,4,6:PRINT "THE PROMPT WITH THIS OPTION IS AS BELOW:"
5220 PLOT 3,18,11:PRINT "CHANGE FILE NAME"
5230 PLOT 3,14,15:PRINT "ENTER OLD FILE NAME....._"
5240 PLOT 3,4,19:PRINT "BY PRESSING THE RETURN KEY ONLY YOU WILL EXIT BACK TO THE"
5250 PLOT 3,4,20:PRINT "MENU.  ON ENTERING A CORRECT FILE NAME A NEW PROMPT"
5260 PLOT 3,14,23:PRINT "ENTER NEW FILE NAME ...._   WILL APPEAR."
5270 PLOT 3,4,25:PRINT "ENTER YOUR NEW NAME AND PRESS THE RETURN KEY.  THE FILE IS"
5280 PLOT 3,4,26:PRINT "NOW RENAMED AND YOU ARE RETURNED TO THE MENU.  IF AT THIS"
5290 PLOT 3,4,27:PRINT "POINT YOU HAD ONLY PRESSED THE RETURN KEY OR YOU HAD TYPED"
5300 PLOT 3,4,28:PRINT "AN INVALID OLD FILE NAME, YOU WOULD BE RETURNED TO THE MENU."
5310 PLOT 3,20,30:PRINT "PRESS RETURN TO CONTINUE"
5320 PLOT 23,2,22,94,242,22,58,86,58,86,94,22,94,255
5330 PLOT 3,47,30:INPUT "";T$
5400 PLOT 6,2,12,15,29,3,8,9:PRINT "THAT NOW COMPLETES OUR INSTRUCTIONS ON THE DATABASE"
5410 PLOT 3,8,11:PRINT "SECTION OF THE PROGRAM.  IF YOU WISH TO REVIEW THE"
5420 PLOT 3,8,13:PRINT "INSTRUCTIONS TYPE R AND PRESS RETURN."
5430 PLOT 3,8,17:PRINT "THE NEXT SECTION DEALS WITH THE DISPLAY SECTION OF"
5440 PLOT 3,8,19:PRINT "THE PROGRAM.  IF YOU DO NOT WISH TO STUDY THIS AT"
5450 PLOT 3,8,21:PRINT "THE MOMENT THEN TYPE F, OTHERWISE PRESS ANY OTHER"
5455 PLOT 3,8,23:PRINT "CHARACTER, THEN PRESS RETURN KEY."
5460 PLOT 3,24,27:INPUT "YOUR CHOICE ?   ";Z$
5470 IF Z$= "R"THEN GOTO 2150
5480 IF Z$= "F"THEN GOTO 9999
6000 PLOT 6,2,12,15,29,3,18,3:PRINT "DISPLAY  PROGRAM"
6010 PLOT 3,15,6:PRINT "OPTIONS :-"
6020 PLOT 3,8,8:PRINT "1  INTRODUCTION  PRESS RETURN KEY"
6030 PLOT 3,8,10:PRINT "2  GRAPHICS COMMANDS  TYPE 2 AND PRESS RETURN"
6040 PLOT 3,8,12:PRINT "3  GRAPH CONTROL COMMANDS  TYPE 3 AND PRESS RETURN"
6050 PLOT 3,8,14:PRINT "4  STATISTICAL MANIPULATORS COMMANDS  TYPE 4 AND"
6060 PLOT 3,11,16:PRINT "PRESS RETURN"
6070 PLOT 3,15,22:INPUT "YOUR CHOICE  ?   ";T$
6080 IF T$= "2"GOTO 8800
6090 IF T$= "3"THEN LOAD "GRAPCC":RUN
6100 IF T$= "4"THEN LOAD "STATS":RUN
6990 PLOT 6,2,12,15,29,3,18,3:PRINT "INTRODUCTION"
7020 PLOT 3,3,7:PRINT "THE DISPLAY PROGRAM OPERARATES DIFFERRENTLY TO THE DATABASE"
7030 PLOT 3,3,8:PRINT "PROGRAM OF THE EXECUGRAPH PACKAGE IN THAT IT DOES NOT LIST"
7040 PLOT 3,3,9:PRINT "A MENU AND THEN AWAIT YOUR DIRECTION AS TO WHICH ONE TO"
7050 PLOT 3,3,10:PRINT "PERFORM.  THE ONLY PROMPT YOU GET IS A RED ARROW IN THE"
7060 PLOT 3,3,11:PRINT "BOTTOM LEFT HAND CORNER OF THE SCREEN WITH A BLINKING"
7070 PLOT 3,3,12:PRINT "CURSOR.  YOU THEN HAVE TO INPUT A COMMAND.  THE COMMANDS"
7080 PLOT 3,3,13:PRINT "ARE ENGLISH BASED WORDS, E.G. BARGRAPH.  HOWEVER, IT IS"
7090 PLOT 3,3,14:PRINT "SUFFICIENT TO TYPE IN THE FIRST THREE LETTERS AS THE PROGRAM"
7100 PLOT 3,3,15:PRINT "ONLY CHECKS THE FIRST THREE CHARACTERS.  FOR EXAMPLE"
7110 PLOT 3,3,16:PRINT "YOU CAN TYPE DAT INSTEAD OF DATABASE TO GO TO THE DATABASE"
7120 PLOT 3,3,17:PRINT "PROGRAM.  YOU COULD ALSO TYPE DATGHJFJ; AS LONG AS THE FIRST"
7130 PLOT 3,3,18:PRINT "THREE CHARACTERS ARE CORRECT THE PROGRAM WILL PERFORM THE"
7140 PLOT 3,3,19:PRINT "THE COMMAND."
7150 PLOT 3,3,21:PRINT "THE COMMAND CAN SOMETIMES CONSIST OF TWO PARTS, THE SECOND"
7160 PLOT 3,3,22:PRINT "PART BEING CALLED AN ARGUMENT.  FOR EXAMPLE BARGRAPH CARSAL,"
7170 PLOT 3,3,23:PRINT "THIS COMMAND WILL OBTAIN INFORMATION FROM THE FILE CARSAL,"
7180 PLOT 3,3,24:PRINT "WHICH IS SAVED ON DISC, AND DISPLAY A BARGRAPH OF THAT DATA."
7190 PLOT 3,3,25:PRINT "WHEN USING A TWO PART COMMAND THE COMPUTER READS THE START"
7200 PLOT 3,3,26:PRINT "OF THE SECOND PART AS COMMENCING FROM THE RIGHT OF THE LAST"
7210 PLOT 3,3,27:PRINT "SPACE IN THE COMMAND."
7220 PLOT 3,16,30:PRINT "PRESS RETURN TO CONTINUE"
7230 PLOT 3,43,30:INPUT "";T$
7300 PLOT 6,2,12,15,29,3,18,1:PRINT "DISPLAY PROGRAM  (CONTINUED)"
7310 PLOT 3,2,4:PRINT "THE REMAINDER OF OUR DISCUSSION WILL CONCENTRATE ON THREE"
7320 PLOT 3,2,5:PRINT "MAIN CATEGORIES OF COMMANDS:"
7330 PLOT 3,8,7:PRINT "1.  GRAPHICS"
7340 PLOT 3,8,8:PRINT "2.  GRAPH CONTROL"
7350 PLOT 3,8,9:PRINT "3.  STATISTICAL MANIPULATORS"
7360 PLOT 3,2,12:PRINT "BUT FIRSTLY, LETS UNDERSTAND THE FILE MOVEMENT AND WORKINGS"
7370 PLOT 3,2,13:PRINT "OF THE DISPLAY PROGRAM.  THE FOLLOWING ILLUSTRATES THE"
7380 PLOT 3,2,14:PRINT "GENERAL OPERATION."
7390 PLOT 3,5,17:PRINT "GRAPH";SPC( 36);"STATISTICAL"
7400 PLOT 3,5,18:PRINT "PROGRAMS  <-------";SPC( 15);"<-----> MANIPULATORS"
7410 PLOT 3,24,19:PRINT ""0" FILE"
7420 PLOT 3,25,20:PRINT "MAIN"
7430 PLOT 3,25,21:PRINT "WORIKING"
7440 PLOT 3,25,22:PRINT "FILE"
7450 PLOT 3,3,23:PRINT "DISK";SPC( 11);"<--->";SPC( 15);"<------> WORK FILES"
7460 PLOT 3,3,24:PRINT "FILES CREATED";SPC( 31);"1 - 4"
7470 PLOT 3,3,25:PRINT "BY DATABASE";SPC( 33);"TEMPORARY"
7480 PLOT 3,3,26:PRINT "PROGRAM";SPC( 37);"STORAGE"
7490 PLOT 3,19,30:PRINT "PRESS RETURN TO CONTINUE"
7500 PLOT 23,2,8,62,242,8,50,28,50,28,62,8,62,255
7510 PLOT 23,2,4,38,242,4,18,34,18,34,38,4,38,255
7520 PLOT 23,2,46,58,242,46,30,74,30,74,58,46,58,255
7530 PLOT 23,2,90,62,242,90,50,118,50,118,62,90,62,255
7540 PLOT 23,2,92,38,242,92,14,116,14,116,38,92,38,255
7570 PLOT 3,46,30:INPUT "";T$
7700 PLOT 6,2,15,29
7702 PLOT 3,0,2,11,10,11,10,11,10,11,10,11,10,11,10,11,10,11,10
7703 PLOT 3,0,9,11,10,11,10,11,10,11,10,11,10,11
7710 PLOT 3,4,7:PRINT "THE FILES CREATED BY THE DATABASE PROGRAM ARE SAVED"
7720 PLOT 3,4,8:PRINT "ON DISK.  WHEN WE WISH TO USE THEM THEY MUST BE BROUGHT"
7730 PLOT 3,4,9:PRINT "TO THE COMPUTERS MEMORY - THIS WILL BE FILE 0.  ANYTHING"
7740 PLOT 3,4,10:PRINT "PREVIOUSLY IN FILE 0 WILL BE OVERWRITTEN.  IF YOU WISH"
7750 PLOT 3,4,11:PRINT "TO USE SEVERAL FILES AT ONCE YOU MAY STORE THEM IN UP TO"
7760 PLOT 3,4,12:PRINT "4 MEMORY WORK FILES."
7770 PLOT 3,46,30:INPUT "";T$
7775 PLOT 3,0,2,11,10,11,10,11,10,11,10,11,10,11,10,11,10,11,10
7776 PLOT 3,0,10,11,10,11,10,11,10,11
7780 PLOT 6,2,15,29,3,3,3:PRINT "THE STATISTICAL MANIPULATORS ARE USED TO CALCULATE MOVING"
7810 PLOT 3,3,4:PRINT "AVERAGES, OTHER KINDS OF SMOOTHING, TREND LINES, AND SO"
7820 PLOT 3,3,5:PRINT "FORTH.  DATA IS TAKEN FROM FILE 0 AND THE RESULTS ARE"
7830 PLOT 3,3,6:PRINT "PLACED BACK IN FILE 0, THEREBY, OVERWRITING THE ORIGINAL"
7840 PLOT 3,3,7:PRINT "DATA.  THEREFORE, IF YOU WISHED TO REVIEW THE ORIGINAL"
7850 PLOT 3,3,8:PRINT "DATA YOU WOULD FIRST NEED TO SAVE IT IN ONE OF THE WORK"
7860 PLOT 3,3,9:PRINT "FILES.  THE COMMAND LOAD USED IN CONJUNCTION WITH A FILE"
7870 PLOT 3,3,10:PRINT "NAME (OR ONE OF THE FOUR WORK FILE NUMBERS) LOADS DATA"
7880 PLOT 3,3,11:PRINT "INTO FILE 0.  THE COMMAND SAVE USED IN CONJUNCTION WITH A"
7890 PLOT 3,3,12:PRINT "WORK FILE NUMBER, TAKES THE DATA FROM FILE 0 AND STORES IT"
7900 PLOT 3,3,13:PRINT "IN THE NUMBERED WORK FILE. EG SAVE 3 COPIES THE DATA IN"
7910 PLOT 3,3,14:PRINT "FILE 0 TO WORK FILE 3."
7950 PLOT 3,46,30:INPUT "";T$
8050 PLOT 6,2,12,15,29,3,16,1:PRINT "DISPLAY PROGRAM  (CONTINUED)"
8060 PLOT 3,2,4:PRINT "THE COMMAND DISK WITH A LEGAL FILE NAME WILL SAVE THE 0"
8070 PLOT 3,2,5:PRINT "FILE ON DISK.  IF YOU ENTER A FILE NAME THAT ALREADY"
8080 PLOT 3,2,6:PRINT "EXISTS THE MESSAGE FILE ALREADY EXISTS! DESTROY OLD FILE"
8090 PLOT 3,2,7:PRINT "WILL APPEAR.  ENTERING NO WILL RETURN YOU TO THE PROMPT,"
8100 PLOT 3,2,8:PRINT "ENTERING YES WILL ERASE THE OLD FILE NAMED FROM DISK AND"
8110 PLOT 3,2,9:PRINT "SAVE THE CONTENTS OF THE 0 FILE ON DISK WITH THE NAME"
8120 PLOT 3,2,10:PRINT "GIVEN."
8130 PLOT 3,2,12:PRINT "BY USING THE COMMAND PICTURE FOLLOWED BY A LEGAL FILE NAME"
8140 PLOT 3,2,13:PRINT "THE IMAGE, AS DISPLAYED ON THE SCREEN, WILL BE SAVED ON"
8150 PLOT 3,2,14:PRINT "DISK.  TO RECALL THE IMAGE THE COMMAND DRAW AND THE FILE"
8160 PLOT 3,2,15:PRINT "NAME IS REQUIRED.  PRIOR TO STORING THE DISPLAY, THE"
8162 PLOT 3,2,16:PRINT "COMMAND REMARK FOLLOWED BY A COMMENT WILL ALLOW THAT"
8164 PLOT 3,2,17:PRINT "COMMENT TO BE STORED ALONG WITH THE REST OF THE GRAPH."
8166 PLOT 3,2,18:PRINT "THE COMMENT APPEARS IN THE TOP LEFT HAND CORNER."
8170 PLOT 3,2,20:PRINT "SO THAT WE CAN DEMONSTRATE THE THREE MAIN CATEGORIES OF"
8180 PLOT 3,2,21:PRINT "COMMANDS WE WILL USE DATA CREATED UNDER THE DATABASE"
8190 PLOT 3,2,22:PRINT "PROGRAM.  THE FILES ARE NAMED CARSAL AND TOTSAL REPRESENTING"
8200 PLOT 3,2,23:PRINT "CAR SALES OF ONE SALES FIRM AND THE TOTAL CAR SALES IN THAT"
8210 PLOT 3,2,24:PRINT "DISTRICT.  THE DATA IS AS FOLLOWS."
8220 PLOT 3,17,27:PRINT "PRESS RETURN TO CONTINUE"
8230 PLOT 3,45,27:INPUT "";T$
8290 PLOT 6,2,12,15,29,3,2,1:PRINT "OUR CAR SALES  (THOUSANDS)";SPC( 8);"CARSAL"
8310 PLOT 15,3,0,2:PRINT "______________________________________________________________"
8320 PLOT 3,2,4:PRINT "1/80";SPC( 8);"12       11/80";SPC( 8);"19       9/81";SPC( 9);"23"
8330 PLOT 3,2,5:PRINT "2/80";SPC( 8);"11       12/80";SPC( 8);"20       10/81";SPC( 8);"24"
8340 PLOT 3,2,6:PRINT "3/80";SPC( 8);"13       1/81";SPC( 9);"18       11/81";SPC( 8);"26"
8350 PLOT 3,2,7:PRINT "4/80";SPC( 8);"15       2/81";SPC( 9);"17       12/81";SPC( 8);"27"
8360 PLOT 3,2,8:PRINT "5/80";SPC( 8);"16       3/81";SPC( 9);"17       1/82";SPC( 9);"25"
8370 PLOT 3,2,9:PRINT "6/80";SPC( 8);"17       4/81";SPC( 9);"16       2/82";SPC( 9);"24"
8380 PLOT 3,2,10:PRINT "7/80";SPC( 8);"17       5/81";SPC( 9);"18       3/82";SPC( 9);"23"
8390 PLOT 3,2,11:PRINT "8/80";SPC( 8);"17       6/81";SPC( 9);"19       4/82";SPC( 9);"24"
8400 PLOT 3,2,12:PRINT "9/80";SPC( 8);"18       7/81";SPC( 9);"20"
8410 PLOT 3,2,13:PRINT "10/80       18       8/81";SPC( 9);"22"
8420 PLOT 3,2,17:PRINT "TOTAL CAR SALES  (THOUSANDS)      TOTSAL"
8430 PLOT 15,3,0,18:PRINT "______________________________________________________________"
8440 PLOT 3,2,20:PRINT "1/80";SPC( 8);"30       10/80";SPC( 8);"34       7/81";SPC( 9);"36"
8450 PLOT 3,2,21:PRINT "2/80";SPC( 8);"28       11/80";SPC( 8);"36       8/81";SPC( 9);"38"
8460 PLOT 3,2,22:PRINT "3/80";SPC( 8);"27       12/80";SPC( 8);"38       9/81";SPC( 9);"39"
8470 PLOT 3,2,23:PRINT "4/80";SPC( 8);"26       1/81";SPC( 9);"34       10/81";SPC( 8);"40"
8480 PLOT 3,2,24:PRINT "5/80";SPC( 8);"26       2/81";SPC( 9);"32       11/81";SPC( 8);"44"
8490 PLOT 3,2,25:PRINT "6/80";SPC( 8);"28       3/81";SPC( 9);"31       12/81";SPC( 8);"46"
8500 PLOT 3,2,26:PRINT "7/80";SPC( 8);"29       4/81";SPC( 9);"32       1/82";SPC( 9);"41"
8510 PLOT 3,2,27:PRINT "8/80";SPC( 8);"30       5/81";SPC( 9);"33       2/82";SPC( 9);"39"
8520 PLOT 3,2,28:PRINT "9/80";SPC( 8);"31       6/81";SPC( 9);"35       3/82";SPC( 9);"38"
8530 PLOT 3,45,29:PRINT "4/82";SPC( 9);"38"
8540 PLOT 3,13,30:PRINT "PRESS RETURN TO CONTINUE"
8550 PLOT 20,2,0,114,242,0,74,0,114,255
8560 PLOT 20,2,38,114,242,38,74,255
8570 PLOT 20,2,82,114,242,82,74,255
8580 PLOT 20,2,82,50,242,82,10,255
8590 PLOT 20,2,0,50,242,0,14,255
8600 PLOT 20,2,38,50,242,38,14,255
8610 PLOT 20,2,122,114,242,122,74,255
8620 PLOT 20,2,122,50,242,122,10,255
8630 PLOT 3,41,30:INPUT "";T$
8800 PLOT 6,2,12,15,29,3,21,3:PRINT "GRAPHIC COMMANDS:-"
8810 PLOT 3,6,5:PRINT "THERE ARE FIVE COMMANDS UNDER THIS HEADING.  THESE ARE:-"
8820 PLOT 3,13,7:PRINT "1) BARGRAPH (FILENAME)"
8830 PLOT 3,13,9:PRINT "2) LINEGRAPH (FILENAME)"
8840 PLOT 3,13,11:PRINT "3) SCATTERGRAPH (FILENAME)"
8850 PLOT 3,13,13:PRINT "4) AREAGRAPH (FILENAME)"
8860 PLOT 3,13,15:PRINT "5)NBAR (FILENAME) WHERE N REPRESENTS A NUMBER"
8870 PLOT 3,6,17:PRINT "THESE COMMANDS TAKE THE FILE NAMED, FROM DISK AND STORE IT"
8880 PLOT 3,6,18:PRINT "IN FILE 0 THEN CREATES THE GRAPH REQUESTED.  ANOTHER WAY"
8890 PLOT 3,6,19:PRINT "WOULD BE TO LOAD A FILE FIRST THEN INPUT THE COMMAND"
8900 PLOT 3,6,20:PRINT "WITHOUT THE FILE NAME."
8910 PLOT 3,6,22:PRINT "WE WILL NOW TAKE THE DATA PREVIOUSLY DISPLAYED AND"
8920 PLOT 3,6,23:PRINT "REPRODUCE EACH OF THE GRAPHS AS THEY WOULD APPEAR.  THE"
8930 PLOT 3,6,24:PRINT "HORIZONTAL AND VERTICAL SCALING ON THE GRAPHS IS DONE"
8940 PLOT 3,6,25:PRINT "AUTOMATICALLY."
8950 GOTO 9720:PLOT 3,18,29:PRINT "PRESS RETURN TO CONTINUE"
8960 PLOT 3,47,30:INPUT "";T$
8990 PLOT 12
8995 PLOT 3,15,15:PRINT "LOADING  EXAMPLE  GRAPH"
9000 A$= "DEMO1"
9010 PLOT 27,4
9020 PRINT "0:LDSCR 0:"+ A$+ ".DSP 7000"
9030 PLOT 27,27
9035 PLOT 3,12,5:PRINT "BARGRAPH"
9040 PLOT 3,18,30:PRINT "PRESS RETURN TO CONTINUE"
9050 PLOT 3,47,30:INPUT "";T$
9070 PLOT 12
9080 PLOT 3,15,15:PRINT "LOADING  EXAMPLE  GRAPH"
9100 B$= "DEMO2"
9110 PLOT 27,4
9120 PRINT "0:LDSCR 0:"+ B$+ ".DSP 7000"
9130 PLOT 27,27
9140 PLOT 3,12,5:PRINT "LINEGRAPH"
9150 PLOT 3,18,30:PRINT "PRESS RETURN TO CONTINUE"
9160 PLOT 3,47,30:INPUT "";T$
9170 PLOT 12
9180 PLOT 3,15,15:PRINT "LOADING  EXAMPLE  GRAPH"
9200 C$= "DEMO3"
9210 PLOT 27,4
9220 PRINT "0:LDSCR 0:"+ C$+ ".DSP 7000"
9230 PLOT 27,27
9240 PLOT 3,12,5:PRINT "SCATTERGRAPH"
9250 PLOT 3,18,30:PRINT "PRESS RETURN TO CONTINUE"
9260 PLOT 3,47,30:INPUT "";T$
9270 PLOT 12
9280 PLOT 3,15,15:PRINT "LOADING  EXAMPLE  GRAPH"
9300 D$= "DEMO4"
9310 PLOT 27,4
9320 PRINT "0:LDSCR 0:"+ D$+ ".DSP 7000"
9330 PLOT 27,27
9340 PLOT 3,12,5:PRINT "AREAGRAPH"
9350 PLOT 3,18,30:PRINT "PRESS RETURN TO CONTINUE"
9360 PLOT 3,47,30:INPUT "";T$
9370 PLOT 12
9380 PLOT 3,15,15:PRINT "LOADING  EXAMPLE  GRAPH"
9400 E$= "DEMO5"
9410 PLOT 27,4
9420 PRINT "0:LDSCR 0:"+ E$+ ".DSP 7000"
9430 PLOT 27,27
9440 PLOT 3,12,5:PRINT "SIDE BY SIDE 2BARGRAPH"
9445 PLOT 3,12,6:PRINT "UP TO 6 BARGRAPHS CAN BE DISPLAYED AT ONCE"
9450 PLOT 3,18,30:PRINT "PRESS RETURN TO CONTINUE"
9460 PLOT 3,47,30:INPUT "";T$
9470 PLOT 12
9480 PLOT 3,15,15:PRINT "LOADING  EXAMPLE  GRAPH"
9500 F$= "DEMO6"
9510 PLOT 27,4
9520 PRINT "0:LDSCR 0:"+ F$+ ".DSP 7000"
9530 PLOT 27,27
9540 PLOT 3,10,3:PRINT "WE HAVE OVERLAYED CARSAL ON TOTSAL TO CREATE"
9550 PLOT 3,10,4:PRINT "THIS GRAPH.  ANY COMBINATION OF GRAPHS CAN BE"
9560 PLOT 3,10,5:PRINT "USED TO PORTRAY COMPARISONS"
9580 PLOT 3,18,30:PRINT "PRESSRETURN TO CONTINUE"
9590 PLOT 3,47,30:INPUT "";T$
9600 PLOT 6,2,12,15,29,3,8,6:PRINT "YOU CAN SEE BY THE LAST DISPLAY THAT OVERLAYING"
9610 PLOT 3,8,7:PRINT "ONE GRAPH ON TOP OF ANOTHER CAN BE HANDY IN"
9620 PLOT 3,8,8:PRINT "GENERATING COMPARISONS.  ALL THAT HAS TO BE DONE"
9630 PLOT 3,8,9:PRINT "IS AWAIT THE PROMPT AFTER EXECUTING A COMMAND ,"
9640 PLOT 3,8,10:PRINT "THEN REINPUT ANOTHER COMMAND."
9650 PLOT 3,8,11:PRINT "IF THE STARTING DATES OF THE FILES DIFFER, THE"
9660 PLOT 3,8,12:PRINT "PROGRAM WILL DELETE THE NECESSARY DATA TO COINSIDE"
9670 PLOT 3,8,13:PRINT "WITH THE GRAPH ALREADY ON THE SCREEN.  AS IT DOES"
9680 PLOT 3,8,14:PRINT "THE SAME WITH THE VERTICAL AXIS, IT IS PREFERABLE TO"
9690 PLOT 3,8,15:PRINT "LOAD THE FILE WITH THE HIGHEST VALUE VERTICAL AXIS"
9700 PLOT 3,8,16:PRINT "FIRST, HOWEVER AS WILL BE DISCUSSED LATER, RESCALING"
9710 PLOT 3,8,17:PRINT "CAN BE DONE."
9720 PLOT 3,8,19:PRINT "IF YOU WISH TO REVIEW THE DISPLAY PROGRAM COVERED SO "
9730 PLOT 3,8,20:PRINT "FAR THEN TYPE R BEFORE PRESSING RETURN.  IF YOU WISH"
9740 PLOT 3,8,21:PRINT "TO EXIT PROGRAM AT THIS STAGE TYPE F BEFORE PRESSING"
9750 PLOT 3,8,22:PRINT "RETURN."
9760 PLOT 3,18,30:INPUT "PRESS RETURN TO CONTINUE    ";Y$
9800 IF Y$= "F"THEN GOTO 9999
9810 IF Y$= "R"THEN GOTO 6000
9850 LOAD "GRAPCC":RUN
9999 PLOT 12
10000 END