home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG059.ARC
/
REFERENC.DOC
< prev
next >
Wrap
Text File
|
1979-12-31
|
17KB
|
401 lines
10 REM Documentation for the Genealogy ON DISPLAY Programs
20 REM All data is in the form of DATA statements.
30 REM By: Melvin O. Duke. Updated June 1983.
40 DATA Genealogy
50 DATA User's Manual
60 DATA -5
70 DATA 1
80 INDENT = 0
90 DASHES$ = "+"+STRING$(54,45)+"+"
100 TRIM.LINE$ = "(Trim-line)"
110 REM Program begins here
120 READ TITLE$, DOC.NAME$, PAGE.NO, LINE.NO
130 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
140 GOSUB 500 'For trim line and heading space
150 FOR I = 1 TO 6 : LPRINT : NEXT I
160 LPRINT CHR$(14); 'Set Expanded Print
170 LPRINT TAB(TAB.POS-2);TITLE$
180 LPRINT CHR$(18); 'Return to normal
190 FOR I = 1 TO 3 : LPRINT : NEXT I
200 LPRINT CHR$(27); "E"; 'Set Emphasized mode
210 LPRINT TAB(TAB.POS+12);"ON DISPLAY"
220 LPRINT CHR$(27); "F"; 'Return to normal
222 LPRINT : LPRINT : LPRINT
224 LPRINT TAB(TAB.POS+11);"Version 1.3"
230 FOR I = 1 TO 11 : LPRINT : NEXT I
240 LPRINT TAB(TAB.POS+10); DOC.NAME$
250 LINE.NO = LINE.NO + 27
260 '
270 READ REPLY$
280 IF LEFT$(REPLY$,1) = "." THEN GOSUB 850: GOTO 270
290 IF LINE.NO > 44 THEN GOSUB 610
300 REM Print the line if not a command
310 LPRINT TAB(TAB.POS);REPLY$
320 LINE.NO = LINE.NO + 1
330 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
340 GOTO 270
350 REM Data for the Copyright Page
354 DATA ".pa"
358 DATA "Anyone may request a copy of these"
362 DATA "programs by sending two blank diskettes"
366 DATA "to the author of the programs (one for"
370 DATA "the programs, and the second for the"
374 DATA "documentation)."
378 DATA ".sp"
382 DATA "An addressed, postage-paid return"
386 DATA "mailer must accompany the diskettes (no"
390 DATA "exceptions, please).
394 DATA ".sp"
398 DATA "A copy of the programs with documenta-"
402 DATA "tion will be sent by return mail."
406 DATA ".sp"
410 DATA "Regardless of whether a contribution"
414 DATA "is made, the user is encouraged to"
418 DATA "copy and share the program with others."
422 DATA "Payment for use is discretionary on"
426 DATA "the part of each subsequent user."
430 DATA ".vt 4"
434 DATA "If you are using these programs, and"
438 DATA "finding them of value, your contribution"
442 DATA "($35 suggested) will be appreciated."
446 DATA ".sp"
450 DATA "Melvin O. Duke"
454 DATA "P. O. Box 20836"
458 DATA "San Jose, CA 95160"
462 DATA ".vt 4"
466 DATA "Copyright (c) 1983, by:"
470 DATA "Melvin O. Duke."
474 DATA ".sp"
478 DATA "All rights reserved."
482 '
500 REM Top of each page routine
510 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
520 LPRINT
530 LPRINT TAB(30); TRIM.LINE$
540 LPRINT DASHES$ 'Dashes
550 FOR I = 1 TO 6
560 LPRINT
570 NEXT I
580 LINE.NO = LINE.NO + 6
590 RETURN
600 '
610 REM Bottom of each page Routine
620 IF PAGE.NO < 1 THEN LPRINT : LPRINT : LPRINT : GOTO 740
630 LPRINT TAB(TAB.POS); STRING$(40,45) 'on line 46
640 LPRINT TAB(TAB.POS+3); TITLE$+" ON DISPLAY. Version 1.3" 'on line 47
650 IF PAGE.NO MOD 2 = 1 THEN 690
660 LPRINT TAB(TAB.POS);"Page";PAGE.NO;
670 LPRINT TAB(TAB.POS+27);"User's Manual"
680 GOTO 740
690 LPRINT TAB(TAB.POS); "User's Manual";
700 IF PAGE.NO < 10 THEN DELTA = 34
710 IF PAGE.NO > 9 THEN DELTA = 33
720 IF PAGE.NO > 99 THEN DELTA = 32
730 LPRINT TAB(TAB.POS+DELTA); "Page"; PAGE.NO 'on line 48
740 LPRINT : LPRINT : LPRINT
750 LPRINT DASHES$ 'dashes after 51
760 LPRINT TAB(30); TRIM.LINE$
770 LPRINT CHR$(12);
780 PAGE.NO = PAGE.NO + 1
790 LINE.NO = 1
800 IF REPLY$ = ".eof" THEN 820 'Bypass after last page
810 GOSUB 500 'For top of next page
820 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
830 RETURN
840 '
850 REM Command Processor
860 IF LEFT$(REPLY$,3) = ".h1" THEN 960
870 IF LEFT$(REPLY$,3) = ".h2" THEN 1100
880 IF LEFT$(REPLY$,3) = ".h3" THEN 1210
890 IF LEFT$(REPLY$,3) = ".sp" THEN 1320
900 IF LEFT$(REPLY$,4) = ".eof" THEN 1370
910 IF LEFT$(REPLY$,3) = ".pa" THEN 1410
915 IF LEFT$(REPLY$,3) = ".pn" THEN PAGE.NO = VAL(RIGHT$(REPLY$,LEN(REPLY$)-3)) : RETURN
920 IF LEFT$(REPLY$,3) = ".vt" THEN 1480
930 IF LEFT$(REPLY$,3) = ".pk" THEN 1590
940 IF LEFT$(REPLY$,3) = ".in" THEN 1720
950 STOP
960 REM Head 1 Processor
970 FOR I = LINE.NO TO 44
980 LPRINT
990 NEXT I
1000 GOSUB 610 'Bottom of page Routine
1010 IF PAGE.NO MOD 2 = 0 THEN GOSUB 1410 'For h1 on Odd pages
1020 LPRINT CHR$(14); 'Set expanded print
1030 IF PAGE.NO MOD 2 = 0 THEN ADJUST = -4 ELSE ADJUST = -7
1040 LPRINT TAB(TAB.POS+ADJUST); RIGHT$(REPLY$,LEN(REPLY$)-4)
1050 LPRINT CHR$(18); 'Return to normal
1060 LINE.NO = LINE.NO+1
1070 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
1080 RETURN
1090 '
1100 REM Head 2 Processor
1110 IF LINE.NO = 7 THEN 1130 'skip spacing if at top of page
1120 IF LINE.NO > 43 THEN GOSUB 1410 ELSE LPRINT:LPRINT:LINE.NO = LINE.NO+2
1130 LPRINT CHR$(27); "E"; 'Set emphasized print
1140 LPRINT TAB(TAB.POS); RIGHT$(REPLY$,LEN(REPLY$)-4)
1150 LPRINT CHR$(27); "F"; 'Return to normal
1160 LPRINT
1170 LINE.NO = LINE.NO + 2
1180 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
1190 RETURN
1200 '
1210 REM Head 3 Processor
1220 IF LINE.NO = 7 THEN 1240 'skip spacing if at top of page
1230 IF LINE.NO > 43 THEN GOSUB 1410 ELSE LPRINT:LPRINT:LINE.NO = LINE.NO+2
1240 LPRINT CHR$(27); "E"; 'Set emphasized print
1250 LPRINT TAB(TAB.POS); RIGHT$(REPLY$,LEN(REPLY$)-4)
1260 LPRINT CHR$(27); "F"; 'Return to normal
1270 LPRINT
1280 LINE.NO = LINE.NO + 2
1290 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
1300 RETURN
1310 '
1320 REM Single Space Processor
1330 IF LINE.NO = 7 THEN 1350
1340 IF LINE.NO > 44 THEN GOSUB 1410 ELSE LPRINT : LINE.NO = LINE.NO + 1
1350 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
1360 RETURN
1370 REM End of File Processor
1380 GOSUB 1410 'Bottom of Page
1390 LPRINT CHR$(12);
1400 GOTO 15470
1410 REM Page Eject Processor
1420 FOR I = LINE.NO TO 44
1430 LPRINT
1440 LINE.NO = LINE.NO + 1
1450 NEXT I
1460 GOSUB 610 'Bottom of Page Processing
1470 RETURN
1480 REM Vertical Tab Processor
1490 IF LINE.NO = 7 THEN 1580
1500 IF LINE.NO > 44 THEN GOSUB 610 'End of page
1510 QTY = VAL(RIGHT$(REPLY$,LEN(REPLY$)-3))
1520 FOR I = 1 TO QTY
1530 LPRINT
1540 LINE.NO = LINE.NO + 1
1550 IF LINE.NO > 44 THEN I = QTY
1560 NEXT I
1570 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
1580 RETURN
1590 REM Pack Processor
1600 IF LINE.NO > 44 THEN GOSUB 610
1610 IF TAB.POS = 8 THEN ADJUST = 4
1620 IF TAB.POS = 13 THEN ADJUST = 7
1630 TAB.POS = TAB.POS + ADJUST + INDENT
1640 LPRINT CHR$(15); 'Packed printing
1650 WIDTH "lpt1:", 132 'set condensed width
1660 LPRINT TAB(TAB.POS); RIGHT$(REPLY$,LEN(REPLY$)-3)
1670 LPRINT CHR$(18); 'Return to normal
1680 WIDTH "lpt1:", 80 'return to normal
1690 LINE.NO = LINE.NO + 1
1700 IF PAGE.NO MOD 2 = 0 THEN TAB.POS = 8 ELSE TAB.POS = 13
1710 RETURN
1720 REM Indent Processor
1730 INDENT = VAL(RIGHT$(REPLY$,LEN(REPLY$)-3))
1740 RETURN
10750 DATA ".h1 REFERENCE MATERIAL"
10755 DATA ".pn 41"
10760 DATA ".h2 SAMPLE SCREENS AND PROMPTING MESSAGES"
10770 DATA "The following is a sample session, where"
10780 DATA "the user is displaying his Genealogy,"
10782 DATA "through the use of the 'display' program."
10790 DATA ".vt 2"
10800 DATA "After turning the sytems on, and asking"
10810 DATA "for basica/s:256, the user keys:"
10820 DATA ".sp"
10830 DATA ".pk F3 display"
10832 DATA ".pk (or he types 'load', quote, 'display')"
10833 DATA ".pk and presses the 'enter' key.
10840 DATA ".vt 2"
10850 DATA "and then, after replacing the program"
10860 DATA "diskette with the data diskette in Drive"
10862 DATA "'a:', and making sure that the ordinances"
10863 DATA "diskette is in Drive 'b:', the user types:"
10880 DATA ".sp"
10888 DATA ".pk F2"
10890 DATA ".pk (or he types 'run' and presses the"
10891 DATA ".pk 'enter' key)."
10900 DATA ".pa"
10910 DATA "The display screen then appears as:"
10920 DATA ".sp"
10930 DATA ".vt 3"
10940 DATA ".pk Display Program ON DISPLAY"
10945 DATA ".pk Version 1.3"
10950 DATA ".vt 2"
10960 DATA ".pk If you are using these programs, and"
10970 DATA ".pk finding them of value, your contribution"
10975 DATA ".pk ($35 suggested) will be appreciated."
10980 DATA ".vt 2"
10982 DATA ".pk Melvin O. Duke"
10984 DATA ".pk P. O. Box 20836"
10986 DATA ".pk San Jose, CA 95160"
10988 DATA ".sp"
10990 DATA ".pk Copyright (c) 1983 by:"
11000 DATA ".pk Melvin O. Duke"
11010 DATA ".vt 4"
11020 DATA ".pk Press any key to continue"
11030 DATA ".pa"
11040 DATA "After pressing any key, the user watches"
11050 DATA "the display as the indices are read, and"
11060 DATA "the data files are opened. He sees:"
11070 DATA ".sp"
11080 DATA ".pk Open the Parent/Child Index"
11090 DATA ".pk Reading Index Record #: 500"
11100 DATA ".sp"
11110 DATA ".pk Open the Marriage Index"
11120 DATA ".pk Reading Marriage Index Record #: 180"
11130 DATA ".sp"
11140 DATA ".pk Open the Persons File"
11150 DATA ".sp"
11160 DATA ".pk Open the Marriages File"
11162 DATA ".sp"
11164 DATA ".pk Open the Ordinances File"
11170 DATA ".vt 4"
11180 DATA ".pk Enter the Record-number of a Person?"
11190 DATA ".vt 2"
11200 DATA "The user responds with a number, such as"
11210 DATA "1, as:"
11220 DATA ".sp"
11230 DATA ".pk Enter the Record-number of a Person? 1"
11240 DATA ".sp"
11250 DATA "He then sees:"
11260 DATA ".pa"
11270 DATA ".pk Personal Information for: Melvin Otto ABLE"
11280 DATA ".sp"
11290 DATA ".pk Person: Person's Vital Statistics:"
11300 DATA ".sp"
11310 DATA ".pk Surname: ABLE Birth-date: 05 Oct 1925"
11320 DATA ".pk Given Names: Melvin Otto Birth-city: Salt Lake City"
11330 DATA ".pk Sex: M Birth-county: Salt Lake"
11340 DATA ".pk Birth-state: Utah"
11350 DATA ".pk Person's Father:"
11360 DATA ".pk Death-date:"
11370 DATA ".pk Surname: ABLE Death-city:"
11380 DATA ".pk Given-names: Otto Death-county:"
11390 DATA ".pk Birth-date: 31 Mar 1899 Death-state:"
11400 DATA ".sp"
11410 DATA ".pk Person's Mother: Burial-date:"
11420 DATA ".pk Burial-city:"
11430 DATA ".pk Surname: BAKER Burial-county:"
11440 DATA ".pk Given-names: Beatrice Burial-state:"
11450 DATA ".pk Birth-date: 27 Sep 1902"
11460 DATA ".sp 2"
11470 DATA ".pk Next Action?"
11475 DATA ".pk (Possible Actions: ps, pc, fg, o, p1...pn, m1...mn, q)"
11480 DATA ".pa
11490 DATA "The user asks for a pedigree chart, by"
11500 DATA "typing: pc, as:"
11510 DATA ".sp"
11520 DATA ".pk Next Action? pc"
11530 DATA ".sp"
11540 DATA "The user then sees:"
11550 DATA ".vt 2
11560 DATA ".pk Birthdate:"
11570 DATA ".pk ABLE, John 28 Nov 1834
11580 DATA ".pk ABLE, James Alfred 19 Jan 1866"
11590 DATA ".pk YOUNGER, Martha Vance 08 Feb 1842"
11600 DATA ".pk ABLE, Otto 31 Mar 1899"
11610 DATA ".pk FARMER, Charles 19 Jan 1833
11620 DATA ".pk FARMER, Janet 18 Feb 1876
11630 DATA ".pk BIGBY, Susanna 05 Nov 1834
11640 DATA ".pk ABLE, Melvin Otto 05 Oct 1925"
11650 DATA ".pk BAKER, William 12 Apr 1803"
11660 DATA ".pk BAKER, Jabez Thompson 26 Apr 1840
11670 DATA ".pk THOMASON, Martha 22 Aug 1805
11680 DATA ".pk BAKER, Beatrice 27 Sep 1902
11690 DATA ".pk SWENSON, Karl Kristian 11 Jul 1834
11700 DATA ".pk SWENSON, Anna Pauline 08 Aug 1866
11710 DATA ".pk KRALL, Wilhelmina 23 Mar 1833
11720 DATA ".vt 2"
11730 DATA ".pk Next Action?"
11735 DATA ".pk (Possible Actions: ps, fg, pc, l1...ln, p1...pn, m1...mn, q)"
11740 DATA ".pa"
11750 DATA "Instead of asking for a Pedigree Chart,"
11760 DATA "the user may have asked for a Family"
11770 DATA "Group (fg), as:"
11780 DATA ".sp"
11790 DATA ".pk Next Action? fg"
11800 DATA ".sp"
11810 DATA "The user would then have seen:"
11820 DATA ".vt 2"
11830 DATA ".pk Family Group Record"
11840 DATA ".sp"
11850 DATA ".pk Father: ABLE, Melvin Otto Birthdate: 05 Oct 1925"
11860 DATA ".pk Mother: LOVELY, Helen Lillian Birthdate: 13 Jun 1928"
11870 DATA ".sp"
11880 DATA ".pk Marriage Date: 16 Jun 1947 Location: Salt Lake City"
11890 DATA ".sp"
11900 DATA ".pk NO S Children: Birthdate: Birth Location:"
11910 DATA ".sp"
11920 DATA ".pk 1 M ABLE, Melvin Kent 06 Jan 1949 Salt Lake City"
11930 DATA ".pk 2 M ABLE, Ronald Robert 24 Jun 1951 Oklahoma City"
11940 DATA ".pk 3 F ABLE, Carolyn Elizabeth 26 Apr 1955 Wichita"
11950 DATA ".pk 4 F ABLE, Linda Ann 22 Aug 1962 Bellevue"
11960 DATA ".sp"
11970 DATA ".sp"
11980 DATA ".sp"
11990 DATA ".sp"
12000 DATA ".sp"
12010 DATA ".sp"
12020 DATA ".sp"
12030 DATA ".sp"
12040 DATA ".pk Next Action?"
12045 DATA ".pk (Possible Actions: ps, f, m, p1...pn, c1...cn, m1...mn, q)"
12050 DATA ".pa"
12060 DATA "Instead of asking for a Pedigree Chart,"
12070 DATA "the user may have asked for Ordinances"
12080 DATA "for the person (o), as:"
12090 DATA ".sp"
12100 DATA ".pk Next Action? o"
12110 DATA ".sp"
12120 DATA "The user would have seen:"
12130 DATA ".sp"
12135 DATA ".in -3"
12140 DATA ".pk Ordinance Information for: Melvin Otto ABLE 05 Oct 1925"
12150 DATA ".sp"
12160 DATA ".pk Personal Record Priesthood Record"
12170 DATA ".pk Christening: Aaronic Priesthood: 10 Oct 1937"
12180 DATA ".pk Blessing: 01 Nov 1925 Deacon: 10 Oct 1937"
12190 DATA ".pk Sealed to Parents: BIC Teacher: 16 Feb 1941"
12200 DATA ".pk Father's Id: 7 Priest: 18 Oct 1942"
12210 DATA ".pk Name: Otto ABLE"
12220 DATA ".pk Mother's Id: 8 Melchizedek Priesthood: 18 Apr 1944"
12230 DATA ".pk Name: Beatrice BAKER Elder: 18 Apr 1944"
12240 DATA ".pk Baptism: 04 Nov 1933 Seventy:"
12250 DATA ".pk Confirmation: 05 Nov 1933 High Priest:"
12260 DATA ".pk Patriarchical Blessing: 13 Jun 1939"
12270 DATA ".pk Endowment: 16 Jun 1947 Bishop:"
12280 DATA ".pk Sealed to Spouse: 16 Jun 1947 Patriarch:"
12290 DATA ".pk Spouse's Id: 2 Apostle:"
12300 DATA ".pk Name: Helen Lillian LOVELY"
12310 DATA ".sp"
12320 DATA ".pk Occupation: Author"
12330 DATA ".sp"
12340 DATA ".pk Next Action?"
12345 DATA ".pk (Possible Actions: ps, pc, fg, o, p1...pn, m1...mn, q)"
12350 DATA ".in 0"
13000 DATA ".pa"
13010 DATA ".h2 COMMANDS USED."
13020 DATA ".h3 basica/s:256"
13030 DATA ".sp"
13040 DATA "The basic command is used in order to"
13050 DATA "load the basic processor from the PC"
13060 DATA "DOS diskette, into storage, and to"
13070 DATA "establish a buffer size for the data"
13080 DATA "files."
13090 DATA ".h3 load (or the F3 function-key)"
13100 DATA ".sp"
13110 DATA "The load command is used in order to"
13120 DATA "load any of the Genealogy ON DISPLAY"
13130 DATA "programs from the Program diskette,"
13140 DATA "into storage."
13150 DATA ".h3 run (or the F2 function-key)"
13160 DATA ".sp"
13170 DATA "The run command is used to cause any"
13180 DATA "of the Genealogy ON DISPLAY programs"
13190 DATA "to begin."
15460 DATA ".eof"
15470 END
s.
30 REM By: Melv