Home » Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf » Custom/CF_sheets/c_RefBook
Custom/CF_sheets/c_RefBook
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 » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf |
Filename: | Custom/CF_sheets/c_RefBook |
Read OK: | ✔ |
File size: | 02D5 bytes |
Load address: | FFFDDE43 |
Exec address: | 6D7FDF43 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- Archimedes archive » Zipped Apps » PipeDream » Custom/CF_sheets/c_RefBook
- Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf » Custom/CF_sheets/c_RefBook
File contents
%OP%LP* %OP%TM4 %OP%BM4 %OP%LM5 %OP%FX %OP%FY %OP%FS %OP%WC2,1238,1012,1364,0,0,0,0 %OP%VS3.81 Test (Oct 8 1991), Colton Software - Development, R0123 4567 8901 2345 %CO:A,67,0%%V%%L%function("fact","arg_1") %V%%L%result(if(@arg_1=1,1,@arg_1*fact(@arg_1-1))) %V%%L%function("find_space","str:text") %V%%L%for("i",1,length(@str),1) %V%%L% if(mid(@str,i,1)=char(32),break,0) %V%%L%next %V%%L%result(i) %V%%L%function("strip_spaces","str:text") %V%%L%set_name("stringout",@str) %V%%L%while(code(stringout)=32) %V%%L% set_name("stringout",right(stringout,length(stringout)-1)) %V%%L% if(length(stringout)<1,break,) %V%%L%endwhile %V%%L%result(stringout) %CO:B,21,60%%CO:C,12,48%%CO:D,12,36%%CO:E,12,24%%CO:F,12,12%
00000000 25 4f 50 25 4c 50 2a 0a 25 4f 50 25 54 4d 34 0a |%OP%LP*.%OP%TM4.| 00000010 25 4f 50 25 42 4d 34 0a 25 4f 50 25 4c 4d 35 0a |%OP%BM4.%OP%LM5.| 00000020 25 4f 50 25 46 58 0a 25 4f 50 25 46 59 0a 25 4f |%OP%FX.%OP%FY.%O| 00000030 50 25 46 53 0a 25 4f 50 25 57 43 32 2c 31 32 33 |P%FS.%OP%WC2,123| 00000040 38 2c 31 30 31 32 2c 31 33 36 34 2c 30 2c 30 2c |8,1012,1364,0,0,| 00000050 30 2c 30 0a 25 4f 50 25 56 53 33 2e 38 31 20 54 |0,0.%OP%VS3.81 T| 00000060 65 73 74 20 28 4f 63 74 20 20 38 20 31 39 39 31 |est (Oct 8 1991| 00000070 29 2c 20 43 6f 6c 74 6f 6e 20 53 6f 66 74 77 61 |), Colton Softwa| 00000080 72 65 20 2d 20 44 65 76 65 6c 6f 70 6d 65 6e 74 |re - Development| 00000090 2c 20 52 30 31 32 33 20 34 35 36 37 20 38 39 30 |, R0123 4567 890| 000000a0 31 20 32 33 34 35 0a 25 43 4f 3a 41 2c 36 37 2c |1 2345.%CO:A,67,| 000000b0 30 25 25 56 25 25 4c 25 66 75 6e 63 74 69 6f 6e |0%%V%%L%function| 000000c0 28 22 66 61 63 74 22 2c 22 61 72 67 5f 31 22 29 |("fact","arg_1")| 000000d0 0a 25 56 25 25 4c 25 72 65 73 75 6c 74 28 69 66 |.%V%%L%result(if| 000000e0 28 40 61 72 67 5f 31 3d 31 2c 31 2c 40 61 72 67 |(@arg_1=1,1,@arg| 000000f0 5f 31 2a 66 61 63 74 28 40 61 72 67 5f 31 2d 31 |_1*fact(@arg_1-1| 00000100 29 29 29 0a 0a 20 0a 25 56 25 25 4c 25 66 75 6e |))).. .%V%%L%fun| 00000110 63 74 69 6f 6e 28 22 66 69 6e 64 5f 73 70 61 63 |ction("find_spac| 00000120 65 22 2c 22 73 74 72 3a 74 65 78 74 22 29 0a 25 |e","str:text").%| 00000130 56 25 25 4c 25 66 6f 72 28 22 69 22 2c 31 2c 6c |V%%L%for("i",1,l| 00000140 65 6e 67 74 68 28 40 73 74 72 29 2c 31 29 0a 25 |ength(@str),1).%| 00000150 56 25 25 4c 25 20 20 20 20 69 66 28 6d 69 64 28 |V%%L% if(mid(| 00000160 40 73 74 72 2c 69 2c 31 29 3d 63 68 61 72 28 33 |@str,i,1)=char(3| 00000170 32 29 2c 62 72 65 61 6b 2c 30 29 0a 25 56 25 25 |2),break,0).%V%%| 00000180 4c 25 6e 65 78 74 0a 25 56 25 25 4c 25 72 65 73 |L%next.%V%%L%res| 00000190 75 6c 74 28 69 29 0a 0a 0a 25 56 25 25 4c 25 66 |ult(i)...%V%%L%f| 000001a0 75 6e 63 74 69 6f 6e 28 22 73 74 72 69 70 5f 73 |unction("strip_s| 000001b0 70 61 63 65 73 22 2c 22 73 74 72 3a 74 65 78 74 |paces","str:text| 000001c0 22 29 0a 25 56 25 25 4c 25 73 65 74 5f 6e 61 6d |").%V%%L%set_nam| 000001d0 65 28 22 73 74 72 69 6e 67 6f 75 74 22 2c 40 73 |e("stringout",@s| 000001e0 74 72 29 0a 25 56 25 25 4c 25 77 68 69 6c 65 28 |tr).%V%%L%while(| 000001f0 63 6f 64 65 28 73 74 72 69 6e 67 6f 75 74 29 3d |code(stringout)=| 00000200 33 32 29 0a 25 56 25 25 4c 25 20 20 20 20 73 65 |32).%V%%L% se| 00000210 74 5f 6e 61 6d 65 28 22 73 74 72 69 6e 67 6f 75 |t_name("stringou| 00000220 74 22 2c 72 69 67 68 74 28 73 74 72 69 6e 67 6f |t",right(stringo| 00000230 75 74 2c 6c 65 6e 67 74 68 28 73 74 72 69 6e 67 |ut,length(string| 00000240 6f 75 74 29 2d 31 29 29 0a 25 56 25 25 4c 25 20 |out)-1)).%V%%L% | 00000250 20 20 20 69 66 28 6c 65 6e 67 74 68 28 73 74 72 | if(length(str| 00000260 69 6e 67 6f 75 74 29 3c 31 2c 62 72 65 61 6b 2c |ingout)<1,break,| 00000270 29 0a 25 56 25 25 4c 25 65 6e 64 77 68 69 6c 65 |).%V%%L%endwhile| 00000280 0a 25 56 25 25 4c 25 72 65 73 75 6c 74 28 73 74 |.%V%%L%result(st| 00000290 72 69 6e 67 6f 75 74 29 0a 25 43 4f 3a 42 2c 32 |ringout).%CO:B,2| 000002a0 31 2c 36 30 25 25 43 4f 3a 43 2c 31 32 2c 34 38 |1,60%%CO:C,12,48| 000002b0 25 25 43 4f 3a 44 2c 31 32 2c 33 36 25 25 43 4f |%%CO:D,12,36%%CO| 000002c0 3a 45 2c 31 32 2c 32 34 25 25 43 4f 3a 46 2c 31 |:E,12,24%%CO:F,1| 000002d0 32 2c 31 32 25 |2,12%| 000002d5