Home » Archimedes archive » Archimedes World » AW-1992-03.adf » AWMar92 » !AWMar92/Goodies/ArcAut/Info/Table2

!AWMar92/Goodies/ArcAut/Info/Table2

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 » Archimedes World » AW-1992-03.adf » AWMar92
Filename: !AWMar92/Goodies/ArcAut/Info/Table2
Read OK:
File size: 0C72 bytes
Load address: 0000
Exec address: 0000
File contents
 TABLE 2: Commands
    

  Procedure            Prior stack state                    Resulting stack state                              
                    {bottom,   middle, & top of stack}   {bottom,   middle, & top of stack}

         ==          ?a        ?b        n                terminates code, returning with value n as new cell state
         IF          ?a        ?b        n                empty     ?a        ?b    {conditional execution dependant on n}
SCOUNT_NEIG          ?a        ?b        n                ?a        ?b        number of neighbours which have state=n
 SCOUNT_ALL          ?a        ?b        n                ?a        ?b        number of local cells which have state=n
MCOUNT_NEIG          ?a        n         m                empty     ?a        number of neighbours which have n <= state <= m
 MCOUNT_ALL          ?a        n         m                empty     ?a        number of local cells which have n <= state <= m
   SUM_NEIG          empty     ?a        ?b               ?a        ?b        sum of the states of the neighbours
    SUM_ALL          empty     ?a        ?b               ?a        ?b        sum of the states of all the local cells
       2RND          empty     ?a        ?b               ?a        ?b        random integer from {0,1}
       4RND          empty     ?a        ?b               ?a        ?b        random integer      {0,1,2,3}
       8RND          empty     ?a        ?b               ?a        ?b        random integer      {0,. . .,7}
     256RND          empty     ?a        ?b               ?a        ?b        random integer      {0,. . .,255}
      2RNDB          empty     ?a        ?b               ?a        ?b        random integer per block from {0,1}; see * below
      4RNDB          empty     ?a        ?b               ?a        ?b        random integer                {0,1,2,3}; see *
      8RNDB          empty     ?a        ?b               ?a        ?b        random integer                {0,. . .,7}; see *
    256RNDB          empty     ?a        ?b               ?a        ?b        random integer                {0,. . .,255}; see *


 empty       indicates that position must/will be free                                                                     
 ?a, ?b, ?c  indicates an unknown value (or possible free location)
 n, m or o   indicates the presence of a value
 TRUE        has the value -1
 FALSE       has the value 0 
 neighbours  means all cells within the neighbourhood of CELL excluding CELL itself (8 for Moore neighbourhood, 3 for Margolus)
 local cells means all cells within the neighbourhood of CELL including CELL itself (9 for Moore neighbourhood, 4 for Margolus)
 note:       the type of neighbourhood required for a particular automaton is specified in the initialisation procedure;
             see table 4
 *           for use with Margolus neighbourhood; returns a single random value per 2x2 cell block, as partitioned by the
             alternating grid. Will return the same value for all four cells within a particular block.
             To use a RNDB command you must first set the system variable rndb to TRUE within initialisation; see table 4
