home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / cellular-2.0 / part03 / tutorial.tex / node2_ct.html < prev    next >
LaTeX Document  |  1993-04-02  |  9.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 54 68 | 65 20 4c 61 6e 67 75 61 |ts of Th|e Langua|
|000000b0| 67 65 3c 2f 54 49 54 4c | 45 3e 0a 0a 3c 4d 45 54 |ge</TITL|E>..<MET|
|000000c0| 41 20 48 54 54 50 2d 45 | 51 55 49 56 3d 22 43 6f |A HTTP-E|QUIV="Co|
|000000d0| 6e 74 65 6e 74 2d 54 79 | 70 65 22 20 43 4f 4e 54 |ntent-Ty|pe" CONT|
|000000e0| 45 4e 54 3d 22 74 65 78 | 74 2f 68 74 6d 6c 3b 20 |ENT="tex|t/html; |
|000000f0| 63 68 61 72 73 65 74 3d | 75 74 66 2d 38 22 3e 0a |charset=|utf-8">.|
|00000100| 3c 4d 45 54 41 20 4e 41 | 4d 45 3d 22 76 69 65 77 |<META NA|ME="view|
|00000110| 70 6f 72 74 22 20 43 4f | 4e 54 45 4e 54 3d 22 77 |port" CO|NTENT="w|
|00000120| 69 64 74 68 3d 64 65 76 | 69 63 65 2d 77 69 64 74 |idth=dev|ice-widt|
|00000130| 68 2c 20 69 6e 69 74 69 | 61 6c 2d 73 63 61 6c 65 |h, initi|al-scale|
|00000140| 3d 31 2e 30 22 3e 0a 3c | 4d 45 54 41 20 4e 41 4d |=1.0">.<|META NAM|
|00000150| 45 3d 22 47 65 6e 65 72 | 61 74 6f 72 22 20 43 4f |E="Gener|ator" CO|
|00000160| 4e 54 45 4e 54 3d 22 4c | 61 54 65 58 32 48 54 4d |NTENT="L|aTeX2HTM|
|00000170| 4c 20 76 32 30 32 32 22 | 3e 0a 0a 3c 4c 49 4e 4b |L v2022"|>..<LINK|
|00000180| 20 52 45 4c 3d 22 53 54 | 59 4c 45 53 48 45 45 54 | REL="ST|YLESHEET|
|00000190| 22 20 48 52 45 46 3d 22 | 74 75 74 6f 72 69 61 6c |" HREF="|tutorial|
|000001a0| 2e 63 73 73 22 3e 0a 0a | 3c 4c 49 4e 4b 20 52 45 |.css">..|<LINK RE|
|000001b0| 4c 3d 22 6e 65 78 74 22 | 20 48 52 45 46 3d 22 6e |L="next"| HREF="n|
|000001c0| 6f 64 65 33 5f 6d 6e 2e | 68 74 6d 6c 22 3e 0a 3c |ode3_mn.|html">.<|
|000001d0| 4c 49 4e 4b 20 52 45 4c | 3d 22 70 72 65 76 69 6f |LINK REL|="previo|
|000001e0| 75 73 22 20 48 52 45 46 | 3d 22 6e 6f 64 65 31 5f |us" HREF|="node1_|
|000001f0| 6d 6e 2e 68 74 6d 6c 22 | 3e 0a 3c 4c 49 4e 4b 20 |mn.html"|>.<LINK |
|00000200| 52 45 4c 3d 22 75 70 22 | 20 48 52 45 46 3d 22 74 |REL="up"| HREF="t|
|00000210| 75 74 6f 72 69 61 6c 5f | 6d 6e 2e 68 74 6d 6c 22 |utorial_|mn.html"|
|00000220| 3e 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 6e 65 78 |>.<LINK |REL="nex|
|00000230| 74 22 20 48 52 45 46 3d | 22 6e 6f 64 65 33 5f 6d |t" HREF=|"node3_m|
|00000240| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 2f 48 45 41 44 3e |n.html">|.</HEAD>|
|00000250| 0a 20 0a 3c 42 4f 44 59 | 20 62 67 63 6f 6c 6f 72 |. .<BODY| bgcolor|
|00000260| 3d 22 23 66 66 66 66 66 | 66 22 20 74 65 78 74 3d |="#fffff|f" text=|
|00000270| 22 23 30 30 30 30 30 30 | 22 20 6c 69 6e 6b 3d 22 |"#000000|" link="|
|00000280| 23 39 39 34 34 45 45 22 | 20 76 6c 69 6e 6b 3d 22 |#9944EE"| vlink="|
|00000290| 23 30 30 30 30 66 66 22 | 20 61 6c 69 6e 6b 3d 22 |#0000ff"| alink="|
|000002a0| 23 30 30 66 66 30 30 22 | 3e 0a 0a 3c 48 31 3e 3c |#00ff00"|>..<H1><|
|000002b0| 41 20 49 44 3d 22 53 45 | 43 54 49 4f 4e 30 30 30 |A ID="SE|CTION000|
|000002c0| 32 30 30 30 30 30 30 30 | 30 30 30 30 30 30 30 30 |20000000|00000000|
|000002d0| 30 22 3e 0a 54 68 65 20 | 4c 61 6e 67 75 61 67 65 |0">.The |Language|
|000002e0| 3c 2f 41 3e 0a 3c 2f 48 | 31 3e 0a 0a 3c 50 3e 0a |</A>.</H|1>..<P>.|
|000002f0| 50 72 6f 67 72 61 6d 73 | 20 77 72 69 74 74 65 6e |Programs| written|
|00000300| 20 69 6e 20 3c 45 4d 3e | 43 65 6c 6c 61 6e 67 20 | in <EM>|Cellang |
|00000310| 32 2e 30 3c 2f 45 4d 3e | 20 68 61 76 65 20 74 77 |2.0</EM>| have tw|
|00000320| 6f 20 6d 61 69 6e 20 63 | 6f 6d 70 6f 6e 65 6e 74 |o main c|omponent|
|00000330| 73 2c 20 61 20 63 65 6c | 6c 0a 64 65 73 63 72 69 |s, a cel|l.descri|
|00000340| 70 74 69 6f 6e 20 61 6e | 64 20 61 20 73 65 74 20 |ption an|d a set |
|00000350| 6f 66 20 73 74 61 74 65 | 6d 65 6e 74 73 2e 20 20 |of state|ments. |
|00000360| 54 68 65 20 63 65 6c 6c | 20 64 65 73 63 72 69 70 |The cell| descrip|
|00000370| 74 69 6f 6e 20 64 65 74 | 65 72 6d 69 6e 65 73 0a |tion det|ermines.|
|00000380| 68 6f 77 20 6d 61 6e 79 | 20 64 69 6d 65 6e 73 69 |how many| dimensi|
|00000390| 6f 6e 73 20 74 68 65 72 | 65 20 61 72 65 2c 20 77 |ons ther|e are, w|
|000003a0| 68 61 74 20 66 69 65 6c | 64 28 73 29 20 65 61 63 |hat fiel|d(s) eac|
|000003b0| 68 20 63 65 6c 6c 0a 63 | 6f 6e 74 61 69 6e 73 2c |h cell.c|ontains,|
|000003c0| 20 61 6e 64 20 74 68 65 | 20 72 61 6e 67 65 20 6f | and the| range o|
|000003d0| 66 20 61 73 73 69 67 6e | 61 62 6c 65 20 76 61 6c |f assign|able val|
|000003e0| 75 65 73 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |ues asso|ciated w|
|000003f0| 69 74 68 20 65 61 63 68 | 20 66 69 65 6c 64 2e 20 |ith each| field. |
|00000400| 20 0a 53 74 61 74 65 6d | 65 6e 74 73 20 6f 63 63 | .Statem|ents occ|
|00000410| 75 72 20 69 6e 20 6f 6e | 6c 79 20 74 77 6f 20 76 |ur in on|ly two v|
|00000420| 61 72 69 65 74 69 65 73 | 3a 0a 61 73 73 69 67 6e |arieties|:.assign|
|00000430| 6d 65 6e 74 20 61 6e 64 | 20 69 66 2e 20 20 54 68 |ment and| if. Th|
|00000440| 65 20 61 73 73 69 67 6e | 6d 65 6e 74 0a 73 74 61 |e assign|ment.sta|
|00000450| 74 65 6d 65 6e 74 20 69 | 73 20 75 6e 75 73 75 61 |tement i|s unusua|
|00000460| 6c 20 69 6e 20 74 68 61 | 74 20 69 74 20 70 72 6f |l in tha|t it pro|
|00000470| 76 69 64 65 73 20 63 6f | 6e 64 69 74 69 6f 6e 61 |vides co|nditiona|
|00000480| 6c 20 61 73 73 69 67 6e | 6d 65 6e 74 3b 0a 74 68 |l assign|ment;.th|
|00000490| 65 20 69 66 20 73 74 61 | 74 65 6d 65 6e 74 20 69 |e if sta|tement i|
|000004a0| 73 20 6f 66 20 61 20 63 | 6f 6e 76 65 6e 74 69 6f |s of a c|onventio|
|000004b0| 6e 61 6c 20 6e 61 74 75 | 72 65 2e 0a 0a 3c 50 3e |nal natu|re...<P>|
|000004c0| 0a 54 68 65 72 65 20 69 | 73 20 6f 6e 6c 79 20 6f |.There i|s only o|
|000004d0| 6e 65 20 70 72 69 6d 69 | 74 69 76 65 20 64 61 74 |ne primi|tive dat|
|000004e0| 61 20 74 79 70 65 20 69 | 6e 20 3c 45 4d 3e 43 65 |a type i|n <EM>Ce|
|000004f0| 6c 6c 61 6e 67 20 32 2e | 30 3c 2f 45 4d 3e 2c 20 |llang 2.|0</EM>, |
|00000500| 69 6e 74 65 67 65 72 2e | 20 0a 56 61 72 69 61 62 |integer.| .Variab|
|00000510| 6c 65 73 20 61 72 65 0a | 64 65 63 6c 61 72 65 64 |les are.|declared|
|00000520| 20 62 79 20 74 68 65 69 | 72 20 66 69 72 73 74 20 | by thei|r first |
|00000530| 75 73 61 67 65 20 77 68 | 69 63 68 20 69 73 20 75 |usage wh|ich is u|
|00000540| 73 75 61 6c 6c 79 20 61 | 73 20 74 68 65 20 6c 65 |sually a|s the le|
|00000550| 66 74 20 68 61 6e 64 20 | 73 69 64 65 20 6f 66 20 |ft hand |side of |
|00000560| 61 6e 0a 61 73 73 69 67 | 6e 6d 65 6e 74 20 73 74 |an.assig|nment st|
|00000570| 61 74 65 6d 65 6e 74 2e | 20 20 43 6f 6e 64 69 74 |atement.| Condit|
|00000580| 69 6f 6e 61 6c 20 65 78 | 70 72 65 73 73 69 6f 6e |ional ex|pression|
|00000590| 73 20 66 6f 6c 6c 6f 77 | 20 74 68 65 0a 72 75 6c |s follow| the.rul|
|000005a0| 65 73 20 6f 66 20 3c 45 | 4d 3e 43 3c 2f 45 4d 3e |es of <E|M>C</EM>|
|000005b0| 5b 3c 41 20 48 52 45 46 | 3d 22 6e 6f 64 65 39 5f |[<A HREF|="node9_|
|000005c0| 63 74 2e 68 74 6d 6c 23 | 68 61 72 62 69 73 6f 6e |ct.html#|harbison|
|000005d0| 22 20 54 41 52 47 45 54 | 3d 22 63 6f 6e 74 65 6e |" TARGET|="conten|
|000005e0| 74 73 22 3e 38 3c 2f 41 | 3e 5d 2c 0a 74 68 75 73 |ts">8</A|>],.thus|
|000005f0| 20 30 20 76 61 6c 75 65 | 73 20 63 6f 72 72 65 73 | 0 value|s corres|
|00000600| 70 6f 6e 64 20 74 6f 20 | 66 61 6c 73 65 20 61 6e |pond to |false an|
|00000610| 64 20 6e 6f 6e 26 6e 64 | 61 73 68 3b 30 20 76 61 |d non&nd|ash;0 va|
|00000620| 6c 75 65 73 20 69 6e 64 | 69 63 61 74 65 0a 74 72 |lues ind|icate.tr|
|00000630| 75 65 2e 20 20 54 68 65 | 20 61 72 69 74 68 6d 65 |ue. The| arithme|
|00000640| 74 69 63 20 61 6e 64 20 | 6c 6f 67 69 63 61 6c 20 |tic and |logical |
|00000650| 6f 70 65 72 61 74 6f 72 | 73 20 61 76 61 69 6c 61 |operator|s availa|
|00000660| 62 6c 65 20 61 72 65 3a | 20 26 6e 64 61 73 68 3b |ble are:| &ndash;|
|00000670| 2c 20 2b 2c 20 2a 2c 20 | 2f 2c 0a 25 20 28 72 65 |, +, *, |/,.% (re|
|00000680| 6d 61 69 6e 64 65 72 29 | 2c 20 21 20 28 6c 6f 67 |mainder)|, ! (log|
|00000690| 69 63 61 6c 20 6e 6f 74 | 29 2c 20 26 61 6d 70 3b |ical not|), &amp;|
|000006a0| 20 28 6c 6f 67 69 63 61 | 6c 20 61 6e 64 29 2c 20 | (logica|l and), |
|000006b0| 7c 20 28 6c 6f 67 69 63 | 61 6c 20 6f 72 29 2c 20 || (logic|al or), |
|000006c0| 0a 3d 2c 20 21 3d 2c 20 | 26 6c 74 3b 20 3d 20 61 |.=, !=, |&lt; = a|
|000006d0| 6e 64 20 26 67 74 3b 20 | 3d 2e 20 20 54 68 65 20 |nd &gt; |=. The |
|000006e0| 66 69 65 6c 64 20 76 61 | 6c 75 65 73 20 6f 66 20 |field va|lues of |
|000006f0| 63 65 6c 6c 73 20 0a 6e | 65 69 67 68 62 6f 72 69 |cells .n|eighbori|
|00000700| 6e 67 20 74 68 65 20 0a | 63 75 72 72 65 6e 74 20 |ng the .|current |
|00000710| 63 65 6c 6c 20 6d 61 79 | 20 62 65 20 61 63 63 65 |cell may| be acce|
|00000720| 73 73 65 64 20 62 79 20 | 70 6c 61 63 69 6e 67 20 |ssed by |placing |
|00000730| 74 68 65 69 72 20 72 65 | 6c 61 74 69 76 65 20 70 |their re|lative p|
|00000740| 6f 73 69 74 69 6f 6e 20 | 77 69 74 68 69 6e 20 73 |osition |within s|
|00000750| 71 75 61 72 65 0a 62 72 | 61 63 6b 65 74 73 20 28 |quare.br|ackets (|
|00000760| 5b 20 5d 29 2c 20 66 6f | 6c 6c 6f 77 65 64 20 62 |[ ]), fo|llowed b|
|00000770| 79 20 61 6e 20 6f 70 74 | 69 6f 6e 61 6c 20 64 6f |y an opt|ional do|
|00000780| 74 20 28 2e 29 20 61 6e | 64 20 66 69 65 6c 64 20 |t (.) an|d field |
|00000790| 6e 61 6d 65 2e 0a 0a 3c | 50 3e 0a 54 68 69 73 20 |name...<|P>.This |
|000007a0| 76 65 72 73 69 6f 6e 20 | 28 32 2e 30 29 20 69 73 |version |(2.0) is|
|000007b0| 20 61 6e 20 69 6e 63 6f | 6d 70 61 74 69 62 6c 65 | an inco|mpatible|
|000007c0| 20 75 70 67 72 61 64 65 | 20 74 6f 20 74 68 65 20 | upgrade| to the |
|000007d0| 70 72 65 76 69 6f 75 73 | 20 0a 76 65 72 73 69 6f |previous| .versio|
|000007e0| 6e 20 28 31 2e 30 29 2e | 5b 3c 41 20 48 52 45 46 |n (1.0).|[<A HREF|
|000007f0| 3d 22 6e 6f 64 65 39 5f | 63 74 2e 68 74 6d 6c 23 |="node9_|ct.html#|
|00000800| 63 65 6c 6c 61 6e 67 5f | 31 2e 30 22 20 54 41 52 |cellang_|1.0" TAR|
|00000810| 47 45 54 3d 22 63 6f 6e | 74 65 6e 74 73 22 3e 36 |GET="con|tents">6|
|00000820| 3c 2f 41 3e 5d 0a 54 68 | 65 20 64 69 66 66 65 72 |</A>].Th|e differ|
|00000830| 65 6e 63 65 73 20 61 72 | 65 20 70 72 69 6d 61 72 |ences ar|e primar|
|00000840| 69 6c 79 3a 0a 0a 3c 55 | 4c 3e 0a 3c 4c 49 3e 3c |ily:..<U|L>.<LI><|
|00000850| 45 4d 3e 43 65 6c 6c 61 | 6e 67 20 32 2e 30 3c 2f |EM>Cella|ng 2.0</|
|00000860| 45 4d 3e 20 64 6f 65 73 | 20 4e 4f 54 20 70 65 72 |EM> does| NOT per|
|00000870| 6d 69 74 20 74 68 65 20 | 73 70 65 63 69 66 69 63 |mit the |specific|
|00000880| 61 74 69 6f 6e 20 6f 66 | 20 64 69 6d 65 6e 73 69 |ation of| dimensi|
|00000890| 6f 6e 20 69 6e 64 65 78 | 20 72 61 6e 67 65 73 0a |on index| ranges.|
|000008a0| 28 77 68 65 72 65 61 73 | 20 3c 45 4d 3e 43 65 6c |(whereas| <EM>Cel|
|000008b0| 6c 61 6e 67 20 31 2e 30 | 3c 2f 45 4d 3e 20 64 69 |lang 1.0|</EM> di|
|000008c0| 64 29 3b 0a 0a 3c 50 3e | 0a 3c 2f 4c 49 3e 0a 3c |d);..<P>|.</LI>.<|
|000008d0| 4c 49 3e 3c 45 4d 3e 43 | 65 6c 6c 61 6e 67 20 32 |LI><EM>C|ellang 2|
|000008e0| 2e 30 3c 2f 45 4d 3e 20 | 64 6f 65 73 20 4e 4f 54 |.0</EM> |does NOT|
|000008f0| 20 70 65 72 6d 69 74 20 | 74 68 65 20 75 73 65 20 | permit |the use |
|00000900| 6f 66 20 64 69 6d 65 6e | 73 69 6f 6e 20 6e 61 6d |of dimen|sion nam|
|00000910| 65 73 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |es to de|termine |
|00000920| 61 0a 63 65 6c 6c 27 73 | 20 65 78 61 63 74 20 6c |a.cell's| exact l|
|00000930| 6f 63 61 74 69 6f 6e 20 | 77 69 74 68 69 6e 20 74 |ocation |within t|
|00000940| 68 65 20 75 6e 69 76 65 | 72 73 65 20 28 61 73 20 |he unive|rse (as |
|00000950| 64 69 64 20 3c 45 4d 3e | 43 65 6c 6c 61 6e 67 20 |did <EM>|Cellang |
|00000960| 31 2e 30 3c 2f 45 4d 3e | 29 3b 0a 0a 3c 50 3e 0a |1.0</EM>|);..<P>.|
|00000970| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 3c 45 4d 3e 43 65 |</LI>.<L|I><EM>Ce|
|00000980| 6c 6c 61 6e 67 20 32 2e | 30 3c 2f 45 4d 3e 20 44 |llang 2.|0</EM> D|
|00000990| 4f 45 53 20 61 6c 6c 6f | 77 20 6d 75 6c 74 69 70 |OES allo|w multip|
|000009a0| 6c 65 20 66 69 65 6c 64 | 73 20 74 6f 20 62 65 20 |le field|s to be |
|000009b0| 61 73 73 6f 63 69 61 74 | 65 64 20 77 69 74 68 20 |associat|ed with |
|000009c0| 65 61 63 68 20 63 65 6c | 6c 0a 6f 66 20 74 68 65 |each cel|l.of the|
|000009d0| 20 75 6e 69 76 65 72 73 | 65 20 28 75 6e 6c 69 6b | univers|e (unlik|
|000009e0| 65 20 3c 45 4d 3e 43 65 | 6c 6c 61 6e 67 20 31 2e |e <EM>Ce|llang 1.|
|000009f0| 30 3c 2f 45 4d 3e 20 77 | 68 69 63 68 20 68 61 64 |0</EM> w|hich had|
|00000a00| 20 6f 6e 6c 79 20 6f 6e | 65 20 66 69 65 6c 64 20 | only on|e field |
|00000a10| 70 65 72 20 63 65 6c 6c | 29 3b 0a 0a 3c 50 3e 0a |per cell|);..<P>.|
|00000a20| 3c 2f 4c 49 3e 0a 3c 4c | 49 3e 3c 45 4d 3e 43 65 |</LI>.<L|I><EM>Ce|
|00000a30| 6c 6c 61 6e 67 20 32 2e | 30 3c 2f 45 4d 3e 20 52 |llang 2.|0</EM> R|
|00000a40| 45 51 55 49 52 45 53 20 | 61 20 72 61 6e 67 65 20 |EQUIRES |a range |
|00000a50| 6f 66 20 6c 65 67 61 6c | 20 76 61 6c 75 65 73 20 |of legal| values |
|00000a60| 62 65 20 67 69 76 65 6e | 20 66 6f 72 20 61 6c 6c |be given| for all|
|00000a70| 20 63 65 6c 6c 20 66 69 | 65 6c 64 73 20 0a 28 77 | cell fi|elds .(w|
|00000a80| 68 65 72 65 61 73 20 74 | 68 69 73 20 77 61 73 20 |hereas t|his was |
|00000a90| 6f 70 74 69 6f 6e 61 6c | 20 69 6e 20 3c 45 4d 3e |optional| in <EM>|
|00000aa0| 43 65 6c 6c 61 6e 67 20 | 31 2e 30 3c 2f 45 4d 3e |Cellang |1.0</EM>|
|00000ab0| 29 2e 0a 0a 3c 50 3e 0a | 3c 2f 4c 49 3e 0a 3c 2f |)...<P>.|</LI>.</|
|00000ac0| 55 4c 3e 0a 0a 3c 50 3e | 0a 0a 3c 44 49 56 20 63 |UL>..<P>|..<DIV c|
|00000ad0| 6c 61 73 73 3d 22 43 45 | 4e 54 45 52 22 3e 3c 41 |lass="CE|NTER"><A|
|00000ae0| 20 49 44 3d 22 73 69 6d | 70 6c 65 5f 6c 69 66 65 | ID="sim|ple_life|
|00000af0| 22 3e 3c 2f 41 3e 3c 41 | 20 49 44 3d 22 37 39 22 |"></A><A| ID="79"|
|00000b00| 3e 3c 2f 41 3e 0a 3c 54 | 41 42 4c 45 3e 0a 3c 43 |></A>.<T|ABLE>.<C|
|00000b10| 41 50 54 49 4f 4e 20 63 | 6c 61 73 73 3d 22 42 4f |APTION c|lass="BO|
|00000b20| 54 54 4f 4d 22 3e 3c 53 | 54 52 4f 4e 47 3e 46 69 |TTOM"><S|TRONG>Fi|
|00000b30| 67 75 72 65 3a 3c 2f 53 | 54 52 4f 4e 47 3e 0a 54 |gure:</S|TRONG>.T|
|00000b40| 68 65 20 67 61 6d 65 20 | 6f 66 20 4c 69 66 65 3c |he game |of Life<|
|00000b50| 2f 43 41 50 54 49 4f 4e | 3e 0a 3c 54 52 3e 3c 54 |/CAPTION|>.<TR><T|
|00000b60| 44 3e 3c 49 4d 47 0a 20 | 53 54 59 4c 45 3d 22 68 |D><IMG. |STYLE="h|
|00000b70| 65 69 67 68 74 3a 20 32 | 36 31 2e 36 36 65 78 3b |eight: 2|61.66ex;|
|00000b80| 20 22 20 53 52 43 3d 22 | 69 6d 67 31 2e 70 6e 67 | " SRC="|img1.png|
|00000b90| 22 0a 20 41 4c 54 3d 22 | 5c 62 65 67 69 6e 7b 66 |". ALT="|\begin{f|
|00000ba0| 69 67 75 72 65 7d 5c 62 | 65 67 69 6e 7b 63 65 6e |igure}\b|egin{cen|
|00000bb0| 74 65 72 7d 0a 5c 62 65 | 67 69 6e 7b 76 65 72 62 |ter}.\be|gin{verb|
|00000bc0| 61 74 69 6d 7d 32 20 64 | 69 6d 65 6e 73 69 6f 6e |atim}2 d|imension|
|00000bd0| 73 20 6f 66 20 30 2e 2e | 31 73 75 6d 20 3a 3d 20 |s of 0..|1sum := |
|00000be0| 5b 30 2c 20 2e 2e 2e 0a | 2e 2e 2e 20 63 65 6c 6c |[0, ....|... cell|
|00000bf0| 20 3d 20 31 29 20 5c 76 | 65 72 74 20 73 75 6d 20 | = 1) \v|ert sum |
|00000c00| 3d 20 33 0a 3a 3d 20 30 | 20 6f 74 68 65 72 77 69 |= 3.:= 0| otherwi|
|00000c10| 73 65 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |se\end{v|erbatim}|
|00000c20| 0a 5c 65 6e 64 7b 63 65 | 6e 74 65 72 7d 0a 5c 65 |.\end{ce|nter}.\e|
|00000c30| 6e 64 7b 66 69 67 75 72 | 65 7d 22 3e 3c 2f 54 44 |nd{figur|e}"></TD|
|00000c40| 3e 3c 2f 54 52 3e 0a 3c | 2f 54 41 42 4c 45 3e 0a |></TR>.<|/TABLE>.|
|00000c50| 3c 2f 44 49 56 3e 0a 0a | 3c 50 3e 0a 54 68 65 20 |</DIV>..|<P>.The |
|00000c60| 67 61 6d 65 20 6f 66 20 | 4c 69 66 65 2c 20 70 6f |game of |Life, po|
|00000c70| 70 75 6c 61 72 69 7a 65 | 64 20 62 79 20 47 61 72 |pularize|d by Gar|
|00000c80| 64 65 6e 65 72 5b 3c 41 | 20 48 52 45 46 3d 22 6e |dener[<A| HREF="n|
|00000c90| 6f 64 65 39 5f 63 74 2e | 68 74 6d 6c 23 6c 69 66 |ode9_ct.|html#lif|
|00000ca0| 65 22 20 54 41 52 47 45 | 54 3d 22 63 6f 6e 74 65 |e" TARGE|T="conte|
|00000cb0| 6e 74 73 22 3e 37 3c 2f | 41 3e 5d 2c 0a 64 65 6d |nts">7</|A>],.dem|
|00000cc0| 6f 6e 73 74 72 61 74 65 | 73 20 6d 61 6e 79 20 6f |onstrate|s many o|
|00000cd0| 66 20 74 68 65 20 66 65 | 61 74 75 72 65 73 20 6f |f the fe|atures o|
|00000ce0| 66 20 3c 45 4d 3e 43 65 | 6c 6c 61 6e 67 20 32 2e |f <EM>Ce|llang 2.|
|00000cf0| 30 3c 2f 45 4d 3e 2e 20 | 20 0a 46 69 67 75 72 65 |0</EM>. | .Figure|
|00000d00| 26 6e 62 73 70 3b 3c 41 | 20 48 52 45 46 3d 22 6e |&nbsp;<A| HREF="n|
|00000d10| 6f 64 65 32 5f 63 74 2e | 68 74 6d 6c 23 73 69 6d |ode2_ct.|html#sim|
|00000d20| 70 6c 65 5f 6c 69 66 65 | 22 3e 3c 49 4d 47 20 20 |ple_life|"><IMG |
|00000d30| 41 4c 54 3d 22 5b 2a 5d | 22 20 53 52 43 3d 22 63 |ALT="[*]|" SRC="c|
|00000d40| 72 6f 73 73 72 65 66 2e | 70 6e 67 22 3e 3c 2f 41 |rossref.|png"></A|
|00000d50| 3e 0a 73 68 6f 77 73 20 | 74 68 65 20 74 68 69 73 |>.shows |the this|
|00000d60| 20 70 72 6f 62 6c 65 6d | 2e 20 20 4e 6f 74 65 0a | problem|. Note.|
|00000d70| 74 68 61 74 20 74 68 65 | 20 75 6e 69 76 65 72 73 |that the| univers|
|00000d80| 65 20 6f 66 20 63 65 6c | 6c 73 20 69 73 20 32 26 |e of cel|ls is 2&|
|00000d90| 6e 64 61 73 68 3b 64 69 | 6d 65 6e 73 69 6f 6e 61 |ndash;di|mensiona|
|00000da0| 6c 20 65 61 63 68 20 68 | 61 76 69 6e 67 20 65 69 |l each h|aving ei|
|00000db0| 74 68 65 72 20 61 20 30 | 20 6f 72 0a 31 20 76 61 |ther a 0| or.1 va|
|00000dc0| 6c 75 65 2e 20 20 43 6f | 6d 6d 65 6e 74 73 20 62 |lue. Co|mments b|
|00000dd0| 65 67 69 6e 0a 77 69 74 | 68 20 61 20 73 68 61 72 |egin.wit|h a shar|
|00000de0| 70 20 28 23 29 20 61 6e | 64 20 63 6f 6e 74 69 6e |p (#) an|d contin|
|00000df0| 75 65 20 74 6f 20 74 68 | 65 20 65 6e 64 20 6f 66 |ue to th|e end of|
|00000e00| 20 74 68 61 74 20 6c 69 | 6e 65 2e 20 20 54 68 65 | that li|ne. The|
|00000e10| 20 70 72 65 64 65 66 69 | 6e 65 64 20 76 61 72 69 | predefi|ned vari|
|00000e20| 61 62 6c 65 0a 3c 54 54 | 3e 63 65 6c 6c 3c 2f 54 |able.<TT|>cell</T|
|00000e30| 54 3e 20 69 73 20 73 70 | 65 63 69 61 6c 20 61 73 |T> is sp|ecial as|
|00000e40| 20 69 74 20 72 65 66 65 | 72 73 20 74 6f 20 74 68 | it refe|rs to th|
|00000e50| 65 20 63 75 72 72 65 6e | 74 20 63 65 6c 6c 20 6f |e curren|t cell o|
|00000e60| 66 20 74 68 65 20 75 6e | 69 76 65 72 73 65 20 75 |f the un|iverse u|
|00000e70| 6e 64 65 72 20 0a 63 6f | 6e 73 69 64 65 72 61 74 |nder .co|nsiderat|
|00000e80| 69 6f 6e 2e 0a 41 73 73 | 69 67 6e 6d 65 6e 74 20 |ion..Ass|ignment |
|00000e90| 74 6f 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 20 |to the v|ariable |
|00000ea0| 3c 54 54 3e 63 65 6c 6c | 3c 2f 54 54 3e 20 69 73 |<TT>cell|</TT> is|
|00000eb0| 20 74 68 65 20 6f 6e 6c | 79 20 77 61 79 20 69 6e | the onl|y way in|
|00000ec0| 20 77 68 69 63 68 20 74 | 68 65 20 76 61 6c 75 65 | which t|he value|
|00000ed0| 20 0a 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 | .of the| current|
|00000ee0| 20 63 65 6c 6c 20 28 6f | 72 20 6f 6e 65 20 6f 66 | cell (o|r one of|
|00000ef0| 20 69 74 73 20 66 69 65 | 6c 64 73 29 0a 63 61 6e | its fie|lds).can|
|00000f00| 20 62 65 20 61 6c 74 65 | 72 65 64 2e 20 20 46 75 | be alte|red. Fu|
|00000f10| 72 74 68 65 72 6d 6f 72 | 65 2c 20 74 68 65 20 6e |rthermor|e, the n|
|00000f20| 65 77 20 76 61 6c 75 65 | 20 6f 66 20 3c 54 54 3e |ew value| of <TT>|
|00000f30| 63 65 6c 6c 3c 2f 54 54 | 3e 20 64 6f 65 73 6e 27 |cell</TT|> doesn'|
|00000f40| 74 20 74 61 6b 65 20 65 | 66 66 65 63 74 0a 75 6e |t take e|ffect.un|
|00000f50| 74 69 6c 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e |til the |beginnin|
|00000f60| 67 20 6f 66 20 74 68 65 | 20 6e 65 78 74 20 63 79 |g of the| next cy|
|00000f70| 63 6c 65 2e 20 20 4e 6f | 74 69 63 65 20 74 68 61 |cle. No|tice tha|
|00000f80| 74 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 4d |t the st|andard M|
|00000f90| 6f 6f 72 65 20 0a 6e 65 | 69 67 68 62 6f 72 68 6f |oore .ne|ighborho|
|00000fa0| 6f 64 20 75 73 65 64 20 | 62 79 20 74 68 65 0a 67 |od used |by the.g|
|00000fb0| 61 6d 65 20 6f 66 20 4c | 69 66 65 20 6d 75 73 74 |ame of L|ife must|
|00000fc0| 20 62 65 20 67 69 76 65 | 6e 20 62 79 20 72 65 6c | be give|n by rel|
|00000fd0| 61 74 69 76 65 20 69 6e | 64 65 78 69 6e 67 2e 3c |ative in|dexing.<|
|00000fe0| 41 20 4e 41 4d 45 3d 22 | 74 65 78 32 68 74 6d 6c |A NAME="|tex2html|
|00000ff0| 35 22 20 48 52 45 46 3d | 22 66 6f 6f 74 6e 6f 64 |5" HREF=|"footnod|
|00001000| 65 5f 6d 6e 2e 68 74 6d | 6c 23 66 6f 6f 74 38 38 |e_mn.htm|l#foot88|
|00001010| 22 20 54 41 52 47 45 54 | 3d 22 66 6f 6f 74 65 72 |" TARGET|="footer|
|00001020| 22 3e 3c 53 55 50 3e 34 | 3c 2f 53 55 50 3e 3c 2f |"><SUP>4|</SUP></|
|00001030| 41 3e 57 68 69 6c 65 20 | 72 65 6c 61 74 69 76 65 |A>While |relative|
|00001040| 20 69 6e 64 65 78 69 6e | 67 20 6d 61 79 20 73 65 | indexin|g may se|
|00001050| 65 6d 20 63 75 6d 62 65 | 72 73 6f 6d 65 2c 0a 69 |em cumbe|rsome,.i|
|00001060| 74 20 70 72 6f 76 69 64 | 65 73 20 67 72 65 61 74 |t provid|es great|
|00001070| 20 66 6c 65 78 69 62 69 | 6c 69 74 79 2e 20 20 54 | flexibi|lity. T|
|00001080| 68 65 20 6f 6e 6c 79 20 | 70 72 61 63 74 69 63 61 |he only |practica|
|00001090| 6c 20 72 65 73 74 72 69 | 63 74 69 6f 6e 20 6f 6e |l restri|ction on|
|000010a0| 20 72 65 6c 61 74 69 76 | 65 20 0a 69 6e 64 69 63 | relativ|e .indic|
|000010b0| 65 73 20 69 73 20 74 68 | 61 74 20 74 68 65 79 20 |es is th|at they |
|000010c0| 62 65 20 69 6e 74 65 67 | 65 72 20 63 6f 6e 73 74 |be integ|er const|
|000010d0| 61 6e 74 73 2e 0a 0a 3c | 50 3e 0a 42 65 63 61 75 |ants...<|P>.Becau|
|000010e0| 73 65 20 74 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |se there| are no |
|000010f0| 6c 61 6e 67 75 61 67 65 | 20 73 70 65 63 69 66 69 |language| specifi|
|00001100| 63 20 6c 69 6d 69 74 73 | 20 6f 6e 20 74 68 65 20 |c limits| on the |
|00001110| 73 69 7a 65 20 6f 66 20 | 72 65 6c 61 74 69 76 65 |size of |relative|
|00001120| 20 69 6e 64 69 63 65 73 | 2c 0a 69 74 20 69 73 20 | indices|,.it is |
|00001130| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 65 78 70 6c |possible| to expl|
|00001140| 6f 72 65 20 61 20 77 69 | 64 65 20 72 61 6e 67 65 |ore a wi|de range|
|00001150| 20 6f 66 20 6e 65 69 67 | 68 62 6f 72 68 6f 6f 64 | of neig|hborhood|
|00001160| 73 2e 0a 4e 65 69 67 68 | 62 6f 72 68 6f 6f 64 73 |s..Neigh|borhoods|
|00001170| 20 77 68 69 63 68 20 75 | 73 65 20 66 69 65 6c 64 | which u|se field|
|00001180| 20 76 61 6c 75 65 73 20 | 3c 45 4d 3e 6e 3c 2f 45 | values |<EM>n</E|
|00001190| 4d 3e 20 63 65 6c 6c 73 | 20 61 77 61 79 20 61 72 |M> cells| away ar|
|000011a0| 65 20 70 6f 73 73 69 62 | 6c 65 20 0a 66 6f 72 20 |e possib|le .for |
|000011b0| 61 6e 79 20 76 61 6c 75 | 65 20 6f 66 20 69 6e 74 |any valu|e of int|
|000011c0| 65 67 65 72 20 76 61 6c | 75 65 20 3c 45 4d 3e 6e |eger val|ue <EM>n|
|000011d0| 3c 2f 45 4d 3e 2e 0a 49 | 6e 20 61 64 64 69 74 69 |</EM>..I|n additi|
|000011e0| 6f 6e 2c 20 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |on, ther|e is no |
|000011f0| 72 65 73 74 72 69 63 74 | 69 6f 6e 20 74 68 61 74 |restrict|ion that|
|00001200| 20 6e 65 69 67 68 62 6f | 72 68 6f 6f 64 73 0a 62 | neighbo|rhoods.b|
|00001210| 65 20 73 79 6d 6d 65 74 | 72 69 63 61 6c 20 6f 72 |e symmet|rical or|
|00001220| 20 68 61 76 65 20 61 6e | 79 20 6f 74 68 65 72 20 | have an|y other |
|00001230| 73 70 65 63 69 61 6c 20 | 74 6f 70 6f 67 72 61 70 |special |topograp|
|00001240| 68 69 63 61 6c 20 70 72 | 6f 70 65 72 74 69 65 73 |hical pr|operties|
|00001250| 2e 0a 0a 3c 50 3e 0a 41 | 6e 20 61 64 64 69 74 69 |...<P>.A|n additi|
|00001260| 6f 6e 61 6c 20 70 72 65 | 64 65 66 69 6e 65 64 20 |onal pre|defined |
|00001270| 76 61 72 69 61 62 6c 65 | 2c 0a 3c 54 54 3e 74 69 |variable|,.<TT>ti|
|00001280| 6d 65 3c 2f 54 54 3e 2c | 20 63 61 6e 20 6f 6e 6c |me</TT>,| can onl|
|00001290| 79 20 61 70 70 65 61 72 | 20 77 69 74 68 69 6e 20 |y appear| within |
|000012a0| 65 78 70 72 65 73 73 69 | 6f 6e 73 2e 0a 54 68 75 |expressi|ons..Thu|
|000012b0| 73 20 61 20 70 72 6f 67 | 72 61 6d 20 63 61 6e 20 |s a prog|ram can |
|000012c0| 6e 6f 74 20 63 68 61 6e | 67 65 20 3c 54 54 3e 74 |not chan|ge <TT>t|
|000012d0| 69 6d 65 3c 2f 54 54 3e | 2c 20 62 75 74 20 3c 54 |ime</TT>|, but <T|
|000012e0| 54 3e 74 69 6d 65 3c 2f | 54 54 3e 20 63 61 6e 20 |T>time</|TT> can |
|000012f0| 62 65 20 75 73 65 64 20 | 74 6f 20 0a 69 6e 66 6c |be used |to .infl|
|00001300| 75 65 6e 63 65 0a 63 6f | 6d 70 75 74 61 74 69 6f |uence.co|mputatio|
|00001310| 6e 2e 20 20 54 68 65 20 | 69 6e 69 74 69 61 6c 20 |n. The |initial |
|00001320| 76 61 6c 75 65 20 6f 66 | 20 3c 54 54 3e 74 69 6d |value of| <TT>tim|
|00001330| 65 3c 2f 54 54 3e 20 69 | 73 20 30 20 61 6e 64 20 |e</TT> i|s 0 and |
|00001340| 69 74 20 69 73 20 69 6e | 63 72 65 6d 65 6e 74 65 |it is in|cremente|
|00001350| 64 20 62 79 20 31 20 0a | 65 61 63 68 20 74 69 6d |d by 1 .|each tim|
|00001360| 65 20 61 6c 6c 20 74 68 | 65 20 63 65 6c 6c 73 20 |e all th|e cells |
|00001370| 6f 66 20 74 68 65 20 75 | 6e 69 76 65 72 73 65 20 |of the u|niverse |
|00001380| 68 61 76 65 20 62 65 65 | 6e 20 75 70 64 61 74 65 |have bee|n update|
|00001390| 64 2e 0a 54 68 69 73 20 | 66 65 61 74 75 72 65 20 |d..This |feature |
|000013a0| 61 6c 6c 6f 77 73 20 6e | 65 69 67 68 62 6f 72 68 |allows n|eighborh|
|000013b0| 6f 6f 64 73 20 77 68 69 | 63 68 0a 61 72 65 20 74 |oods whi|ch.are t|
|000013c0| 69 6d 65 20 64 65 70 65 | 6e 64 65 6e 74 2e 20 20 |ime depe|ndent. |
|000013d0| 46 69 67 75 72 65 26 6e | 62 73 70 3b 3c 41 20 48 |Figure&n|bsp;<A H|
|000013e0| 52 45 46 3d 22 6e 6f 64 | 65 32 5f 63 74 2e 68 74 |REF="nod|e2_ct.ht|
|000013f0| 6d 6c 23 74 69 6d 65 5f | 64 65 70 65 6e 64 65 6e |ml#time_|dependen|
|00001400| 74 5f 6c 69 66 65 22 3e | 3c 49 4d 47 20 20 41 4c |t_life">|<IMG AL|
|00001410| 54 3d 22 5b 2a 5d 22 20 | 53 52 43 3d 22 63 72 6f |T="[*]" |SRC="cro|
|00001420| 73 73 72 65 66 2e 70 6e | 67 22 3e 3c 2f 41 3e 20 |ssref.pn|g"></A> |
|00001430| 64 65 6d 6f 6e 73 74 72 | 61 74 65 73 20 74 68 69 |demonstr|ates thi|
|00001440| 73 0a 70 6f 73 73 69 62 | 69 6c 69 74 79 2e 20 20 |s.possib|ility. |
|00001450| 53 69 6d 69 6c 61 72 6c | 79 20 69 74 20 69 73 20 |Similarl|y it is |
|00001460| 61 6c 73 6f 20 70 6f 73 | 73 69 62 6c 65 20 74 6f |also pos|sible to|
|00001470| 20 68 61 76 65 20 63 65 | 6c 6c 20 66 69 65 6c 64 | have ce|ll field|
|00001480| 20 76 61 6c 75 65 73 20 | 63 68 61 6e 67 65 0a 77 | values |change.w|
|00001490| 69 74 68 20 64 65 70 65 | 6e 64 65 6e 63 65 20 75 |ith depe|ndence u|
|000014a0| 70 6f 6e 20 74 69 6d 65 | 2e 0a 54 68 65 20 74 69 |pon time|..The ti|
|000014b0| 6d 65 20 64 65 70 65 6e | 64 65 6e 74 20 6e 65 69 |me depen|dent nei|
|000014c0| 67 68 62 6f 72 68 6f 6f | 64 73 20 63 61 6e 20 62 |ghborhoo|ds can b|
|000014d0| 65 20 75 73 65 64 20 74 | 6f 20 72 65 70 72 65 73 |e used t|o repres|
|000014e0| 65 6e 74 20 62 6f 74 68 | 0a 68 79 62 72 69 64 20 |ent both|.hybrid |
|000014f0| 6e 65 69 67 68 62 6f 72 | 68 6f 6f 64 73 0a 6f 72 |neighbor|hoods.or|
|00001500| 20 69 6e 20 73 69 74 75 | 61 74 69 6f 6e 73 20 77 | in situ|ations w|
|00001510| 68 65 72 65 20 74 68 65 | 20 70 68 79 73 69 63 61 |here the| physica|
|00001520| 6c 20 73 79 73 74 65 6d | 20 62 65 68 61 76 65 73 |l system| behaves|
|00001530| 0a 61 63 63 6f 72 64 69 | 6e 67 20 74 6f 20 64 69 |.accordi|ng to di|
|00001540| 66 66 65 72 65 6e 74 20 | 72 75 6c 65 73 2f 6e 65 |fferent |rules/ne|
|00001550| 69 67 68 62 6f 72 68 6f | 6f 64 73 20 61 73 20 69 |ighborho|ods as i|
|00001560| 74 20 61 67 65 73 2e 0a | 0a 3c 50 3e 0a 0a 3c 44 |t ages..|.<P>..<D|
|00001570| 49 56 20 63 6c 61 73 73 | 3d 22 43 45 4e 54 45 52 |IV class|="CENTER|
|00001580| 22 3e 3c 41 20 49 44 3d | 22 74 69 6d 65 5f 64 65 |"><A ID=|"time_de|
|00001590| 70 65 6e 64 65 6e 74 5f | 6c 69 66 65 22 3e 3c 2f |pendent_|life"></|
|000015a0| 41 3e 3c 41 20 49 44 3d | 22 31 30 31 22 3e 3c 2f |A><A ID=|"101"></|
|000015b0| 41 3e 0a 3c 54 41 42 4c | 45 3e 0a 3c 43 41 50 54 |A>.<TABL|E>.<CAPT|
|000015c0| 49 4f 4e 20 63 6c 61 73 | 73 3d 22 42 4f 54 54 4f |ION clas|s="BOTTO|
|000015d0| 4d 22 3e 3c 53 54 52 4f | 4e 47 3e 46 69 67 75 72 |M"><STRO|NG>Figur|
|000015e0| 65 3a 3c 2f 53 54 52 4f | 4e 47 3e 0a 41 6e 20 61 |e:</STRO|NG>.An a|
|000015f0| 6c 74 65 72 6e 61 74 65 | 20 67 61 6d 65 20 6f 66 |lternate| game of|
|00001600| 20 6c 69 66 65 20 77 69 | 74 68 20 61 20 74 69 6d | life wi|th a tim|
|00001610| 65 20 64 65 70 65 6e 64 | 65 6e 74 20 28 68 79 62 |e depend|ent (hyb|
|00001620| 72 69 64 29 20 6e 65 69 | 67 68 62 6f 72 68 6f 6f |rid) nei|ghborhoo|
|00001630| 64 3c 2f 43 41 50 54 49 | 4f 4e 3e 0a 3c 54 52 3e |d</CAPTI|ON>.<TR>|
|00001640| 3c 54 44 3e 3c 49 4d 47 | 0a 20 53 54 59 4c 45 3d |<TD><IMG|. STYLE=|
|00001650| 22 68 65 69 67 68 74 3a | 20 32 36 31 2e 36 36 65 |"height:| 261.66e|
|00001660| 78 3b 20 22 20 53 52 43 | 3d 22 69 6d 67 32 2e 70 |x; " SRC|="img2.p|
|00001670| 6e 67 22 0a 20 41 4c 54 | 3d 22 5c 62 65 67 69 6e |ng". ALT|="\begin|
|00001680| 7b 66 69 67 75 72 65 7d | 5c 62 65 67 69 6e 7b 63 |{figure}|\begin{c|
|00001690| 65 6e 74 65 72 7d 0a 5c | 62 65 67 69 6e 7b 76 65 |enter}.\|begin{ve|
|000016a0| 72 62 61 74 69 6d 7d 32 | 20 64 69 6d 65 6e 73 69 |rbatim}2| dimensi|
|000016b0| 6f 6e 73 20 6f 66 20 30 | 2e 2e 31 69 66 20 74 69 |ons of 0|..1if ti|
|000016c0| 6d 65 20 25 20 32 2e 2e | 2e 0a 2e 2e 2e 20 77 68 |me % 2..|..... wh|
|000016d0| 65 6e 20 73 75 6d 20 3d | 20 33 20 26 61 6d 70 3b |en sum =| 3 &amp;|
|000016e0| 20 63 65 6c 6c 20 3d 20 | 30 0a 3a 3d 20 30 20 6f | cell = |0.:= 0 o|
|000016f0| 74 68 65 72 77 69 73 65 | 5c 65 6e 64 7b 76 65 72 |therwise|\end{ver|
|00001700| 62 61 74 69 6d 7d 0a 5c | 65 6e 64 7b 63 65 6e 74 |batim}.\|end{cent|
|00001710| 65 72 7d 0a 5c 65 6e 64 | 7b 66 69 67 75 72 65 7d |er}.\end|{figure}|
|00001720| 22 3e 3c 2f 54 44 3e 3c | 2f 54 52 3e 0a 3c 2f 54 |"></TD><|/TR>.</T|
|00001730| 41 42 4c 45 3e 0a 3c 2f | 44 49 56 3e 0a 0a 3c 50 |ABLE>.</|DIV>..<P|
|00001740| 3e 0a 0a 3c 44 49 56 20 | 63 6c 61 73 73 3d 22 43 |>..<DIV |class="C|
|00001750| 45 4e 54 45 52 22 3e 3c | 41 20 49 44 3d 22 6d 75 |ENTER"><|A ID="mu|
|00001760| 6c 74 69 70 6c 65 5f 63 | 65 6c 6c 5f 66 69 65 6c |ltiple_c|ell_fiel|
|00001770| 64 73 22 3e 3c 2f 41 3e | 3c 41 20 49 44 3d 22 31 |ds"></A>|<A ID="1|
|00001780| 30 39 22 3e 3c 2f 41 3e | 0a 3c 54 41 42 4c 45 3e |09"></A>|.<TABLE>|
|00001790| 0a 3c 43 41 50 54 49 4f | 4e 20 63 6c 61 73 73 3d |.<CAPTIO|N class=|
|000017a0| 22 42 4f 54 54 4f 4d 22 | 3e 3c 53 54 52 4f 4e 47 |"BOTTOM"|><STRONG|
|000017b0| 3e 46 69 67 75 72 65 3a | 3c 2f 53 54 52 4f 4e 47 |>Figure:|</STRONG|
|000017c0| 3e 0a 41 6e 20 65 78 61 | 6d 70 6c 65 20 70 72 6f |>.An exa|mple pro|
|000017d0| 67 72 61 6d 20 77 69 74 | 68 20 6d 75 6c 74 69 26 |gram wit|h multi&|
|000017e0| 6e 64 61 73 68 3b 66 69 | 65 6c 64 20 63 65 6c 6c |ndash;fi|eld cell|
|000017f0| 73 2e 3c 2f 43 41 50 54 | 49 4f 4e 3e 0a 3c 54 52 |s.</CAPT|ION>.<TR|
|00001800| 3e 3c 54 44 3e 3c 49 4d | 47 0a 20 53 54 59 4c 45 |><TD><IM|G. STYLE|
|00001810| 3d 22 68 65 69 67 68 74 | 3a 20 32 36 31 2e 36 36 |="height|: 261.66|
|00001820| 65 78 3b 20 22 20 53 52 | 43 3d 22 69 6d 67 33 2e |ex; " SR|C="img3.|
|00001830| 70 6e 67 22 0a 20 41 4c | 54 3d 22 5c 62 65 67 69 |png". AL|T="\begi|
|00001840| 6e 7b 66 69 67 75 72 65 | 7d 5c 62 65 67 69 6e 7b |n{figure|}\begin{|
|00001850| 63 65 6e 74 65 72 7d 0a | 5c 62 65 67 69 6e 7b 76 |center}.|\begin{v|
|00001860| 65 72 62 61 74 69 6d 7d | 32 20 64 69 6d 65 6e 73 |erbatim}|2 dimens|
|00001870| 69 6f 6e 73 20 6f 66 0a | 78 2c 20 79 20 6f 66 20 |ions of.|x, y of |
|00001880| 30 2e 2e 32 35 35 0a 65 | 2e 2e 2e 0a 2e 2e 2e 20 |0..255.e|....... |
|00001890| 5b 31 2c 20 2d 31 5d 2e | 78 29 20 25 20 32 35 36 |[1, -1].|x) % 256|
|000018a0| 0a 77 68 65 6e 20 28 74 | 69 6d 65 20 2b 20 31 29 |.when (t|ime + 1)|
|000018b0| 20 25 20 32 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 | % 2.\en|d{verbat|
|000018c0| 69 6d 7d 0a 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |im}.\end|{center}|
|000018d0| 0a 5c 65 6e 64 7b 66 69 | 67 75 72 65 7d 22 3e 3c |.\end{fi|gure}"><|
|000018e0| 2f 54 44 3e 3c 2f 54 52 | 3e 0a 3c 2f 54 41 42 4c |/TD></TR|>.</TABL|
|000018f0| 45 3e 0a 3c 2f 44 49 56 | 3e 0a 0a 3c 50 3e 0a 3c |E>.</DIV|>..<P>.<|
|00001900| 45 4d 3e 43 65 6c 6c 61 | 6e 67 20 32 2e 30 3c 2f |EM>Cella|ng 2.0</|
|00001910| 45 4d 3e 20 70 72 6f 67 | 72 61 6d 73 20 6d 61 79 |EM> prog|rams may|
|00001920| 20 61 6c 73 6f 20 63 6f | 6e 74 61 69 6e 20 6d 6f | also co|ntain mo|
|00001930| 72 65 20 74 68 61 6e 20 | 61 20 73 69 6e 67 6c 65 |re than |a single|
|00001940| 20 66 69 65 6c 64 0a 70 | 65 72 20 63 65 6c 6c 2e | field.p|er cell.|
|00001950| 20 20 54 68 65 20 70 72 | 6f 67 72 61 6d 20 67 69 | The pr|ogram gi|
|00001960| 76 65 6e 20 69 6e 20 46 | 69 67 75 72 65 26 6e 62 |ven in F|igure&nb|
|00001970| 73 70 3b 3c 41 20 48 52 | 45 46 3d 22 6e 6f 64 65 |sp;<A HR|EF="node|
|00001980| 32 5f 63 74 2e 68 74 6d | 6c 23 6d 75 6c 74 69 70 |2_ct.htm|l#multip|
|00001990| 6c 65 5f 63 65 6c 6c 5f | 66 69 65 6c 64 73 22 3e |le_cell_|fields">|
|000019a0| 3c 49 4d 47 20 20 41 4c | 54 3d 22 5b 2a 5d 22 20 |<IMG AL|T="[*]" |
|000019b0| 53 52 43 3d 22 63 72 6f | 73 73 72 65 66 2e 70 6e |SRC="cro|ssref.pn|
|000019c0| 67 22 3e 3c 2f 41 3e 20 | 73 68 6f 77 73 20 0a 61 |g"></A> |shows .a|
|000019d0| 20 70 72 6f 67 72 61 6d | 20 77 69 74 68 20 33 20 | program| with 3 |
|000019e0| 66 69 65 6c 64 73 20 70 | 65 72 20 63 65 6c 6c 2e |fields p|er cell.|
|000019f0| 0a 4e 6f 74 65 20 74 68 | 61 74 20 74 68 65 20 64 |.Note th|at the d|
|00001a00| 6f 74 20 6e 6f 74 61 74 | 69 6f 6e 20 66 61 6d 69 |ot notat|ion fami|
|00001a10| 6c 69 61 72 20 66 72 6f | 6d 20 6d 61 6e 79 20 6f |liar fro|m many o|
|00001a20| 74 68 65 72 20 6c 61 6e | 67 75 61 67 65 73 20 66 |ther lan|guages f|
|00001a30| 6f 72 20 75 73 65 0a 77 | 69 74 68 20 72 65 63 6f |or use.w|ith reco|
|00001a40| 72 64 73 2f 73 74 72 75 | 63 74 75 72 65 73 2c 20 |rds/stru|ctures, |
|00001a50| 69 73 20 75 73 65 64 20 | 68 65 72 65 20 74 6f 20 |is used |here to |
|00001a60| 64 65 74 65 72 6d 69 6e | 65 20 77 68 69 63 68 20 |determin|e which |
|00001a70| 6f 66 20 73 65 76 65 72 | 61 6c 0a 63 65 6c 6c 20 |of sever|al.cell |
|00001a80| 66 69 65 6c 64 73 20 69 | 73 20 62 65 69 6e 67 20 |fields i|s being |
|00001a90| 64 65 6e 6f 74 65 64 2e | 20 20 49 66 2c 20 6f 6e |denoted.| If, on|
|00001aa0| 20 74 68 65 20 6f 74 68 | 65 72 20 68 61 6e 64 2c | the oth|er hand,|
|00001ab0| 20 74 68 65 20 66 69 65 | 6c 64 20 6e 61 6d 65 20 | the fie|ld name |
|00001ac0| 69 73 20 0a 6e 6f 74 20 | 70 72 65 73 65 6e 74 2c |is .not |present,|
|00001ad0| 20 74 68 65 6e 20 61 6c | 6c 20 66 69 65 6c 64 73 | then al|l fields|
|00001ae0| 20 6f 66 20 74 68 65 20 | 63 65 6c 6c 20 61 72 65 | of the |cell are|
|00001af0| 20 75 73 65 64 20 69 6e | 0a 61 73 73 69 67 6e 6d | used in|.assignm|
|00001b00| 65 6e 74 20 61 6e 64 20 | 66 6f 72 20 74 65 73 74 |ent and |for test|
|00001b10| 73 20 6f 66 20 65 71 75 | 61 6c 69 74 79 20 61 6e |s of equ|ality an|
|00001b20| 64 20 69 6e 65 71 75 61 | 6c 69 74 79 2e 0a 0a 3c |d inequa|lity...<|
|00001b30| 50 3e 0a 46 69 6e 61 6c | 6c 79 2c 20 62 6f 74 68 |P>.Final|ly, both|
|00001b40| 20 74 68 65 20 69 6e 70 | 75 74 20 61 6e 64 20 6f | the inp|ut and o|
|00001b50| 75 74 70 75 74 20 6f 66 | 20 3c 45 4d 3e 43 65 6c |utput of| <EM>Cel|
|00001b60| 6c 61 6e 67 20 32 2e 30 | 3c 2f 45 4d 3e 20 70 72 |lang 2.0|</EM> pr|
|00001b70| 6f 67 72 61 6d 73 0a 61 | 6c 6c 6f 77 20 74 68 65 |ograms.a|llow the|
|00001b80| 20 75 73 65 72 20 74 6f | 20 6d 61 6e 69 70 75 6c | user to| manipul|
|00001b90| 61 74 65 20 63 65 6c 6c | 75 6c 61 72 20 61 75 74 |ate cell|ular aut|
|00001ba0| 6f 6d 61 74 61 20 64 61 | 74 61 20 69 6e 20 77 61 |omata da|ta in wa|
|00001bb0| 79 73 20 74 68 61 74 20 | 6d 61 6e 79 0a 73 79 73 |ys that |many.sys|
|00001bc0| 74 65 6d 73 20 64 6f 20 | 6e 6f 74 20 70 65 72 6d |tems do |not perm|
|00001bd0| 69 74 2e 20 20 42 6f 74 | 68 20 69 6e 70 75 74 20 |it. Bot|h input |
|00001be0| 61 6e 64 20 6f 75 74 70 | 75 74 20 61 72 65 20 6f |and outp|ut are o|
|00001bf0| 66 20 69 64 65 6e 74 69 | 63 61 6c 20 66 6f 72 6d |f identi|cal form|
|00001c00| 2c 0a 74 68 75 73 20 61 | 6c 6c 6f 77 69 6e 67 20 |,.thus a|llowing |
|00001c10| 61 75 74 6f 6d 61 74 61 | 20 74 6f 20 62 65 20 63 |automata| to be c|
|00001c20| 68 61 69 6e 65 64 20 74 | 6f 67 65 74 68 65 72 2e |hained t|ogether.|
|00001c30| 20 20 42 6f 74 68 0a 69 | 6e 70 75 74 20 61 6e 64 | Both.i|nput and|
|00001c40| 20 6f 75 74 70 75 74 20 | 61 72 65 20 67 69 76 65 | output |are give|
|00001c50| 6e 20 61 73 20 61 20 73 | 65 71 75 65 6e 63 65 20 |n as a s|equence |
|00001c60| 6f 66 20 74 69 6d 65 20 | 62 6c 6f 63 6b 73 2e 20 |of time |blocks. |
|00001c70| 20 41 20 74 69 6d 65 20 | 62 6c 6f 63 6b 0a 62 65 | A time |block.be|
|00001c80| 67 69 6e 73 20 77 69 74 | 68 20 61 20 74 69 6d 65 |gins wit|h a time|
|00001c90| 20 28 61 20 6e 6f 6e 26 | 6e 64 61 73 68 3b 6e 65 | (a non&|ndash;ne|
|00001ca0| 67 61 74 69 76 65 20 69 | 6e 74 65 67 65 72 20 76 |gative i|nteger v|
|00001cb0| 61 6c 75 65 29 20 66 6f | 6c 6c 6f 77 65 64 20 62 |alue) fo|llowed b|
|00001cc0| 79 20 7a 65 72 6f 20 6f | 72 20 6d 6f 72 65 0a 63 |y zero o|r more.c|
|00001cd0| 65 6c 6c 20 6c 6f 63 61 | 74 69 6f 6e 20 61 6e 64 |ell loca|tion and|
|00001ce0| 20 76 61 6c 75 65 20 70 | 61 69 72 73 2e 20 20 57 | value p|airs. W|
|00001cf0| 68 65 6e 20 6d 75 6c 74 | 69 70 6c 65 20 74 69 6d |hen mult|iple tim|
|00001d00| 65 20 62 6c 6f 63 6b 73 | 20 61 72 65 20 67 69 76 |e blocks| are giv|
|00001d10| 65 6e 2c 0a 73 75 63 63 | 65 73 73 69 76 65 20 74 |en,.succ|essive t|
|00001d20| 69 6d 65 73 20 6d 75 73 | 74 20 62 65 20 73 74 72 |imes mus|t be str|
|00001d30| 69 63 74 6c 79 20 67 72 | 65 61 74 65 72 20 74 68 |ictly gr|eater th|
|00001d40| 61 6e 20 61 6c 6c 20 70 | 72 65 76 69 6f 75 73 20 |an all p|revious |
|00001d50| 74 69 6d 65 73 2e 0a 41 | 6e 20 65 78 61 6d 70 6c |times..A|n exampl|
|00001d60| 65 20 73 65 74 20 6f 66 | 20 74 69 6d 65 20 62 6c |e set of| time bl|
|00001d70| 6f 63 6b 73 20 66 6f 72 | 20 61 20 32 26 6e 64 61 |ocks for| a 2&nda|
|00001d80| 73 68 3b 64 69 6d 65 6e | 73 69 6f 6e 61 6c 20 61 |sh;dimen|sional a|
|00001d90| 75 74 6f 6d 61 74 61 20 | 69 73 20 67 69 76 65 6e |utomata |is given|
|00001da0| 20 69 6e 0a 46 69 67 75 | 72 65 26 6e 62 73 70 3b | in.Figu|re&nbsp;|
|00001db0| 3c 41 20 48 52 45 46 3d | 22 6e 6f 64 65 32 5f 63 |<A HREF=|"node2_c|
|00001dc0| 74 2e 68 74 6d 6c 23 74 | 69 6d 65 5f 62 6c 6f 63 |t.html#t|ime_bloc|
|00001dd0| 6b 73 22 3e 3c 49 4d 47 | 20 20 41 4c 54 3d 22 5b |ks"><IMG| ALT="[|
|00001de0| 2a 5d 22 20 53 52 43 3d | 22 63 72 6f 73 73 72 65 |*]" SRC=|"crossre|
|00001df0| 66 2e 70 6e 67 22 3e 3c | 2f 41 3e 2e 20 20 49 74 |f.png"><|/A>. It|
|00001e00| 20 73 70 65 63 69 66 69 | 65 73 20 74 68 61 74 20 | specifi|es that |
|00001e10| 61 6c 74 68 6f 75 67 68 | 0a 61 6c 6c 20 74 68 65 |although|.all the|
|00001e20| 20 63 65 6c 6c 73 20 6f | 66 20 74 68 65 20 75 6e | cells o|f the un|
|00001e30| 69 76 65 72 73 65 20 68 | 61 76 65 20 61 20 64 65 |iverse h|ave a de|
|00001e40| 66 61 75 6c 74 20 76 61 | 6c 75 65 20 6f 66 20 30 |fault va|lue of 0|
|00001e50| 20 61 74 20 74 69 6d 65 | 0a 30 2c 20 74 68 65 20 | at time|.0, the |
|00001e60| 63 65 6c 6c 20 61 74 20 | 61 62 73 6f 6c 75 74 65 |cell at |absolute|
|00001e70| 20 6c 6f 63 61 74 69 6f | 6e 20 33 2c 20 33 20 77 | locatio|n 3, 3 w|
|00001e80| 69 6c 6c 20 68 61 76 65 | 20 61 20 76 61 6c 75 65 |ill have| a value|
|00001e90| 20 6f 66 20 31 2e 20 20 | 46 75 72 74 68 65 72 6d | of 1. |Furtherm|
|00001ea0| 6f 72 65 2c 0a 69 74 20 | 73 70 65 63 69 66 69 65 |ore,.it |specifie|
|00001eb0| 73 20 74 68 61 74 20 61 | 74 20 74 68 65 20 62 65 |s that a|t the be|
|00001ec0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 69 6d 65 20 |ginning |of time |
|00001ed0| 31 30 30 20 28 62 65 66 | 6f 72 65 20 61 6e 79 20 |100 (bef|ore any |
|00001ee0| 63 65 6c 6c 73 20 68 61 | 76 65 20 62 65 65 6e 0a |cells ha|ve been.|
|00001ef0| 75 70 64 61 74 65 64 29 | 2c 20 74 68 65 20 63 65 |updated)|, the ce|
|00001f00| 6c 6c 20 61 74 20 61 62 | 73 6f 6c 75 74 65 20 6c |ll at ab|solute l|
|00001f10| 6f 63 61 74 69 6f 6e 20 | 32 34 2c 20 35 36 20 68 |ocation |24, 56 h|
|00001f20| 61 73 20 69 74 73 20 66 | 69 72 73 74 20 66 69 65 |as its f|irst fie|
|00001f30| 6c 64 20 73 65 74 20 74 | 6f 20 30 2c 0a 74 68 65 |ld set t|o 0,.the|
|00001f40| 20 63 65 6c 6c 20 61 74 | 20 61 62 73 6f 6c 75 74 | cell at| absolut|
|00001f50| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 35 30 2c 20 35 |e locati|on 50, 5|
|00001f60| 30 20 68 61 73 20 69 74 | 73 20 66 69 72 73 74 20 |0 has it|s first |
|00001f70| 66 69 65 6c 64 20 73 65 | 74 20 74 6f 20 35 20 61 |field se|t to 5 a|
|00001f80| 6e 64 20 69 74 20 73 65 | 63 6f 6e 64 0a 66 69 65 |nd it se|cond.fie|
|00001f90| 6c 64 20 73 65 74 20 74 | 6f 20 36 2c 20 61 6e 64 |ld set t|o 6, and|
|00001fa0| 20 74 68 65 20 63 65 6c | 6c 20 61 74 20 6c 6f 63 | the cel|l at loc|
|00001fb0| 61 74 69 6f 6e 20 32 2c | 20 33 32 20 68 61 73 20 |ation 2,| 32 has |
|00001fc0| 69 74 73 20 74 68 69 72 | 64 20 66 69 65 6c 64 20 |its thir|d field |
|00001fd0| 73 65 74 20 74 6f 20 33 | 2e 0a 54 68 69 73 20 63 |set to 3|..This c|
|00001fe0| 65 6c 6c 20 76 61 6c 75 | 65 20 69 6e 70 75 74 20 |ell valu|e input |
|00001ff0| 70 72 6f 63 65 73 73 20 | 63 6f 6e 74 69 6e 75 65 |process |continue|
|00002000| 73 20 66 6f 72 0a 61 73 | 20 6d 61 6e 79 20 74 69 |s for.as| many ti|
|00002010| 6d 65 20 62 6c 6f 63 6b | 73 20 61 73 20 61 72 65 |me block|s as are|
|00002020| 20 69 6e 20 74 68 65 20 | 69 6e 70 75 74 2e 20 20 | in the |input. |
|00002030| 54 68 65 20 6f 75 74 70 | 75 74 20 6f 66 20 61 20 |The outp|ut of a |
|00002040| 3c 45 4d 3e 43 65 6c 6c | 61 6e 67 20 32 2e 30 3c |<EM>Cell|ang 2.0<|
|00002050| 2f 45 4d 3e 0a 70 72 6f | 67 72 61 6d 20 68 61 73 |/EM>.pro|gram has|
|00002060| 20 74 68 65 20 73 61 6d | 65 20 66 6f 72 6d 20 61 | the sam|e form a|
|00002070| 6e 64 20 63 61 6e 20 74 | 68 75 73 20 61 70 70 65 |nd can t|hus appe|
|00002080| 61 72 20 61 73 20 69 6e | 70 75 74 20 74 6f 20 61 |ar as in|put to a|
|00002090| 6e 6f 74 68 65 72 0a 61 | 75 74 6f 6d 61 74 61 2e |nother.a|utomata.|
|000020a0| 20 20 49 66 20 65 61 63 | 68 20 63 65 6c 6c 20 68 | If eac|h cell h|
|000020b0| 61 73 20 73 65 76 65 72 | 61 6c 20 76 61 6c 75 65 |as sever|al value|
|000020c0| 73 20 77 68 69 63 68 20 | 6d 75 73 74 20 62 65 20 |s which |must be |
|000020d0| 73 65 74 2c 20 74 68 65 | 6e 20 74 68 65 0a 6d 75 |set, the|n the.mu|
|000020e0| 6c 74 69 70 6c 65 20 76 | 61 6c 75 65 73 20 61 72 |ltiple v|alues ar|
|000020f0| 65 20 73 65 70 61 72 61 | 74 65 64 20 62 79 20 63 |e separa|ted by c|
|00002100| 6f 6d 6d 61 73 20 61 6e | 64 20 61 72 65 20 61 73 |ommas an|d are as|
|00002110| 73 69 67 6e 65 64 20 69 | 6e 20 74 68 65 20 6f 72 |signed i|n the or|
|00002120| 64 65 72 20 69 6e 0a 77 | 68 69 63 68 20 74 68 65 |der in.w|hich the|
|00002130| 79 20 77 65 72 65 20 64 | 65 63 6c 61 72 65 64 20 |y were d|eclared |
|00002140| 69 6e 20 74 68 65 20 61 | 73 73 6f 63 69 61 74 65 |in the a|ssociate|
|00002150| 64 20 3c 45 4d 3e 43 65 | 6c 6c 61 6e 67 20 32 2e |d <EM>Ce|llang 2.|
|00002160| 30 3c 2f 45 4d 3e 20 70 | 72 6f 67 72 61 6d 2e 20 |0</EM> p|rogram. |
|00002170| 20 57 68 65 6e 0a 6f 6e | 6c 79 20 73 6f 6d 65 20 | When.on|ly some |
|00002180| 6f 66 20 74 68 65 20 70 | 6f 73 73 69 62 6c 65 20 |of the p|ossible |
|00002190| 66 69 65 6c 64 20 76 61 | 6c 75 65 73 20 61 72 65 |field va|lues are|
|000021a0| 20 67 69 76 65 6e 2c 20 | 74 68 65 6e 20 74 68 65 | given, |then the|
|000021b0| 20 76 61 6c 75 65 73 0a | 61 72 65 20 61 73 73 69 | values.|are assi|
|000021c0| 67 6e 65 64 20 69 6e 20 | 6f 72 64 65 72 20 75 6e |gned in |order un|
|000021d0| 74 69 6c 20 6e 6f 20 6d | 6f 72 65 20 61 72 65 20 |til no m|ore are |
|000021e0| 61 76 61 69 6c 61 62 6c | 65 2c 20 74 68 65 20 75 |availabl|e, the u|
|000021f0| 6e 73 70 65 63 69 66 69 | 65 64 20 63 65 6c 6c 20 |nspecifi|ed cell |
|00002200| 66 69 65 6c 64 73 20 0a | 74 68 75 73 20 72 65 74 |fields .|thus ret|
|00002210| 61 69 6e 20 74 68 65 69 | 72 20 70 72 65 76 69 6f |ain thei|r previo|
|00002220| 75 73 20 76 61 6c 75 65 | 73 2e 0a 0a 3c 44 49 56 |us value|s...<DIV|
|00002230| 20 63 6c 61 73 73 3d 22 | 43 45 4e 54 45 52 22 3e | class="|CENTER">|
|00002240| 3c 41 20 49 44 3d 22 74 | 69 6d 65 5f 62 6c 6f 63 |<A ID="t|ime_bloc|
|00002250| 6b 73 22 3e 3c 2f 41 3e | 3c 41 20 49 44 3d 22 33 |ks"></A>|<A ID="3|
|00002260| 31 38 22 3e 3c 2f 41 3e | 0a 3c 54 41 42 4c 45 3e |18"></A>|.<TABLE>|
|00002270| 0a 3c 43 41 50 54 49 4f | 4e 20 63 6c 61 73 73 3d |.<CAPTIO|N class=|
|00002280| 22 42 4f 54 54 4f 4d 22 | 3e 3c 53 54 52 4f 4e 47 |"BOTTOM"|><STRONG|
|00002290| 3e 46 69 67 75 72 65 3a | 3c 2f 53 54 52 4f 4e 47 |>Figure:|</STRONG|
|000022a0| 3e 0a 41 6e 20 65 78 61 | 6d 70 6c 65 20 69 6e 70 |>.An exa|mple inp|
|000022b0| 75 74 2f 6f 75 74 70 75 | 74 20 66 6f 72 20 61 20 |ut/outpu|t for a |
|000022c0| 3c 45 4d 3e 43 65 6c 6c | 61 6e 67 20 32 2e 30 3c |<EM>Cell|ang 2.0<|
|000022d0| 2f 45 4d 3e 20 70 72 6f | 67 72 61 6d 3c 2f 43 41 |/EM> pro|gram</CA|
|000022e0| 50 54 49 4f 4e 3e 0a 3c | 54 52 3e 3c 54 44 3e 3c |PTION>.<|TR><TD><|
|000022f0| 49 4d 47 0a 20 53 54 59 | 4c 45 3d 22 68 65 69 67 |IMG. STY|LE="heig|
|00002300| 68 74 3a 20 32 36 31 2e | 36 36 65 78 3b 20 22 20 |ht: 261.|66ex; " |
|00002310| 53 52 43 3d 22 69 6d 67 | 34 2e 70 6e 67 22 0a 20 |SRC="img|4.png". |
|00002320| 41 4c 54 3d 22 5c 62 65 | 67 69 6e 7b 66 69 67 75 |ALT="\be|gin{figu|
|00002330| 72 65 7d 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |re}\begi|n{center|
|00002340| 7d 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |}.\begin|{verbati|
|00002350| 6d 7d 30 0a 5b 33 2c 20 | 33 5d 20 3d 20 31 0a 31 |m}0.[3, |3] = 1.1|
|00002360| 30 30 0a 5b 32 34 2c 20 | 35 36 5d 20 3d 20 30 0a |00.[24, |56] = 0.|
|00002370| 5b 35 30 2c 20 35 30 5d | 20 3d 20 35 2c 20 36 0a |[50, 50]| = 5, 6.|
|00002380| 5b 32 2c 20 33 32 5d 20 | 3d 20 2c 20 2c 20 33 5c |[2, 32] |= , , 3\|
|00002390| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 5c 65 |end{verb|atim}.\e|
|000023a0| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 5c 65 6e 64 7b |nd{cente|r}.\end{|
|000023b0| 66 69 67 75 72 65 7d 22 | 3e 3c 2f 54 44 3e 3c 2f |figure}"|></TD></|
|000023c0| 54 52 3e 0a 3c 2f 54 41 | 42 4c 45 3e 0a 3c 2f 44 |TR>.</TA|BLE>.</D|
|000023d0| 49 56 3e 0a 0a 3c 50 3e | 0a 0a 3c 48 52 3e 0a 0a |IV>..<P>|..<HR>..|
|000023e0| 3c 2f 42 4f 44 59 3e 0a | 3c 2f 48 54 4d 4c 3e 0a |</BODY>.|</HTML>.|
+--------+-------------------------+-------------------------+--------+--------+