Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_17.ADF » PROGS/WALKER1

PROGS/WALKER1

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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_17.ADF
Filename: PROGS/WALKER1
Read OK:
File size: 03FA bytes
Load address: 4C20450D
Exec address: 45545445
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
                                                       Derek Walker 
                                                       18 Rannoch Ave 
                                                       Bishopbriggs 
                                                       Glasgow 
                                                       G64 1BU 
                                                       24th November 1994 
     
 Mr A. Donnachaid 
 E.U.G. 
 25 Bertie Rd. 
 Southsea 
 Hampshire 
 P04 8JX 
     
     
 Dear Gus, 
     
 With the National lottery being launched last week and, not having an 
 unbiased method of selecting the six numbers, I decided to write a 
 simple Basic program to do the job for me.  It is based on the RND(X) 
 keyword to select the numbers with a simple routine to check each one  
 isn't already in the list.  The program could be improved by adding some 
 graphics - maybe another member would like to have a go? 
     
     
     
 Bye for now, 
     
     
     
     
 Derek Walker 
00000000  0d 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000030  20 20 20 20 20 20 20 20  44 65 72 65 6b 20 57 61  |        Derek Wa|
00000040  6c 6b 65 72 20 0d 20 20  20 20 20 20 20 20 20 20  |lker .          |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000070  20 20 20 20 20 20 20 20  20 20 20 20 20 31 38 20  |             18 |
00000080  52 61 6e 6e 6f 63 68 20  41 76 65 20 0d 20 20 20  |Rannoch Ave .   |
00000090  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000000c0  20 20 20 20 42 69 73 68  6f 70 62 72 69 67 67 73  |    Bishopbriggs|
000000d0  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
000000e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000100  20 20 20 20 20 20 20 20  20 47 6c 61 73 67 6f 77  |         Glasgow|
00000110  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00000120  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000140  20 20 20 20 20 20 20 20  20 47 36 34 20 31 42 55  |         G64 1BU|
00000150  20 0d 20 20 20 20 20 20  20 20 20 20 20 20 20 20  | .              |
00000160  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000180  20 20 20 20 20 20 20 20  20 32 34 74 68 20 4e 6f  |         24th No|
00000190  76 65 6d 62 65 72 20 31  39 39 34 20 0d 20 20 20  |vember 1994 .   |
000001a0  20 20 0d 20 4d 72 20 41  2e 20 44 6f 6e 6e 61 63  |  . Mr A. Donnac|
000001b0  68 61 69 64 20 0d 20 45  2e 55 2e 47 2e 20 0d 20  |haid . E.U.G. . |
000001c0  32 35 20 42 65 72 74 69  65 20 52 64 2e 20 0d 20  |25 Bertie Rd. . |
000001d0  53 6f 75 74 68 73 65 61  20 0d 20 48 61 6d 70 73  |Southsea . Hamps|
000001e0  68 69 72 65 20 0d 20 50  30 34 20 38 4a 58 20 0d  |hire . P04 8JX .|
000001f0  20 20 20 20 20 0d 20 20  20 20 20 0d 20 44 65 61  |     .     . Dea|
00000200  72 20 47 75 73 2c 20 0d  20 20 20 20 20 0d 20 57  |r Gus, .     . W|
00000210  69 74 68 20 74 68 65 20  4e 61 74 69 6f 6e 61 6c  |ith the National|
00000220  20 6c 6f 74 74 65 72 79  20 62 65 69 6e 67 20 6c  | lottery being l|
00000230  61 75 6e 63 68 65 64 20  6c 61 73 74 20 77 65 65  |aunched last wee|
00000240  6b 20 61 6e 64 2c 20 6e  6f 74 20 68 61 76 69 6e  |k and, not havin|
00000250  67 20 61 6e 20 0d 20 75  6e 62 69 61 73 65 64 20  |g an . unbiased |
00000260  6d 65 74 68 6f 64 20 6f  66 20 73 65 6c 65 63 74  |method of select|
00000270  69 6e 67 20 74 68 65 20  73 69 78 20 6e 75 6d 62  |ing the six numb|
00000280  65 72 73 2c 20 49 20 64  65 63 69 64 65 64 20 74  |ers, I decided t|
00000290  6f 20 77 72 69 74 65 20  61 20 0d 20 73 69 6d 70  |o write a . simp|
000002a0  6c 65 20 42 61 73 69 63  20 70 72 6f 67 72 61 6d  |le Basic program|
000002b0  20 74 6f 20 64 6f 20 74  68 65 20 6a 6f 62 20 66  | to do the job f|
000002c0  6f 72 20 6d 65 2e 20 20  49 74 20 69 73 20 62 61  |or me.  It is ba|
000002d0  73 65 64 20 6f 6e 20 74  68 65 20 52 4e 44 28 58  |sed on the RND(X|
000002e0  29 20 0d 20 6b 65 79 77  6f 72 64 20 74 6f 20 73  |) . keyword to s|
000002f0  65 6c 65 63 74 20 74 68  65 20 6e 75 6d 62 65 72  |elect the number|
00000300  73 20 77 69 74 68 20 61  20 73 69 6d 70 6c 65 20  |s with a simple |
00000310  72 6f 75 74 69 6e 65 20  74 6f 20 63 68 65 63 6b  |routine to check|
00000320  20 65 61 63 68 20 6f 6e  65 20 20 0d 20 69 73 6e  | each one  . isn|
00000330  27 74 20 61 6c 72 65 61  64 79 20 69 6e 20 74 68  |'t already in th|
00000340  65 20 6c 69 73 74 2e 20  20 54 68 65 20 70 72 6f  |e list.  The pro|
00000350  67 72 61 6d 20 63 6f 75  6c 64 20 62 65 20 69 6d  |gram could be im|
00000360  70 72 6f 76 65 64 20 62  79 20 61 64 64 69 6e 67  |proved by adding|
00000370  20 73 6f 6d 65 20 0d 20  67 72 61 70 68 69 63 73  | some . graphics|
00000380  20 2d 20 6d 61 79 62 65  20 61 6e 6f 74 68 65 72  | - maybe another|
00000390  20 6d 65 6d 62 65 72 20  77 6f 75 6c 64 20 6c 69  | member would li|
000003a0  6b 65 20 74 6f 20 68 61  76 65 20 61 20 67 6f 3f  |ke to have a go?|
000003b0  20 0d 20 20 20 20 20 0d  20 20 20 20 20 0d 20 20  | .     .     .  |
000003c0  20 20 20 0d 20 42 79 65  20 66 6f 72 20 6e 6f 77  |   . Bye for now|
000003d0  2c 20 0d 20 20 20 20 20  0d 20 20 20 20 20 0d 20  |, .     .     . |
000003e0  20 20 20 20 0d 20 20 20  20 20 0d 20 44 65 72 65  |    .     . Dere|
000003f0  6b 20 57 61 6c 6b 65 72  20 0d                    |k Walker .|
000003fa
PROGS/WALKER1.m0
PROGS/WALKER1.m1
PROGS/WALKER1.m2
PROGS/WALKER1.m4
PROGS/WALKER1.m5