00000000  0a 20 54 41 42 4c 45 20  32 3a 20 43 6f 6d 6d 61  |. TABLE 2: Comma|
00000010  6e 64 73 0a 20 20 20 20  0a 0a 20 20 50 72 6f 63  |nds.    ..  Proc|
00000020  65 64 75 72 65 20 20 20  20 20 20 20 20 20 20 20  |edure           |
00000030  20 50 72 69 6f 72 20 73  74 61 63 6b 20 73 74 61  | Prior stack sta|
00000040  74 65 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |te              |
00000050  20 20 20 20 20 20 52 65  73 75 6c 74 69 6e 67 20  |      Resulting |
00000060  73 74 61 63 6b 20 73 74  61 74 65 20 20 20 20 20  |stack state     |
00000070  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000080  20 20 20 20 20 20 20 20  20 0a 20 20 20 20 20 20  |         .      |
00000090  20 20 20 20 20 20 20 20  20 20 20 20 20 20 7b 62  |              {b|
000000a0  6f 74 74 6f 6d 2c 20 20  20 6d 69 64 64 6c 65 2c  |ottom,   middle,|
000000b0  20 26 20 74 6f 70 20 6f  66 20 73 74 61 63 6b 7d  | & top of stack}|
000000c0  20 20 20 7b 62 6f 74 74  6f 6d 2c 20 20 20 6d 69  |   {bottom,   mi|
000000d0  64 64 6c 65 2c 20 26 20  74 6f 70 20 6f 66 20 73  |ddle, & top of s|
000000e0  74 61 63 6b 7d 0a 0a 20  20 20 20 20 20 20 20 20  |tack}..         |
000000f0  3d 3d 20 20 20 20 20 20  20 20 20 20 3f 61 20 20  |==          ?a  |
00000100  20 20 20 20 20 20 3f 62  20 20 20 20 20 20 20 20  |      ?b        |
00000110  6e 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |n               |
00000120  20 74 65 72 6d 69 6e 61  74 65 73 20 63 6f 64 65  | terminates code|
00000130  2c 20 72 65 74 75 72 6e  69 6e 67 20 77 69 74 68  |, returning with|
00000140  20 76 61 6c 75 65 20 6e  20 61 73 20 6e 65 77 20  | value n as new |
00000150  63 65 6c 6c 20 73 74 61  74 65 0a 20 20 20 20 20  |cell state.     |
00000160  20 20 20 20 49 46 20 20  20 20 20 20 20 20 20 20  |    IF          |
00000170  3f 61 20 20 20 20 20 20  20 20 3f 62 20 20 20 20  |?a        ?b    |
00000180  20 20 20 20 6e 20 20 20  20 20 20 20 20 20 20 20  |    n           |
00000190  20 20 20 20 20 65 6d 70  74 79 20 20 20 20 20 3f  |     empty     ?|
000001a0  61 20 20 20 20 20 20 20  20 3f 62 20 20 20 20 7b  |a        ?b    {|
000001b0  63 6f 6e 64 69 74 69 6f  6e 61 6c 20 65 78 65 63  |conditional exec|
000001c0  75 74 69 6f 6e 20 64 65  70 65 6e 64 61 6e 74 20  |ution dependant |
000001d0  6f 6e 20 6e 7d 0a 53 43  4f 55 4e 54 5f 4e 45 49  |on n}.SCOUNT_NEI|
000001e0  47 20 20 20 20 20 20 20  20 20 20 3f 61 20 20 20  |G          ?a   |
000001f0  20 20 20 20 20 3f 62 20  20 20 20 20 20 20 20 6e  |     ?b        n|
00000200  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000210  3f 61 20 20 20 20 20 20  20 20 3f 62 20 20 20 20  |?a        ?b    |
00000220  20 20 20 20 6e 75 6d 62  65 72 20 6f 66 20 6e 65  |    number of ne|
00000230  69 67 68 62 6f 75 72 73  20 77 68 69 63 68 20 68  |ighbours which h|
00000240  61 76 65 20 73 74 61 74  65 3d 6e 0a 20 53 43 4f  |ave state=n. SCO|
00000250  55 4e 54 5f 41 4c 4c 20  20 20 20 20 20 20 20 20  |UNT_ALL         |
00000260  20 3f 61 20 20 20 20 20  20 20 20 3f 62 20 20 20  | ?a        ?b   |
00000270  20 20 20 20 20 6e 20 20  20 20 20 20 20 20 20 20  |     n          |
00000280  20 20 20 20 20 20 3f 61  20 20 20 20 20 20 20 20  |      ?a        |
00000290  3f 62 20 20 20 20 20 20  20 20 6e 75 6d 62 65 72  |?b        number|
000002a0  20 6f 66 20 6c 6f 63 61  6c 20 63 65 6c 6c 73 20  | of local cells |
000002b0  77 68 69 63 68 20 68 61  76 65 20 73 74 61 74 65  |which have state|
000002c0  3d 6e 0a 4d 43 4f 55 4e  54 5f 4e 45 49 47 20 20  |=n.MCOUNT_NEIG  |
000002d0  20 20 20 20 20 20 20 20  3f 61 20 20 20 20 20 20  |        ?a      |
000002e0  20 20 6e 20 20 20 20 20  20 20 20 20 6d 20 20 20  |  n         m   |
000002f0  20 20 20 20 20 20 20 20  20 20 20 20 20 65 6d 70  |             emp|
00000300  74 79 20 20 20 20 20 3f  61 20 20 20 20 20 20 20  |ty     ?a       |
00000310  20 6e 75 6d 62 65 72 20  6f 66 20 6e 65 69 67 68  | number of neigh|
00000320  62 6f 75 72 73 20 77 68  69 63 68 20 68 61 76 65  |bours which have|
00000330  20 6e 20 3c 3d 20 73 74  61 74 65 20 3c 3d 20 6d  | n <= state <= m|
00000340  0a 20 4d 43 4f 55 4e 54  5f 41 4c 4c 20 20 20 20  |. MCOUNT_ALL    |
00000350  20 20 20 20 20 20 3f 61  20 20 20 20 20 20 20 20  |      ?a        |
00000360  6e 20 20 20 20 20 20 20  20 20 6d 20 20 20 20 20  |n         m     |
00000370  20 20 20 20 20 20 20 20  20 20 20 65 6d 70 74 79  |           empty|
00000380  20 20 20 20 20 3f 61 20  20 20 20 20 20 20 20 6e  |     ?a        n|
00000390  75 6d 62 65 72 20 6f 66  20 6c 6f 63 61 6c 20 63  |umber of local c|
000003a0  65 6c 6c 73 20 77 68 69  63 68 20 68 61 76 65 20  |ells which have |
000003b0  6e 20 3c 3d 20 73 74 61  74 65 20 3c 3d 20 6d 0a  |n <= state <= m.|
000003c0  20 20 20 53 55 4d 5f 4e  45 49 47 20 20 20 20 20  |   SUM_NEIG     |
000003d0  20 20 20 20 20 65 6d 70  74 79 20 20 20 20 20 3f  |     empty     ?|
000003e0  61 20 20 20 20 20 20 20  20 3f 62 20 20 20 20 20  |a        ?b     |
000003f0  20 20 20 20 20 20 20 20  20 20 3f 61 20 20 20 20  |          ?a    |
00000400  20 20 20 20 3f 62 20 20  20 20 20 20 20 20 73 75  |    ?b        su|
00000410  6d 20 6f 66 20 74 68 65  20 73 74 61 74 65 73 20  |m of the states |
00000420  6f 66 20 74 68 65 20 6e  65 69 67 68 62 6f 75 72  |of the neighbour|
00000430  73 0a 20 20 20 20 53 55  4d 5f 41 4c 4c 20 20 20  |s.    SUM_ALL   |
00000440  20 20 20 20 20 20 20 65  6d 70 74 79 20 20 20 20  |       empty    |
00000450  20 3f 61 20 20 20 20 20  20 20 20 3f 62 20 20 20  | ?a        ?b   |
00000460  20 20 20 20 20 20 20 20  20 20 20 20 3f 61 20 20  |            ?a  |
00000470  20 20 20 20 20 20 3f 62  20 20 20 20 20 20 20 20  |      ?b        |
00000480  73 75 6d 20 6f 66 20 74  68 65 20 73 74 61 74 65  |sum of the state|
00000490  73 20 6f 66 20 61 6c 6c  20 74 68 65 20 6c 6f 63  |s of all the loc|
000004a0  61 6c 20 63 65 6c 6c 73  0a 20 20 20 20 20 20 20  |al cells.       |
000004b0  32 52 4e 44 20 20 20 20  20 20 20 20 20 20 65 6d  |2RND          em|
000004c0  70 74 79 20 20 20 20 20  3f 61 20 20 20 20 20 20  |pty     ?a      |
000004d0  20 20 3f 62 20 20 20 20  20 20 20 20 20 20 20 20  |  ?b            |
000004e0  20 20 20 3f 61 20 20 20  20 20 20 20 20 3f 62 20  |   ?a        ?b |
000004f0  20 20 20 20 20 20 20 72  61 6e 64 6f 6d 20 69 6e  |       random in|
00000500  74 65 67 65 72 20 66 72  6f 6d 20 7b 30 2c 31 7d  |teger from {0,1}|
00000510  0a 20 20 20 20 20 20 20  34 52 4e 44 20 20 20 20  |.       4RND    |
00000520  20 20 20 20 20 20 65 6d  70 74 79 20 20 20 20 20  |      empty     |
00000530  3f 61 20 20 20 20 20 20  20 20 3f 62 20 20 20 20  |?a        ?b    |
00000540  20 20 20 20 20 20 20 20  20 20 20 3f 61 20 20 20  |           ?a   |
00000550  20 20 20 20 20 3f 62 20  20 20 20 20 20 20 20 72  |     ?b        r|
00000560  61 6e 64 6f 6d 20 69 6e  74 65 67 65 72 20 20 20  |andom integer   |
00000570  20 20 20 7b 30 2c 31 2c  32 2c 33 7d 0a 20 20 20  |   {0,1,2,3}.   |
00000580  20 20 20 20 38 52 4e 44  20 20 20 20 20 20 20 20  |    8RND        |
00000590  20 20 65 6d 70 74 79 20  20 20 20 20 3f 61 20 20  |  empty     ?a  |
000005a0  20 20 20 20 20 20 3f 62  20 20 20 20 20 20 20 20  |      ?b        |
000005b0  20 20 20 20 20 20 20 3f  61 20 20 20 20 20 20 20  |       ?a       |
000005c0  20 3f 62 20 20 20 20 20  20 20 20 72 61 6e 64 6f  | ?b        rando|
000005d0  6d 20 69 6e 74 65 67 65  72 20 20 20 20 20 20 7b  |m integer      {|
000005e0  30 2c 2e 20 2e 20 2e 2c  37 7d 0a 20 20 20 20 20  |0,. . .,7}.     |
000005f0  32 35 36 52 4e 44 20 20  20 20 20 20 20 20 20 20  |256RND          |
00000600  65 6d 70 74 79 20 20 20  20 20 3f 61 20 20 20 20  |empty     ?a    |
00000610  20 20 20 20 3f 62 20 20  20 20 20 20 20 20 20 20  |    ?b          |
00000620  20 20 20 20 20 3f 61 20  20 20 20 20 20 20 20 3f  |     ?a        ?|
00000630  62 20 20 20 20 20 20 20  20 72 61 6e 64 6f 6d 20  |b        random |
00000640  69 6e 74 65 67 65 72 20  20 20 20 20 20 7b 30 2c  |integer      {0,|
00000650  2e 20 2e 20 2e 2c 32 35  35 7d 0a 20 20 20 20 20  |. . .,255}.     |
00000660  20 32 52 4e 44 42 20 20  20 20 20 20 20 20 20 20  | 2RNDB          |
00000670  65 6d 70 74 79 20 20 20  20 20 3f 61 20 20 20 20  |empty     ?a    |
00000680  20 20 20 20 3f 62 20 20  20 20 20 20 20 20 20 20  |    ?b          |
00000690  20 20 20 20 20 3f 61 20  20 20 20 20 20 20 20 3f  |     ?a        ?|
000006a0  62 20 20 20 20 20 20 20  20 72 61 6e 64 6f 6d 20  |b        random |
000006b0  69 6e 74 65 67 65 72 20  70 65 72 20 62 6c 6f 63  |integer per bloc|
000006c0  6b 20 66 72 6f 6d 20 7b  30 2c 31 7d 3b 20 73 65  |k from {0,1}; se|
000006d0  65 20 2a 20 62 65 6c 6f  77 0a 20 20 20 20 20 20  |e * below.      |
000006e0  34 52 4e 44 42 20 20 20  20 20 20 20 20 20 20 65  |4RNDB          e|
000006f0  6d 70 74 79 20 20 20 20  20 3f 61 20 20 20 20 20  |mpty     ?a     |
00000700  20 20 20 3f 62 20 20 20  20 20 20 20 20 20 20 20  |   ?b           |
00000710  20 20 20 20 3f 61 20 20  20 20 20 20 20 20 3f 62  |    ?a        ?b|
00000720  20 20 20 20 20 20 20 20  72 61 6e 64 6f 6d 20 69  |        random i|
00000730  6e 74 65 67 65 72 20 20  20 20 20 20 20 20 20 20  |nteger          |
00000740  20 20 20 20 20 20 7b 30  2c 31 2c 32 2c 33 7d 3b  |      {0,1,2,3};|
00000750  20 73 65 65 20 2a 0a 20  20 20 20 20 20 38 52 4e  | see *.      8RN|
00000760  44 42 20 20 20 20 20 20  20 20 20 20 65 6d 70 74  |DB          empt|
00000770  79 20 20 20 20 20 3f 61  20 20 20 20 20 20 20 20  |y     ?a        |
00000780  3f 62 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |?b              |
00000790  20 3f 61 20 20 20 20 20  20 20 20 3f 62 20 20 20  | ?a        ?b   |
000007a0  20 20 20 20 20 72 61 6e  64 6f 6d 20 69 6e 74 65  |     random inte|
000007b0  67 65 72 20 20 20 20 20  20 20 20 20 20 20 20 20  |ger             |
000007c0  20 20 20 7b 30 2c 2e 20  2e 20 2e 2c 37 7d 3b 20  |   {0,. . .,7}; |
000007d0  73 65 65 20 2a 0a 20 20  20 20 32 35 36 52 4e 44  |see *.    256RND|
000007e0  42 20 20 20 20 20 20 20  20 20 20 65 6d 70 74 79  |B          empty|
000007f0  20 20 20 20 20 3f 61 20  20 20 20 20 20 20 20 3f  |     ?a        ?|
00000800  62 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |b               |
00000810  3f 61 20 20 20 20 20 20  20 20 3f 62 20 20 20 20  |?a        ?b    |
00000820  20 20 20 20 72 61 6e 64  6f 6d 20 69 6e 74 65 67  |    random integ|
00000830  65 72 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |er              |
00000840  20 20 7b 30 2c 2e 20 2e  20 2e 2c 32 35 35 7d 3b  |  {0,. . .,255};|
00000850  20 73 65 65 20 2a 0a 0a  0a 20 65 6d 70 74 79 20  | see *... empty |
00000860  20 20 20 20 20 20 69 6e  64 69 63 61 74 65 73 20  |      indicates |
00000870  74 68 61 74 20 70 6f 73  69 74 69 6f 6e 20 6d 75  |that position mu|
00000880  73 74 2f 77 69 6c 6c 20  62 65 20 66 72 65 65 20  |st/will be free |
00000890  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000008d0  20 20 20 20 0a 20 3f 61  2c 20 3f 62 2c 20 3f 63  |    . ?a, ?b, ?c|
000008e0  20 20 69 6e 64 69 63 61  74 65 73 20 61 6e 20 75  |  indicates an u|
000008f0  6e 6b 6e 6f 77 6e 20 76  61 6c 75 65 20 28 6f 72  |nknown value (or|
00000900  20 70 6f 73 73 69 62 6c  65 20 66 72 65 65 20 6c  | possible free l|
00000910  6f 63 61 74 69 6f 6e 29  0a 20 6e 2c 20 6d 20 6f  |ocation). n, m o|
00000920  72 20 6f 20 20 20 69 6e  64 69 63 61 74 65 73 20  |r o   indicates |
00000930  74 68 65 20 70 72 65 73  65 6e 63 65 20 6f 66 20  |the presence of |
00000940  61 20 76 61 6c 75 65 0a  20 54 52 55 45 20 20 20  |a value. TRUE   |
00000950  20 20 20 20 20 68 61 73  20 74 68 65 20 76 61 6c  |     has the val|
00000960  75 65 20 2d 31 0a 20 46  41 4c 53 45 20 20 20 20  |ue -1. FALSE    |
00000970  20 20 20 68 61 73 20 74  68 65 20 76 61 6c 75 65  |   has the value|
00000980  20 30 20 0a 20 6e 65 69  67 68 62 6f 75 72 73 20  | 0 . neighbours |
00000990  20 6d 65 61 6e 73 20 61  6c 6c 20 63 65 6c 6c 73  | means all cells|
000009a0  20 77 69 74 68 69 6e 20  74 68 65 20 6e 65 69 67  | within the neig|
000009b0  68 62 6f 75 72 68 6f 6f  64 20 6f 66 20 43 45 4c  |hbourhood of CEL|
000009c0  4c 20 65 78 63 6c 75 64  69 6e 67 20 43 45 4c 4c  |L excluding CELL|
000009d0  20 69 74 73 65 6c 66 20  28 38 20 66 6f 72 20 4d  | itself (8 for M|
000009e0  6f 6f 72 65 20 6e 65 69  67 68 62 6f 75 72 68 6f  |oore neighbourho|
000009f0  6f 64 2c 20 33 20 66 6f  72 20 4d 61 72 67 6f 6c  |od, 3 for Margol|
00000a00  75 73 29 0a 20 6c 6f 63  61 6c 20 63 65 6c 6c 73  |us). local cells|
00000a10  20 6d 65 61 6e 73 20 61  6c 6c 20 63 65 6c 6c 73  | means all cells|
00000a20  20 77 69 74 68 69 6e 20  74 68 65 20 6e 65 69 67  | within the neig|
00000a30  68 62 6f 75 72 68 6f 6f  64 20 6f 66 20 43 45 4c  |hbourhood of CEL|
00000a40  4c 20 69 6e 63 6c 75 64  69 6e 67 20 43 45 4c 4c  |L including CELL|
00000a50  20 69 74 73 65 6c 66 20  28 39 20 66 6f 72 20 4d  | itself (9 for M|
00000a60  6f 6f 72 65 20 6e 65 69  67 68 62 6f 75 72 68 6f  |oore neighbourho|
00000a70  6f 64 2c 20 34 20 66 6f  72 20 4d 61 72 67 6f 6c  |od, 4 for Margol|
00000a80  75 73 29 0a 20 6e 6f 74  65 3a 20 20 20 20 20 20  |us). note:      |
00000a90  20 74 68 65 20 74 79 70  65 20 6f 66 20 6e 65 69  | the type of nei|
00000aa0  67 68 62 6f 75 72 68 6f  6f 64 20 72 65 71 75 69  |ghbourhood requi|
00000ab0  72 65 64 20 66 6f 72 20  61 20 70 61 72 74 69 63  |red for a partic|
00000ac0  75 6c 61 72 20 61 75 74  6f 6d 61 74 6f 6e 20 69  |ular automaton i|
00000ad0  73 20 73 70 65 63 69 66  69 65 64 20 69 6e 20 74  |s specified in t|
00000ae0  68 65 20 69 6e 69 74 69  61 6c 69 73 61 74 69 6f  |he initialisatio|
00000af0  6e 20 70 72 6f 63 65 64  75 72 65 3b 0a 20 20 20  |n procedure;.   |
00000b00  20 20 20 20 20 20 20 20  20 20 73 65 65 20 74 61  |          see ta|
00000b10  62 6c 65 20 34 0a 20 2a  20 20 20 20 20 20 20 20  |ble 4. *        |
00000b20  20 20 20 66 6f 72 20 75  73 65 20 77 69 74 68 20  |   for use with |
00000b30  4d 61 72 67 6f 6c 75 73  20 6e 65 69 67 68 62 6f  |Margolus neighbo|
00000b40  75 72 68 6f 6f 64 3b 20  72 65 74 75 72 6e 73 20  |urhood; returns |
00000b50  61 20 73 69 6e 67 6c 65  20 72 61 6e 64 6f 6d 20  |a single random |
00000b60  76 61 6c 75 65 20 70 65  72 20 32 78 32 20 63 65  |value per 2x2 ce|
00000b70  6c 6c 20 62 6c 6f 63 6b  2c 20 61 73 20 70 61 72  |ll block, as par|
00000b80  74 69 74 69 6f 6e 65 64  20 62 79 20 74 68 65 0a  |titioned by the.|
00000b90  20 20 20 20 20 20 20 20  20 20 20 20 20 61 6c 74  |             alt|
00000ba0  65 72 6e 61 74 69 6e 67  20 67 72 69 64 2e 20 57  |ernating grid. W|
00000bb0  69 6c 6c 20 72 65 74 75  72 6e 20 74 68 65 20 73  |ill return the s|
00000bc0  61 6d 65 20 76 61 6c 75  65 20 66 6f 72 20 61 6c  |ame value for al|
00000bd0  6c 20 66 6f 75 72 20 63  65 6c 6c 73 20 77 69 74  |l four cells wit|
00000be0  68 69 6e 20 61 20 70 61  72 74 69 63 75 6c 61 72  |hin a particular|
00000bf0  20 62 6c 6f 63 6b 2e 0a  20 20 20 20 20 20 20 20  | block..        |
00000c00  20 20 20 20 20 54 6f 20  75 73 65 20 61 20 52 4e  |     To use a RN|
00000c10  44 42 20 63 6f 6d 6d 61  6e 64 20 79 6f 75 20 6d  |DB command you m|
00000c20  75 73 74 20 66 69 72 73  74 20 73 65 74 20 74 68  |ust first set th|
00000c30  65 20 73 79 73 74 65 6d  20 76 61 72 69 61 62 6c  |e system variabl|
00000c40  65 20 72 6e 64 62 20 74  6f 20 54 52 55 45 20 77  |e rndb to TRUE w|
00000c50  69 74 68 69 6e 20 69 6e  69 74 69 61 6c 69 73 61  |ithin initialisa|
00000c60  74 69 6f 6e 3b 20 73 65  65 20 74 61 62 6c 65 20  |tion; see table |
00000c70  34 0a                                             |4.|
00000c72