40 WIDTH 80:KEY OFF:FOR TY%=1 TO 10:KEY(TY%)OFF:KEY TY%,"":NEXT
60 CLEAR,,2000:LOCATE,,0:CLS:LOCATE3,8:PRINT"SPC( SPC( SPC( SPC( KEYTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENTHENCLOSE":LOCATE4,8:PRINT"OPEN STRING$SOUNDCOLOR PRESETSOUNDCOLOR STRING$SOUNDCOLOR OPEN STRING$SOUNDBSAVESOUNDCOLOR STRING$SOUNDCOLOR OPEN BSAVE STRING$SOUNDCOLOR SPC(SOUNDCOLOR OPEN Personal Label Printing OPEN
100 LOCATE5,8:PRINT"OPEN PRESETSOUND<0xB4!> OPEN CALL PRESETSOUND' OPEN OPEN CALL CALL PRESETSOUND<0xB4!> USINGSOUNDMOTORCOLOR PRESETSOUND' OPEN OPEN Program for IBM PC OPEN":LOCATE6,8:PRINT"NOTSOUNDSOUNDMERGE USR MOTOR USRSOUND' NOTSOUND' USR USR MOTOR MOTOR USR MOTOR USR MOTOR NOTSOUND' USR OPEN OPEN
140 LOCATE7,7:PRINT"CLSSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDUSRSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDSOUNDMERGE";:LOCATE1,33:PRINT"Version 1.D";:LOCATE24,10:PRINT"Copyright (C) 1983, 1984 D. T. Johnson All Rights Reserved.";
180 CLX$="
200 LOCATE12,1,1:LINEINPUT;" Enter Data File Name (8 characters maximum) ===> ";NEM$
240 LOCATE12,1:PRINTCLX$;:LOCATE12,1:LINEINPUT;" Specify Disk Drive (A-D) ===> ";DD$:IFLEN(DD$)<>1THENDD$="R
260 IFASC(DD$)<65ORASC(DD$)>69THENIFASC(DD$)<97ORASC(DD$)>100THENLOCATE14,31:BEEP:COLOR20,0,0:PRINT"Invalid Disk Drive";:FORP%=1TO3500:NEXT:COLOR7:LOCATE12,1:PRINTCLX$;:LOCATE14,1:PRINTCLX$;:GOTO240
420 OPEN DF1$ FOR INPUT AS #1:INPUT#1,N%,ACS%,LLS%,BTH%,BTV%,LPL%:DIMFPTR%(3000),URN%(3000):FORAR%=1TON%:INPUT#1,FPTR%(AR%):NEXTAR%:INPUT#1,UURN%:IFUURN%=0THENCLOSE1ELSEFORAR%=1TOUURN%:INPUT#1,URN%(AR%):NEXTAR%:CLOSE1
500 OPEN DF2$ AS #2 LEN=(LLS%*LPL%)+8:DIML1$(LPL%):ONERRORGOTO0
580 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2):GOTO850
600 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3):GOTO850
620 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4):GOTO850
640 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5):GOTO850
660 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6):GOTO850
680 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7):GOTO850
700 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8):GOTO850
720 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9):GOTO850
740 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9),LLS% AS L1$(10):GOTO850
760 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9),LLS% AS L1$(10),LLS% AS L1$(11):GOTO850
780 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9),LLS% AS L1$(10),LLS% AS L1$(11),LLS% AS L1$(12):GOTO850
800 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9),LLS% AS L1$(10),LLS% AS L1$(11),LLS% AS L1$(12),LLS% AS L1$(13):GOTO850
820 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9),LLS% AS L1$(10),LLS% AS L1$(11),LLS% AS L1$(12),LLS% AS L1$(13),LLS% AS L1$(14):GOTO850
840 FIELD #2,8 AS TT$,LLS% AS L1$(1),LLS% AS L1$(2),LLS% AS L1$(3),LLS% AS L1$(4),LLS% AS L1$(5),LLS% AS L1$(6),LLS% AS L1$(7),LLS% AS L1$(8),LLS% AS L1$(9),LLS% AS L1$(10),LLS% AS L1$(11),LLS% AS L1$(12),LLS% AS L1$(13),LLS% AS L1$(14),LLS% AS L1$(15)
850 DIMLBL%(5000)
860 CLS:COLOR0,7,0:LOCATE4,30:PRINT" L A B E L M A K E R ";:COLOR7,0,0:LOCATE6,2:PRINT"Current File: ";NEM$;:LOCATE6,60:PRINT"Number of Labels:";N%;
880 LOCATE6,28:COLOR15,0,0:PRINT"-------- Options --------";:LOCATE8,24:COLOR15,0,0:PRINT"A ";:PRINT"Add";:COLOR7,0,0:PRINT" a label to the file";:LOCATE9,24:COLOR15,0,0:PRINT"D ";:PRINT"Display/Edit/Select";:COLOR7,0,0:PRINT" labels";
940 LOCATE10,24:COLOR15,0,0:PRINT"F ";:PRINT"File Categories";:COLOR7,0,0:PRINT" in file";:LOCATE11,24:COLOR15,0,0:PRINT"C ";:PRINT"Change";:COLOR7,0,0:PRINT" active file";
980 LOCATE12,24:COLOR15,0,0:PRINT"S ";:PRINT"Sort";:COLOR7,0,0:PRINT" the labels in the file";:LOCATE13,24:COLOR15,0,0:PRINT"U ";:PRINT"Utilities";:COLOR7,0,0:PRINT" for print and file format";
1220 IFCH$="P"ORCH$="p"THENIFPRNT$="yes"THENPRNT$="":GOTO2860ELSELOCATE24,16:BEEP:COLOR20:PRINT"No print output selected. Select in Display mode";:COLOR7:FORP%=1TO4000:NEXTP%:LOCATE24,1:PRINTCLX$;:GOTO880
1240 IFCH$="U"ORCH$="u"THEN5960
1260 IFCH$="E"ORCH$="e"THEN7440
1280 GOTO880
1300 IFN%=0THENLOCATE20,33:PRINT"File is empty";:BEEP:FORPS%=1TO3000:NEXT:LOCATE20,1:PRINTCLX$;:GOTO1080
1320 LOCATE18,1:PRINTCLX$;:LOCATE18,24:PRINT"Sort by (C)ategory or (L)ine Number?":LOCATE18,60,1
1340 A$=INKEY$:IFA$=""THEN1340
1360 IFA$="c"ORA$="C"THENKL%=16:GOTO5100
1380 IFA$="l"ORA$="L"THENLOCATE22,24:PRINT"Enter line to sort by: (A-";CHR$(64+LPL%);")";ELSELOCATE22,33:PRINT"Invalid Choice";:BEEP:FORPS=1TO2000:NEXT:LOCATE20,1:PRINTCLX$;:LOCATE22,1:PRINTCLX$;:GOTO1080
1540 IFOLN%>23THENOLN%=5:LOCATE24,4:PRINT"Strike a key to continue";:U$=INKEY$:IFU$=""THENOLN%=50:GOTO1540 ELSECLS:LOCATE1,9:PRINT"File Categories";:LOCATE3,5:PRINT"Category No. Records";:LOCATE5,5:PRINTTT$;:GOTO1560
1560 YY$=TT$:NEXTYY%:IFYY%=N%+1THENLOCATEOLN%,20:PRINTCC%;:LOCATEOLN%+2,4:PRINT"Strike a key to continue";
1580 U$=INKEY$:IFU$=""THEN1580 ELSE860
1600 IFN%=0THENAON%=0:GOTO1640ELSELOCATE18,21,1:PRINT;"Enter category (8 characters maximum)":LOCATE19,21:LINEINPUT;"or press ENTER for all: ";CTG$:CTG$=LEFT$(CTG$,8):IFCTG$=""THENAON%=0:GOTO1640
1620 FORSE%=1TON%:GET#2,FPTR%(SE%):IFINSTR(TT$,CTG$)>0THENAON%=SE%:GOTO1640ELSENEXTSE%:LOCATE18,1:PRINTCLX$;:LOCATE19,1:PRINTCLX$;:LOCATE20,26:PRINT"Category ";CTG$;" not found";:BEEP:FORPS%=1TO5000:NEXT:LOCATE20,1:PRINTCLX$;:GOTO1080
1640 IFAON%<1THEN3520 ELSE3540
1660 CLS:COLOR0,7,0:LOCATE1,6:PRINT" ADD LABEL option ";:COLOR7,0,0:LOCATE1,30:PRINT"Current File: ";NEM$;" Number of Labels:";N%;
1700 LOCATE2,54:PRINT"Current Category: ";CTG$;:LOCATE4,1:PRINT"There are";LPL%;"lines defined on each label.";:LOCATE5,1:PRINT"Enter the characters for each line as they are requested.";:DIMA$(LPL%):FORAR%=1TOLPL%
1800 CLS:COLOR0,7:LOCATE1,6:PRINT" ADD LABEL option ";:COLOR7,0:LOCATE1,30:PRINT"Current File: ";NEM$;" Number of Labels:";N%;:LOCATE2,54:PRINT"Current Category: ";CTG$;:GOSUB4840
1820 LOCATE5+LPL%,1:PRINTCLX$;:LOCATE7+LPL%,27:PRINTCTG$;:LOCATE7+LPL%,3:PRINT"Enter a label category";:LOCATE7+LPL%,25:PRINT":";:LOCATE7+LPL%,27:LINEINPUT;TITLE$:IFTITLE$=""THENTITLE$=CTG$ ELSECTG$=TITLE$
1840 TITLE$=LEFT$(TITLE$,8):IFN%>2999THENLOCATE24,20:COLOR20:BEEP:PRINT"Maximum number of labels allowed is 3000";:BEEP:FORP%=1TO5500:NEXT:COLOR7:ERASEA$:GOTO860
2860 CLS:LOCATE 1,9:COLOR 0,7,0:PRINT" PRINT option ";:COLOR 7,0,0:LOCATE 1,30:PRINT"Current File: ";NEM$;" Number of Labels:";N%;:LOCATE 5,1:PRINT"Number of labels selected: ";NM%:LOCATE 7,1:PRINT"Total number of labels to be printed: ";CYT%
2900 IFTL%>5000THENLOCATE14,1:PRINT"WARNING - - More than 5000 labels requested. The first 5000 will be printed.";
2920 LOCATE3,50:PRINT"Number across: ";ACS%:LOCATE4,50:PRINT"Spaces bet. labels: ";BTH%;:LOCATE5,50:PRINT"Lines bet. labels: ";BTV%;:LOCATE6,50:PRINT"Lines on ea. label: ";LPL%;:LOCATE7,50:PRINT"Chars. on ea. label: ";LLS%;
3020 LOCATE10,1:PRINT"Turn the printer on.";:BEEP:BEEP:LOCATE12,1:PRINT"Strike any key when ready";:COLOR7,0,0
3080 LPRINTTAB(1);:LOCATE10,25:PRINT"Position the label feedstock in the printer.";:BEEP:BEEP:LOCATE12,1:PRINTCLX$;:LOCATE12,31:PRINT"Strike any key when ready";:COLOR7
3500 LOCATE6+AR%,1:PRINTCLX$;:LOCATE6+AR%,1:SOUND250,2:SOUND32767,1:SOUND200,2:PRINT"Each line must be less than";LLS%+1;"characters long.";:FORPAUSE=1TO4000:NEXT:LOCATE6+AR%,1:PRINTCLX$;:GOTO1740
3720 IFXNUM%(I%)>=N%THENLOCATES%+1,1:PRINT"----------------------------------End of file-----------------------------------";:GOTO3760
3740 NEXTI%
3760 LOCATE23,1:COLOR10:PRINT"<";:COLOR7:PRINT" Previous Page ";:COLOR10:PRINT">";:COLOR7:PRINT" NEXT PAGE ";:COLOR10:PRINT"ESC";:COLOR7:PRINT" MAIN MENU ";
4240 IFDSP%<1ORDSP%>N%THENCOLOR20,0,0:LOCATE25,29:PRINT"Label";DSP%;"does not exist";:SOUND777,3:SOUND32767,3:SOUND777,6:FORP%=1TO1500:NEXTP%:COLOR7,0,0:LOCATE24,1:PRINTCLX$;:LOCATE25,1:PRINTCLX$;:BRANCH$="":GOTO3760
4280 IFPRNT$="yes"THENLOCATE23,9:BEEP:BEEP:BEEP:COLOR20,0,0:PRINT"* * Removal not possible until selected labels are printed * *";:COLOR7,0,0:FORP%=1TO4000:NEXTP%:LOCATE23,1:PRINTCLX$;:BRANCH$="":GOTO3640
4300 CLS:LOCATE 1,6:COLOR 0,7,0:PRINT" DELETE LABEL option ";:COLOR 7,0,0:LOCATE 1,30:PRINT"Current File: ";NEM$;" Number of Labels:";N%;:GET#2,FPTR%(NBA%):DIM R1$(LPL%):FOR AR%=1 TO LPL%:R1$(AR%)=L1$(AR%):NEXT AR%:SHORT$="yes":U%=2:GOSUB 4840
4360 TMK%=AR%:NBB%=NBA%:LOCATETMK%+5,34:PRINT"deleting...";:FORAQ%=NBA%TONBB%:UURN%=UURN%+1:URN%(UURN%)=FPTR%(AQ%):NEXTAQ%:N%=(N%-(NBB%-NBA%))-1:FORCP%=NBA%TON%:FPTR%(CP%)=FPTR%(CP%+(NBB%-NBA%)+1):NEXTCP%:OPEN DF1$ FOR OUTPUT AS #1
4700 CMK%=TMK%+2:LOCATE CMK%,1:PRINT CLX$;:LOCATE CMK%,7:COLOR 3,0,0:PRINT"Enter letter of line to change";:COLOR 7,0,0:PRINT" (strike SPACE BAR to end)";
5100 IFPRNT$="yes"THENLOCATE23,9:BEEP:BEEP:BEEP:COLOR20,0,0:PRINT"* * Sorting not possible until selected labels are printed * *";:COLOR7,0,0:FORP%=1TO4000:NEXTP%:LOCATE23,1:PRINTCLX$;:BRANCH$="":GOTO860
5120 CLS:LOCATE1,8:COLOR0,7,0:PRINT" SORTING option ";:COLOR7,0,0:LOCATE1,30:PRINT"Current File: ";NEM$;" Number of Records:";N%;:IFBRANCH$<>"yes"THENNBB%=N%:NBA%=1
5200 LOCATE7,1:PRINT"Sort labels";NBA%;"through";NBB%;:LOCATE9,1:PRINT"Approximate time required:";INT((NBB%-NBA%)^0.8);"seconds";:LOCATE11,13:PRINT"Reading...";:V%=FRE(5):N8%=(NBB%-NBA%)+1:MXCR%=INT((V%-500)/N8%):IFMXCR%>LLS%THENMXCR%=LLS%
5240 IFMXCR%<1THENLOCATE18,5:PRINT"INSUFFICIENT MEMORY AVAILABLE TO SORT";NBB%-NBA%+1;"LABELS...";:LOCATE19,10:PRINT"Divide them into groups and resort.";:BEEP:BEEP:FORA%=1TO3000:NEXTA%:GOTO5640
5600 HLD%=1:OPEN DF1$ FOR OUTPUT AS #1:WRITE#1,N%,ACS%,LLS%,BTH%,BTV%,LPL%:FORAR%=1TON%:WRITE#1,FPTR%(AR%):NEXTAR%:WRITE#1,UURN%:IFUURN%=0THENCLOSE1ELSEFORAR%=1TOUURN%:WRITE#1,URN%(AR%):NEXTAR%
5680 KEYOFF:CLS:COLOR0,7,0:LOCATE5,25:PRINT"IBM PC Label Printing Program";:COLOR7,0,0:LOCATE9,5:PRINT"File ";:COLOR0,7,0:PRINTNEM$;:COLOR7,0,0:PRINT" not found on disk drive ";:COLOR0,7,0:PRINTDD$;:COLOR7,0,0:PRINT".";
5700 PRINT" Create this file? ";:COLOR23:PRINT"(y/n)";:COLOR7
5720 IP$=INKEY$:IFIP$=""THEN5720
5740 IFIP$<>"Y"ANDIP$<>"y"THENLOCATE11,24:PRINT"Press any key to return to start";:AA$=INKEY$:IFAA$=""THEN5740 ELSE60
5760 LOCATE9,1:PRINTCLX$;:LOCATE9,5:PRINT"Before the LABELMAKER files can be created, the number of";
5780 LOCATE10,5:PRINT"characters-per-line on a label and the number of lines-per-label";:LOCATE11,5:PRINT"must be specified.";:LOCATE13,5:PRINT"NOTE: Since these parameters will be used to determine record format";
5800 LOCATE14,5:PRINT"and length, in the data file, they will be difficult to change!";
5820 LOCATE16,1:INPUT;" Enter characters-per-line (60 Max.): ",LLS%
5840 IFLLS%>60ORLLS%<1THENLOCATE20,21:BEEP:COLOR20:PRINT"Invalid number of characters-per-line";:FORP%=1TO4000:NEXT:COLOR7:LOCATE20,1:PRINTCLX$;:LOCATE16,1:PRINTCLX$;:GOTO5820OK
5860 LOCATE18,1:INPUT;" Enter lines-per-label (15 Max.): ",LPL%:IFLPL%>15ORLPL%<1THENLOCATE20,20:BEEP:COLOR20:PRINT"Invalid number of lines-per-label";:FORP%=1TO4000:NEXT:COLOR7:LOCATE20,1:PRINTCLX$;:LOCATE18,1:PRINTCLX$;:GOTO5860
5900 ACS%=1:BTH%=4:BTV%=1:OPEN DF1$ FOR OUTPUT AS #1
5960 CLS:COLOR0,7,0:LOCATE1,22:PRINT"LABEL PRINT AND FORMAT UTILITIES";:COLOR7,0,0:LOCATE5,1:PRINT"Key to respecify";:LOCATE5,29:PRINT"Parameter";:LOCATE5,61:PRINT"Current Value";
6000 LOCATE6,1:PRINT"----------------";:LOCATE6,29:PRINT"---------";:LOCATE6,61:PRINT"-------------";:LOCATE7,8:PRINT"A Number of labels across page";:LOCATE7,60:PRINTACS%;"across";
6040 LOCATE8,8:PRINT"B Horizontal spaces between labels";:LOCATE8,60:PRINTBTH%;"spaces";:LOCATE9,8:PRINT"C Vertical spaces between labels";:LOCATE9,60:PRINTBTV%;"spaces";
6080 LOCATE10,8:PRINT"D Number of vertical lines on a label";:LOCATE10,60:PRINTLPL%;"lines";:LOCATE11,8:PRINT"E Number of horizontal spaces on a label";:LOCATE11,60:PRINTLLS%;"characters";
6120 LOCATE13,8:PRINT"S (end) Save changes and RETURN to main menu";:LOCATE14,8:PRINT"X (end) Cancel changes and RETURN to main menu";
6160 LOCATE16,1:PRINT"Note: Parameter's `D' and `E' will require the data file to be";:LOCATE17,7:PRINT"reformatted. Required hardware is two disk drives or one disk";:LOCATE18,7:PRINT"drive and an extra diskette.";
6700 OPEN DF1$ FOR OUTPUT AS #1:WRITE#1,N%,ACS%,LLS%,BTH%,BTV%,LPL%:FORAR%=1TON%:WRITE#1,FPTR%(AR%):NEXTAR%:WRITE#1,UURN%:IFUURN%=0THENCLOSE1:GOTO860ELSEFORAR%=1TOUURN%:WRITE#1,URN%(AR%):NEXTAR%:CLOSE1:GOTO860
6800 LOCATE12,1:PRINTCLX$;:LOCATE12,1:LINEINPUT;" Specify disk drive for reformatted file (A-D) ===> ";RDD$:IFLEN(RDD$)<>1THENRDD$="R
6820 IFASC(RDD$)<65ORASC(RDD$)>69THENIFASC(RDD$)<97ORASC(RDD$)>100THENLOCATE14,31:BEEP:COLOR20,0,0:PRINT"Invalid Disk Drive";:FORP%=1TO3500:NEXT:COLOR7:LOCATE12,1:PRINTCLX$;:LOCATE14,1:PRINTCLX$;:GOTO6800
6880 RDD$=CHR$(ARS%):DF3$=RDD$+":"+RNEM$+".CFG":DF4$=RDD$+":"+RNEM$+".RDT":IFNEM$=RNEM$THENLOCATE14,14:BEEP:COLOR20:PRINT"ERROR - Reformated file name is same as current file";:FORP%=1TO4500:NEXTP%:COLOR7:LOCATE14,1:PRINTCLX$;:GOTO6760
6940 OPEN DF3$ FOR OUTPUT AS #1:WRITE#1,N%,ACS%,LLS%,BTH%,BTV%,LPL%:FORAR%=1TON%:WRITE#1,FPTR%(AR%):NEXTAR%:WRITE#1,UURN%:IFUURN%=0THENCLOSE1ELSEFORAR%=1TOUURN%:WRITE#1,URN%(AR%):NEXTAR%:CLOSE1
6980 OPEN DF4$ AS #3 LEN=(LLS%*LPL%)+8:DIMM1$(LPL%):ONLPL%GOTO7020,7040,7060,7080,7100,7120,7140,7160,7180,7200,7220,7240,7260,7280,7300
7020 FIELD #3,8 AS RT$,LLS% AS M1$(1):GOTO7320
7040 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2):GOTO7320
7060 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3):GOTO7320
7080 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4):GOTO7320
7100 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5):GOTO7320
7120 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6):GOTO7320
7140 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7):GOTO7320
7160 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8):GOTO7320
7180 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9):GOTO7320
7200 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9),LLS% AS M1$(10):GOTO7320
7220 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9),LLS% AS M1$(10),LLS% AS M1$(11):GOTO7320
7240 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9),LLS% AS M1$(10),LLS% AS M1$(11),LLS% AS M1$(12):GOTO7320
7260 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9),LLS% AS M1$(10),LLS% AS M1$(11),LLS% AS M1$(12),LLS% AS M1$(13):GOTO7320
7280 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9),LLS% AS M1$(10),LLS% AS M1$(11),LLS% AS M1$(12),LLS% AS M1$(13),LLS% AS M1$(14):GOTO7320
7300 FIELD #3,8 AS RT$,LLS% AS M1$(1),LLS% AS M1$(2),LLS% AS M1$(3),LLS% AS M1$(4),LLS% AS M1$(5),LLS% AS M1$(6),LLS% AS M1$(7),LLS% AS M1$(8),LLS% AS M1$(9),LLS% AS M1$(10),LLS% AS M1$(11),LLS% AS M1$(12),LLS% AS M1$(13),LLS% AS M1$(14),LLS% AS M1$(15)