Home » Archimedes archive » Zipped Apps » Fireworkz » Custom/Readme
Custom/Readme
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Zipped Apps » Fireworkz |
Filename: | Custom/Readme |
Read OK: | ✔ |
File size: | 0D74 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
{Version:1.05;01 Oct 1993;Fireworkz;Colton Software;4000 2029 4983 8986} {Block:0;0;;32;1;15;;32;1;15} {Style:BaseLetter;{ColWidth:11180}{ColName:#}{RowHeight:0}{RowHeightFix:0}{RowUnbreakable:0}{RowName:#}{MarginLeft:1190}{MarginRight:1032}{MarginPara:0}{Tablist:R793 L1135 L2269 L3403 L4537 L5671 L6805 L7939 L9073}{Background:255;255;255}{ParaStart:68}{ParaEnd:45}{LineSpace:0;72}{Justify:0}{NewObject:3}{Numform:#,##0.00}{NumformDT:dd.mm.yy}{NumformSE:@}{BorderColour:0;187;255}{Border:0}{GridLeftColour:0;187;255}{GridTopColour:0;187;255}{GridRightColour:0;187;255}{GridBottomColour:0;187;255}{GridLeft:0}{GridTop:0}{GridRight:0}{GridBottom:0}{Typeface:Times}{Fontx:0}{Fonty:280}{Underline:0}{Bold:0}{Italic:0}{Superscript:0}{Subscript:0}{Foreground:0;0;0}} {StyleBase:BaseLetter} {Style:BaseHeadFoot} {StyleHeaderFooter:BaseHeadFoot} {Style:Heading;{Justify:1}{Typeface:Times}{Fonty:480}{Bold:1}} {Style:Indent;{MarginLeft:1814}{MarginRight:845}{MarginPara:-567}{Tablist:L1}} {Paper:Default A4;0;16840;11900;460;460;360;360;0;0;0;0;32;;0} {PrintQuality:0} {StartOfData} {S:X;X;0;1;Friday 13th} {S:X;X;0;3;The files in this directory give a solution to the Friday 13th problem as posed in PipeLine many moons ago.} {S:X;X;0;4;The problem is to "prove" that the 13th of a month is more likely to be a Friday than any other particular day. } {S:X;X;0;5;This curious fact relies on (i) the modern calendar working in a 400-year cycle and (ii) the number of days in 400 years happens to be exactly divisible by 7. This implies that if 13th August 1993 is a Friday then 13th August 2393 will also be a Friday. Further, the pattern of Friday 13ths in the 400 years from 13th August 1993 to 12th August 2393 will be exactly the same as the pattern of Friday 13ths in the following 400 years. (This ignores any changes to the calendar in the next 400 years....)} {S:X;X;0;6;So the task is to count the number of Friday 13ths in a 400 year period and show that there are more Friday 13ths than Thursday 13ths or Wednesday 13ths and so on.} {S:X;X;0;7;Cell A5 in the worksheet Fri13 invokes the custom function and displays the results in column C. c_Fri13 contains the custom function itself. While it is calculating you will see a date updating in cell D2 and the intermediate values in column E. When the function finishes its calculation the totals are returned to the calling sheet which displays them in column C. (These will be the same as the previous values in column C as the custom function gives the same answer every time it recalculates and the values are saved with the worksheet.)} {S:X;X;0;8;The custom function works by finding the day of the week (weekday) of each 13th for 4800 consecutive months. The set_value in cell A9 uses the weekday as in index into the table and increments the value it finds there.} {S:X;X;0;11;Colton Software} {S:X;X;0;12;Friday 13th August 1993} {BR:;;;;;;;;1;1;{StyleHandle:BaseLetter}} {BR:;;;;;;;;1;1;{ColWidth:0}} {BR:0;;;;1;;;;1;0;{StyleHandle:BaseLetter}} {R:0;1;;32;1;2;;32;0;0;{StyleHandle:Heading}} {PageHefoBreakValues-H:0;0;0;;1;396;0;0;;;0;;;1;0;228;0;;;0} {HD-H:0;2} {HBR-H:0;2;;32;;32;{StyleHandle:BaseLetter}} {HBR-H:0;2;;32;;32;{StyleHandle:BaseHeadFoot}} {HD-H:0;3} {HBR-H:0;3;;32;;32;{StyleHandle:BaseLetter}} {HBR-H:0;3;;32;;32;{StyleHandle:BaseHeadFoot}} {EndOfData} {CmdGroup:{ViewCreate:6096;10368;11760;9920} {ViewControl:100;2;0;0;0;0;0;2048;0;2048} {CurrentPosition:0;13} }
00000000 7b 56 65 72 73 69 6f 6e 3a 31 2e 30 35 3b 30 31 |{Version:1.05;01| 00000010 20 4f 63 74 20 31 39 39 33 3b 46 69 72 65 77 6f | Oct 1993;Firewo| 00000020 72 6b 7a 3b 43 6f 6c 74 6f 6e 20 53 6f 66 74 77 |rkz;Colton Softw| 00000030 61 72 65 3b 34 30 30 30 20 32 30 32 39 20 34 39 |are;4000 2029 49| 00000040 38 33 20 38 39 38 36 7d 0a 7b 42 6c 6f 63 6b 3a |83 8986}.{Block:| 00000050 30 3b 30 3b 3b 33 32 3b 31 3b 31 35 3b 3b 33 32 |0;0;;32;1;15;;32| 00000060 3b 31 3b 31 35 7d 0a 7b 53 74 79 6c 65 3a 42 61 |;1;15}.{Style:Ba| 00000070 73 65 4c 65 74 74 65 72 3b 7b 43 6f 6c 57 69 64 |seLetter;{ColWid| 00000080 74 68 3a 31 31 31 38 30 7d 7b 43 6f 6c 4e 61 6d |th:11180}{ColNam| 00000090 65 3a 23 7d 7b 52 6f 77 48 65 69 67 68 74 3a 30 |e:#}{RowHeight:0| 000000a0 7d 7b 52 6f 77 48 65 69 67 68 74 46 69 78 3a 30 |}{RowHeightFix:0| 000000b0 7d 7b 52 6f 77 55 6e 62 72 65 61 6b 61 62 6c 65 |}{RowUnbreakable| 000000c0 3a 30 7d 7b 52 6f 77 4e 61 6d 65 3a 23 7d 7b 4d |:0}{RowName:#}{M| 000000d0 61 72 67 69 6e 4c 65 66 74 3a 31 31 39 30 7d 7b |arginLeft:1190}{| 000000e0 4d 61 72 67 69 6e 52 69 67 68 74 3a 31 30 33 32 |MarginRight:1032| 000000f0 7d 7b 4d 61 72 67 69 6e 50 61 72 61 3a 30 7d 7b |}{MarginPara:0}{| 00000100 54 61 62 6c 69 73 74 3a 52 37 39 33 20 4c 31 31 |Tablist:R793 L11| 00000110 33 35 20 4c 32 32 36 39 20 4c 33 34 30 33 20 4c |35 L2269 L3403 L| 00000120 34 35 33 37 20 4c 35 36 37 31 20 4c 36 38 30 35 |4537 L5671 L6805| 00000130 20 4c 37 39 33 39 20 4c 39 30 37 33 7d 7b 42 61 | L7939 L9073}{Ba| 00000140 63 6b 67 72 6f 75 6e 64 3a 32 35 35 3b 32 35 35 |ckground:255;255| 00000150 3b 32 35 35 7d 7b 50 61 72 61 53 74 61 72 74 3a |;255}{ParaStart:| 00000160 36 38 7d 7b 50 61 72 61 45 6e 64 3a 34 35 7d 7b |68}{ParaEnd:45}{| 00000170 4c 69 6e 65 53 70 61 63 65 3a 30 3b 37 32 7d 7b |LineSpace:0;72}{| 00000180 4a 75 73 74 69 66 79 3a 30 7d 7b 4e 65 77 4f 62 |Justify:0}{NewOb| 00000190 6a 65 63 74 3a 33 7d 7b 4e 75 6d 66 6f 72 6d 3a |ject:3}{Numform:| 000001a0 23 2c 23 23 30 2e 30 30 7d 7b 4e 75 6d 66 6f 72 |#,##0.00}{Numfor| 000001b0 6d 44 54 3a 64 64 2e 6d 6d 2e 79 79 7d 7b 4e 75 |mDT:dd.mm.yy}{Nu| 000001c0 6d 66 6f 72 6d 53 45 3a 40 7d 7b 42 6f 72 64 65 |mformSE:@}{Borde| 000001d0 72 43 6f 6c 6f 75 72 3a 30 3b 31 38 37 3b 32 35 |rColour:0;187;25| 000001e0 35 7d 7b 42 6f 72 64 65 72 3a 30 7d 7b 47 72 69 |5}{Border:0}{Gri| 000001f0 64 4c 65 66 74 43 6f 6c 6f 75 72 3a 30 3b 31 38 |dLeftColour:0;18| 00000200 37 3b 32 35 35 7d 7b 47 72 69 64 54 6f 70 43 6f |7;255}{GridTopCo| 00000210 6c 6f 75 72 3a 30 3b 31 38 37 3b 32 35 35 7d 7b |lour:0;187;255}{| 00000220 47 72 69 64 52 69 67 68 74 43 6f 6c 6f 75 72 3a |GridRightColour:| 00000230 30 3b 31 38 37 3b 32 35 35 7d 7b 47 72 69 64 42 |0;187;255}{GridB| 00000240 6f 74 74 6f 6d 43 6f 6c 6f 75 72 3a 30 3b 31 38 |ottomColour:0;18| 00000250 37 3b 32 35 35 7d 7b 47 72 69 64 4c 65 66 74 3a |7;255}{GridLeft:| 00000260 30 7d 7b 47 72 69 64 54 6f 70 3a 30 7d 7b 47 72 |0}{GridTop:0}{Gr| 00000270 69 64 52 69 67 68 74 3a 30 7d 7b 47 72 69 64 42 |idRight:0}{GridB| 00000280 6f 74 74 6f 6d 3a 30 7d 7b 54 79 70 65 66 61 63 |ottom:0}{Typefac| 00000290 65 3a 54 69 6d 65 73 7d 7b 46 6f 6e 74 78 3a 30 |e:Times}{Fontx:0| 000002a0 7d 7b 46 6f 6e 74 79 3a 32 38 30 7d 7b 55 6e 64 |}{Fonty:280}{Und| 000002b0 65 72 6c 69 6e 65 3a 30 7d 7b 42 6f 6c 64 3a 30 |erline:0}{Bold:0| 000002c0 7d 7b 49 74 61 6c 69 63 3a 30 7d 7b 53 75 70 65 |}{Italic:0}{Supe| 000002d0 72 73 63 72 69 70 74 3a 30 7d 7b 53 75 62 73 63 |rscript:0}{Subsc| 000002e0 72 69 70 74 3a 30 7d 7b 46 6f 72 65 67 72 6f 75 |ript:0}{Foregrou| 000002f0 6e 64 3a 30 3b 30 3b 30 7d 7d 0a 7b 53 74 79 6c |nd:0;0;0}}.{Styl| 00000300 65 42 61 73 65 3a 42 61 73 65 4c 65 74 74 65 72 |eBase:BaseLetter| 00000310 7d 0a 7b 53 74 79 6c 65 3a 42 61 73 65 48 65 61 |}.{Style:BaseHea| 00000320 64 46 6f 6f 74 7d 0a 7b 53 74 79 6c 65 48 65 61 |dFoot}.{StyleHea| 00000330 64 65 72 46 6f 6f 74 65 72 3a 42 61 73 65 48 65 |derFooter:BaseHe| 00000340 61 64 46 6f 6f 74 7d 0a 7b 53 74 79 6c 65 3a 48 |adFoot}.{Style:H| 00000350 65 61 64 69 6e 67 3b 7b 4a 75 73 74 69 66 79 3a |eading;{Justify:| 00000360 31 7d 7b 54 79 70 65 66 61 63 65 3a 54 69 6d 65 |1}{Typeface:Time| 00000370 73 7d 7b 46 6f 6e 74 79 3a 34 38 30 7d 7b 42 6f |s}{Fonty:480}{Bo| 00000380 6c 64 3a 31 7d 7d 0a 7b 53 74 79 6c 65 3a 49 6e |ld:1}}.{Style:In| 00000390 64 65 6e 74 3b 7b 4d 61 72 67 69 6e 4c 65 66 74 |dent;{MarginLeft| 000003a0 3a 31 38 31 34 7d 7b 4d 61 72 67 69 6e 52 69 67 |:1814}{MarginRig| 000003b0 68 74 3a 38 34 35 7d 7b 4d 61 72 67 69 6e 50 61 |ht:845}{MarginPa| 000003c0 72 61 3a 2d 35 36 37 7d 7b 54 61 62 6c 69 73 74 |ra:-567}{Tablist| 000003d0 3a 4c 31 7d 7d 0a 7b 50 61 70 65 72 3a 44 65 66 |:L1}}.{Paper:Def| 000003e0 61 75 6c 74 20 41 34 3b 30 3b 31 36 38 34 30 3b |ault A4;0;16840;| 000003f0 31 31 39 30 30 3b 34 36 30 3b 34 36 30 3b 33 36 |11900;460;460;36| 00000400 30 3b 33 36 30 3b 30 3b 30 3b 30 3b 30 3b 33 32 |0;360;0;0;0;0;32| 00000410 3b 3b 30 7d 0a 7b 50 72 69 6e 74 51 75 61 6c 69 |;;0}.{PrintQuali| 00000420 74 79 3a 30 7d 0a 7b 53 74 61 72 74 4f 66 44 61 |ty:0}.{StartOfDa| 00000430 74 61 7d 0a 7b 53 3a 58 3b 58 3b 30 3b 31 3b 46 |ta}.{S:X;X;0;1;F| 00000440 72 69 64 61 79 20 31 33 74 68 7d 0a 7b 53 3a 58 |riday 13th}.{S:X| 00000450 3b 58 3b 30 3b 33 3b 54 68 65 20 66 69 6c 65 73 |;X;0;3;The files| 00000460 20 69 6e 20 74 68 69 73 20 64 69 72 65 63 74 6f | in this directo| 00000470 72 79 20 67 69 76 65 20 61 20 73 6f 6c 75 74 69 |ry give a soluti| 00000480 6f 6e 20 74 6f 20 74 68 65 20 46 72 69 64 61 79 |on to the Friday| 00000490 20 31 33 74 68 20 70 72 6f 62 6c 65 6d 20 61 73 | 13th problem as| 000004a0 20 70 6f 73 65 64 20 69 6e 20 50 69 70 65 4c 69 | posed in PipeLi| 000004b0 6e 65 20 6d 61 6e 79 20 6d 6f 6f 6e 73 20 61 67 |ne many moons ag| 000004c0 6f 2e 7d 0a 7b 53 3a 58 3b 58 3b 30 3b 34 3b 54 |o.}.{S:X;X;0;4;T| 000004d0 68 65 20 70 72 6f 62 6c 65 6d 20 69 73 20 74 6f |he problem is to| 000004e0 20 22 70 72 6f 76 65 22 20 74 68 61 74 20 74 68 | "prove" that th| 000004f0 65 20 31 33 74 68 20 6f 66 20 61 20 6d 6f 6e 74 |e 13th of a mont| 00000500 68 20 69 73 20 6d 6f 72 65 20 6c 69 6b 65 6c 79 |h is more likely| 00000510 20 74 6f 20 62 65 20 61 20 46 72 69 64 61 79 20 | to be a Friday | 00000520 74 68 61 6e 20 61 6e 79 20 6f 74 68 65 72 20 70 |than any other p| 00000530 61 72 74 69 63 75 6c 61 72 20 64 61 79 2e 20 7d |articular day. }| 00000540 0a 7b 53 3a 58 3b 58 3b 30 3b 35 3b 54 68 69 73 |.{S:X;X;0;5;This| 00000550 20 63 75 72 69 6f 75 73 20 66 61 63 74 20 72 65 | curious fact re| 00000560 6c 69 65 73 20 6f 6e 20 28 69 29 20 74 68 65 20 |lies on (i) the | 00000570 6d 6f 64 65 72 6e 20 63 61 6c 65 6e 64 61 72 20 |modern calendar | 00000580 77 6f 72 6b 69 6e 67 20 69 6e 20 61 20 34 30 30 |working in a 400| 00000590 2d 79 65 61 72 20 63 79 63 6c 65 20 61 6e 64 20 |-year cycle and | 000005a0 28 69 69 29 20 74 68 65 20 6e 75 6d 62 65 72 20 |(ii) the number | 000005b0 6f 66 20 64 61 79 73 20 69 6e 20 34 30 30 20 79 |of days in 400 y| 000005c0 65 61 72 73 20 68 61 70 70 65 6e 73 20 74 6f 20 |ears happens to | 000005d0 62 65 20 65 78 61 63 74 6c 79 20 64 69 76 69 73 |be exactly divis| 000005e0 69 62 6c 65 20 62 79 20 37 2e 20 54 68 69 73 20 |ible by 7. This | 000005f0 69 6d 70 6c 69 65 73 20 74 68 61 74 20 69 66 20 |implies that if | 00000600 31 33 74 68 20 41 75 67 75 73 74 20 31 39 39 33 |13th August 1993| 00000610 20 69 73 20 61 20 46 72 69 64 61 79 20 74 68 65 | is a Friday the| 00000620 6e 20 31 33 74 68 20 41 75 67 75 73 74 20 32 33 |n 13th August 23| 00000630 39 33 20 77 69 6c 6c 20 61 6c 73 6f 20 62 65 20 |93 will also be | 00000640 61 20 46 72 69 64 61 79 2e 20 46 75 72 74 68 65 |a Friday. Furthe| 00000650 72 2c 20 74 68 65 20 70 61 74 74 65 72 6e 20 6f |r, the pattern o| 00000660 66 20 46 72 69 64 61 79 20 31 33 74 68 73 20 69 |f Friday 13ths i| 00000670 6e 20 74 68 65 20 34 30 30 20 79 65 61 72 73 20 |n the 400 years | 00000680 66 72 6f 6d 20 31 33 74 68 20 41 75 67 75 73 74 |from 13th August| 00000690 20 31 39 39 33 20 74 6f 20 31 32 74 68 20 41 75 | 1993 to 12th Au| 000006a0 67 75 73 74 20 32 33 39 33 20 77 69 6c 6c 20 62 |gust 2393 will b| 000006b0 65 20 65 78 61 63 74 6c 79 20 74 68 65 20 73 61 |e exactly the sa| 000006c0 6d 65 20 61 73 20 74 68 65 20 70 61 74 74 65 72 |me as the patter| 000006d0 6e 20 6f 66 20 46 72 69 64 61 79 20 31 33 74 68 |n of Friday 13th| 000006e0 73 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 |s in the followi| 000006f0 6e 67 20 34 30 30 20 79 65 61 72 73 2e 20 28 54 |ng 400 years. (T| 00000700 68 69 73 20 69 67 6e 6f 72 65 73 20 61 6e 79 20 |his ignores any | 00000710 63 68 61 6e 67 65 73 20 74 6f 20 74 68 65 20 63 |changes to the c| 00000720 61 6c 65 6e 64 61 72 20 69 6e 20 74 68 65 20 6e |alendar in the n| 00000730 65 78 74 20 34 30 30 20 79 65 61 72 73 2e 2e 2e |ext 400 years...| 00000740 2e 29 7d 0a 7b 53 3a 58 3b 58 3b 30 3b 36 3b 53 |.)}.{S:X;X;0;6;S| 00000750 6f 20 74 68 65 20 74 61 73 6b 20 69 73 20 74 6f |o the task is to| 00000760 20 63 6f 75 6e 74 20 74 68 65 20 6e 75 6d 62 65 | count the numbe| 00000770 72 20 6f 66 20 46 72 69 64 61 79 20 31 33 74 68 |r of Friday 13th| 00000780 73 20 69 6e 20 61 20 34 30 30 20 79 65 61 72 20 |s in a 400 year | 00000790 70 65 72 69 6f 64 20 61 6e 64 20 73 68 6f 77 20 |period and show | 000007a0 74 68 61 74 20 74 68 65 72 65 20 61 72 65 20 6d |that there are m| 000007b0 6f 72 65 20 46 72 69 64 61 79 20 31 33 74 68 73 |ore Friday 13ths| 000007c0 20 74 68 61 6e 20 54 68 75 72 73 64 61 79 20 31 | than Thursday 1| 000007d0 33 74 68 73 20 6f 72 20 57 65 64 6e 65 73 64 61 |3ths or Wednesda| 000007e0 79 20 31 33 74 68 73 20 61 6e 64 20 73 6f 20 6f |y 13ths and so o| 000007f0 6e 2e 7d 0a 7b 53 3a 58 3b 58 3b 30 3b 37 3b 43 |n.}.{S:X;X;0;7;C| 00000800 65 6c 6c 20 20 41 35 20 69 6e 20 74 68 65 20 77 |ell A5 in the w| 00000810 6f 72 6b 73 68 65 65 74 20 46 72 69 31 33 20 69 |orksheet Fri13 i| 00000820 6e 76 6f 6b 65 73 20 74 68 65 20 63 75 73 74 6f |nvokes the custo| 00000830 6d 20 66 75 6e 63 74 69 6f 6e 20 61 6e 64 20 64 |m function and d| 00000840 69 73 70 6c 61 79 73 20 74 68 65 20 72 65 73 75 |isplays the resu| 00000850 6c 74 73 20 69 6e 20 63 6f 6c 75 6d 6e 20 43 2e |lts in column C.| 00000860 20 63 5f 46 72 69 31 33 20 63 6f 6e 74 61 69 6e | c_Fri13 contain| 00000870 73 20 74 68 65 20 63 75 73 74 6f 6d 20 66 75 6e |s the custom fun| 00000880 63 74 69 6f 6e 20 69 74 73 65 6c 66 2e 20 57 68 |ction itself. Wh| 00000890 69 6c 65 20 69 74 20 69 73 20 63 61 6c 63 75 6c |ile it is calcul| 000008a0 61 74 69 6e 67 20 79 6f 75 20 77 69 6c 6c 20 73 |ating you will s| 000008b0 65 65 20 61 20 64 61 74 65 20 75 70 64 61 74 69 |ee a date updati| 000008c0 6e 67 20 69 6e 20 63 65 6c 6c 20 44 32 20 61 6e |ng in cell D2 an| 000008d0 64 20 74 68 65 20 69 6e 74 65 72 6d 65 64 69 61 |d the intermedia| 000008e0 74 65 20 76 61 6c 75 65 73 20 69 6e 20 63 6f 6c |te values in col| 000008f0 75 6d 6e 20 45 2e 20 57 68 65 6e 20 74 68 65 20 |umn E. When the | 00000900 66 75 6e 63 74 69 6f 6e 20 66 69 6e 69 73 68 65 |function finishe| 00000910 73 20 69 74 73 20 63 61 6c 63 75 6c 61 74 69 6f |s its calculatio| 00000920 6e 20 74 68 65 20 74 6f 74 61 6c 73 20 61 72 65 |n the totals are| 00000930 20 72 65 74 75 72 6e 65 64 20 74 6f 20 74 68 65 | returned to the| 00000940 20 63 61 6c 6c 69 6e 67 20 73 68 65 65 74 20 77 | calling sheet w| 00000950 68 69 63 68 20 64 69 73 70 6c 61 79 73 20 74 68 |hich displays th| 00000960 65 6d 20 69 6e 20 63 6f 6c 75 6d 6e 20 43 2e 20 |em in column C. | 00000970 28 54 68 65 73 65 20 77 69 6c 6c 20 62 65 20 74 |(These will be t| 00000980 68 65 20 73 61 6d 65 20 61 73 20 74 68 65 20 70 |he same as the p| 00000990 72 65 76 69 6f 75 73 20 76 61 6c 75 65 73 20 69 |revious values i| 000009a0 6e 20 63 6f 6c 75 6d 6e 20 43 20 61 73 20 74 68 |n column C as th| 000009b0 65 20 63 75 73 74 6f 6d 20 66 75 6e 63 74 69 6f |e custom functio| 000009c0 6e 20 67 69 76 65 73 20 74 68 65 20 73 61 6d 65 |n gives the same| 000009d0 20 61 6e 73 77 65 72 20 65 76 65 72 79 20 74 69 | answer every ti| 000009e0 6d 65 20 69 74 20 72 65 63 61 6c 63 75 6c 61 74 |me it recalculat| 000009f0 65 73 20 61 6e 64 20 74 68 65 20 76 61 6c 75 65 |es and the value| 00000a00 73 20 61 72 65 20 73 61 76 65 64 20 77 69 74 68 |s are saved with| 00000a10 20 74 68 65 20 77 6f 72 6b 73 68 65 65 74 2e 29 | the worksheet.)| 00000a20 7d 0a 7b 53 3a 58 3b 58 3b 30 3b 38 3b 54 68 65 |}.{S:X;X;0;8;The| 00000a30 20 63 75 73 74 6f 6d 20 66 75 6e 63 74 69 6f 6e | custom function| 00000a40 20 77 6f 72 6b 73 20 62 79 20 66 69 6e 64 69 6e | works by findin| 00000a50 67 20 74 68 65 20 64 61 79 20 6f 66 20 74 68 65 |g the day of the| 00000a60 20 77 65 65 6b 20 28 77 65 65 6b 64 61 79 29 20 | week (weekday) | 00000a70 6f 66 20 65 61 63 68 20 31 33 74 68 20 66 6f 72 |of each 13th for| 00000a80 20 34 38 30 30 20 63 6f 6e 73 65 63 75 74 69 76 | 4800 consecutiv| 00000a90 65 20 6d 6f 6e 74 68 73 2e 20 54 68 65 20 73 65 |e months. The se| 00000aa0 74 5f 76 61 6c 75 65 20 69 6e 20 63 65 6c 6c 20 |t_value in cell | 00000ab0 41 39 20 75 73 65 73 20 74 68 65 20 77 65 65 6b |A9 uses the week| 00000ac0 64 61 79 20 61 73 20 69 6e 20 69 6e 64 65 78 20 |day as in index | 00000ad0 69 6e 74 6f 20 74 68 65 20 74 61 62 6c 65 20 61 |into the table a| 00000ae0 6e 64 20 69 6e 63 72 65 6d 65 6e 74 73 20 74 68 |nd increments th| 00000af0 65 20 76 61 6c 75 65 20 69 74 20 66 69 6e 64 73 |e value it finds| 00000b00 20 74 68 65 72 65 2e 7d 0a 7b 53 3a 58 3b 58 3b | there.}.{S:X;X;| 00000b10 30 3b 31 31 3b 43 6f 6c 74 6f 6e 20 53 6f 66 74 |0;11;Colton Soft| 00000b20 77 61 72 65 7d 0a 7b 53 3a 58 3b 58 3b 30 3b 31 |ware}.{S:X;X;0;1| 00000b30 32 3b 46 72 69 64 61 79 20 31 33 74 68 20 41 75 |2;Friday 13th Au| 00000b40 67 75 73 74 20 31 39 39 33 7d 0a 7b 42 52 3a 3b |gust 1993}.{BR:;| 00000b50 3b 3b 3b 3b 3b 3b 3b 31 3b 31 3b 7b 53 74 79 6c |;;;;;;;1;1;{Styl| 00000b60 65 48 61 6e 64 6c 65 3a 42 61 73 65 4c 65 74 74 |eHandle:BaseLett| 00000b70 65 72 7d 7d 0a 7b 42 52 3a 3b 3b 3b 3b 3b 3b 3b |er}}.{BR:;;;;;;;| 00000b80 3b 31 3b 31 3b 7b 43 6f 6c 57 69 64 74 68 3a 30 |;1;1;{ColWidth:0| 00000b90 7d 7d 0a 7b 42 52 3a 30 3b 3b 3b 3b 31 3b 3b 3b |}}.{BR:0;;;;1;;;| 00000ba0 3b 31 3b 30 3b 7b 53 74 79 6c 65 48 61 6e 64 6c |;1;0;{StyleHandl| 00000bb0 65 3a 42 61 73 65 4c 65 74 74 65 72 7d 7d 0a 7b |e:BaseLetter}}.{| 00000bc0 52 3a 30 3b 31 3b 3b 33 32 3b 31 3b 32 3b 3b 33 |R:0;1;;32;1;2;;3| 00000bd0 32 3b 30 3b 30 3b 7b 53 74 79 6c 65 48 61 6e 64 |2;0;0;{StyleHand| 00000be0 6c 65 3a 48 65 61 64 69 6e 67 7d 7d 0a 7b 50 61 |le:Heading}}.{Pa| 00000bf0 67 65 48 65 66 6f 42 72 65 61 6b 56 61 6c 75 65 |geHefoBreakValue| 00000c00 73 2d 48 3a 30 3b 30 3b 30 3b 3b 31 3b 33 39 36 |s-H:0;0;0;;1;396| 00000c10 3b 30 3b 30 3b 3b 3b 30 3b 3b 3b 31 3b 30 3b 32 |;0;0;;;0;;;1;0;2| 00000c20 32 38 3b 30 3b 3b 3b 30 7d 0a 7b 48 44 2d 48 3a |28;0;;;0}.{HD-H:| 00000c30 30 3b 32 7d 0a 7b 48 42 52 2d 48 3a 30 3b 32 3b |0;2}.{HBR-H:0;2;| 00000c40 3b 33 32 3b 3b 33 32 3b 7b 53 74 79 6c 65 48 61 |;32;;32;{StyleHa| 00000c50 6e 64 6c 65 3a 42 61 73 65 4c 65 74 74 65 72 7d |ndle:BaseLetter}| 00000c60 7d 0a 7b 48 42 52 2d 48 3a 30 3b 32 3b 3b 33 32 |}.{HBR-H:0;2;;32| 00000c70 3b 3b 33 32 3b 7b 53 74 79 6c 65 48 61 6e 64 6c |;;32;{StyleHandl| 00000c80 65 3a 42 61 73 65 48 65 61 64 46 6f 6f 74 7d 7d |e:BaseHeadFoot}}| 00000c90 0a 7b 48 44 2d 48 3a 30 3b 33 7d 0a 7b 48 42 52 |.{HD-H:0;3}.{HBR| 00000ca0 2d 48 3a 30 3b 33 3b 3b 33 32 3b 3b 33 32 3b 7b |-H:0;3;;32;;32;{| 00000cb0 53 74 79 6c 65 48 61 6e 64 6c 65 3a 42 61 73 65 |StyleHandle:Base| 00000cc0 4c 65 74 74 65 72 7d 7d 0a 7b 48 42 52 2d 48 3a |Letter}}.{HBR-H:| 00000cd0 30 3b 33 3b 3b 33 32 3b 3b 33 32 3b 7b 53 74 79 |0;3;;32;;32;{Sty| 00000ce0 6c 65 48 61 6e 64 6c 65 3a 42 61 73 65 48 65 61 |leHandle:BaseHea| 00000cf0 64 46 6f 6f 74 7d 7d 0a 7b 45 6e 64 4f 66 44 61 |dFoot}}.{EndOfDa| 00000d00 74 61 7d 0a 7b 43 6d 64 47 72 6f 75 70 3a 7b 56 |ta}.{CmdGroup:{V| 00000d10 69 65 77 43 72 65 61 74 65 3a 36 30 39 36 3b 31 |iewCreate:6096;1| 00000d20 30 33 36 38 3b 31 31 37 36 30 3b 39 39 32 30 7d |0368;11760;9920}| 00000d30 0a 7b 56 69 65 77 43 6f 6e 74 72 6f 6c 3a 31 30 |.{ViewControl:10| 00000d40 30 3b 32 3b 30 3b 30 3b 30 3b 30 3b 30 3b 32 30 |0;2;0;0;0;0;0;20| 00000d50 34 38 3b 30 3b 32 30 34 38 7d 0a 7b 43 75 72 72 |48;0;2048}.{Curr| 00000d60 65 6e 74 50 6f 73 69 74 69 6f 6e 3a 30 3b 31 33 |entPosition:0;13| 00000d70 7d 0a 7d 0a |}.}.| 00000d74