home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: M2P.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 64 6f 63 75 6d 65 6e | 74 73 74 79 6c 65 5b 31 |\documen|tstyle[1|
|00000010| 31 70 74 5d 7b 61 72 74 | 69 63 6c 65 7d 0a 0a 5c |1pt]{art|icle}..\|
|00000020| 74 69 74 6c 65 7b 4d 32 | 50 2c 20 41 20 4d 6f 64 |title{M2|P, A Mod|
|00000030| 75 6c 61 2d 32 20 50 72 | 65 70 72 6f 63 65 73 73 |ula-2 Pr|eprocess|
|00000040| 6f 72 7d 0a 5c 61 75 74 | 68 6f 72 7b 44 65 6e 6e |or}.\aut|hor{Denn|
|00000050| 69 73 20 42 72 75 65 6e | 69 7d 0a 5c 64 61 74 65 |is Bruen|i}.\date|
|00000060| 7b 33 30 20 4a 75 6c 79 | 20 31 39 39 31 7d 0a 0a |{30 July| 1991}..|
|00000070| 5c 74 6f 70 6d 61 72 67 | 69 6e 20 30 69 6e 0a 5c |\topmarg|in 0in.\|
|00000080| 6f 64 64 73 69 64 65 6d | 61 72 67 69 6e 20 30 69 |oddsidem|argin 0i|
|00000090| 6e 0a 5c 65 76 65 6e 73 | 69 64 65 6d 61 72 67 69 |n.\evens|idemargi|
|000000a0| 6e 20 30 69 6e 0a 5c 74 | 65 78 74 68 65 69 67 68 |n 0in.\t|extheigh|
|000000b0| 74 20 39 69 6e 0a 5c 74 | 65 78 74 77 69 64 74 68 |t 9in.\t|extwidth|
|000000c0| 20 36 2e 35 69 6e 0a 0a | 5c 62 65 67 69 6e 7b 64 | 6.5in..|\begin{d|
|000000d0| 6f 63 75 6d 65 6e 74 7d | 0a 0a 5c 6d 61 6b 65 74 |ocument}|..\maket|
|000000e0| 69 74 6c 65 0a 0a 25 3d | 3d 3d 3d 3d 3d 3d 3d 3d |itle..%=|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000110| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000120| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 0a 5c 73 65 |========|===..\se|
|00000130| 63 74 69 6f 6e 7b 49 6e | 74 72 6f 64 75 63 74 69 |ction{In|troducti|
|00000140| 6f 6e 7d 0a 0a 54 68 69 | 73 20 61 72 63 68 69 76 |on}..Thi|s archiv|
|00000150| 65 20 63 6f 6e 74 61 69 | 6e 73 20 61 20 70 72 65 |e contai|ns a pre|
|00000160| 70 72 6f 63 65 73 73 6f | 72 20 77 72 69 74 74 65 |processo|r writte|
|00000170| 6e 20 69 6e 20 4d 6f 64 | 75 6c 61 2d 32 20 61 6e |n in Mod|ula-2 an|
|00000180| 64 20 69 6e 74 65 6e 64 | 65 64 0a 66 6f 72 20 4d |d intend|ed.for M|
|00000190| 6f 64 75 6c 61 2d 32 20 | 70 72 6f 67 72 61 6d 73 |odula-2 |programs|
|000001a0| 5c 66 6f 6f 74 6e 6f 74 | 65 7b 41 63 74 75 61 6c |\footnot|e{Actual|
|000001b0| 6c 79 2c 20 4d 32 50 20 | 61 63 74 75 61 6c 6c 79 |ly, M2P |actually|
|000001c0| 20 77 69 6c 6c 20 77 6f | 72 6b 20 77 69 74 68 0a | will wo|rk with.|
|000001d0| 61 62 6f 75 74 20 61 6e | 79 20 74 65 78 74 20 66 |about an|y text f|
|000001e0| 69 6c 65 7d 2e 20 20 54 | 68 65 20 70 75 72 70 6f |ile}. T|he purpo|
|000001f0| 73 65 20 69 73 20 74 6f | 20 70 72 6f 76 69 64 65 |se is to| provide|
|00000200| 20 70 72 65 2d 63 6f 6d | 70 69 6c 65 20 74 69 6d | pre-com|pile tim|
|00000210| 65 0a 63 6f 6e 74 72 6f | 6c 20 6f 66 20 73 6f 75 |e.contro|l of sou|
|00000220| 72 63 65 20 63 6f 64 65 | 20 69 6e 20 61 20 70 6f |rce code| in a po|
|00000230| 72 74 61 62 6c 65 20 6d | 61 6e 6e 65 72 2c 20 74 |rtable m|anner, t|
|00000240| 68 61 74 20 69 73 20 74 | 6f 20 61 6c 6c 6f 77 20 |hat is t|o allow |
|00000250| 74 68 65 0a 73 61 6d 65 | 20 73 6f 75 72 63 65 20 |the.same| source |
|00000260| 74 6f 20 62 65 20 75 73 | 65 64 20 66 6f 72 20 73 |to be us|ed for s|
|00000270| 65 76 65 72 61 6c 20 74 | 61 72 67 65 74 20 6d 61 |everal t|arget ma|
|00000280| 63 68 69 6e 65 73 2c 20 | 6f 70 65 72 61 74 69 6e |chines, |operatin|
|00000290| 67 20 73 79 73 74 65 6d | 73 2c 0a 61 6e 64 2f 6f |g system|s,.and/o|
|000002a0| 72 20 63 6f 6d 70 69 6c | 65 72 73 2e 20 20 49 74 |r compil|ers. It|
|000002b0| 20 69 73 20 61 6c 73 6f | 20 76 65 72 79 20 67 6f | is also| very go|
|000002c0| 6f 64 20 66 6f 72 20 63 | 6f 6e 74 72 6f 6c 6c 69 |od for c|ontrolli|
|000002d0| 6e 67 20 74 68 65 20 69 | 6e 63 6c 75 73 69 6f 6e |ng the i|nclusion|
|000002e0| 0a 6f 72 20 65 78 63 6c | 75 73 69 6f 6e 20 6f 66 |.or excl|usion of|
|000002f0| 20 73 75 63 68 20 74 68 | 69 6e 67 73 20 61 73 20 | such th|ings as |
|00000300| 64 65 62 75 67 67 69 6e | 67 20 63 6f 64 65 20 6f |debuggin|g code o|
|00000310| 72 20 6e 6f 6e 65 73 73 | 65 6e 74 69 61 6c 20 66 |r noness|ential f|
|00000320| 65 61 74 75 72 65 73 2e | 0a 0a 49 74 20 77 69 6c |eatures.|..It wil|
|00000330| 6c 20 73 74 72 69 70 20 | 61 6c 6c 20 63 6f 6d 6d |l strip |all comm|
|00000340| 65 6e 74 73 20 66 72 6f | 6d 20 61 20 66 69 6c 65 |ents fro|m a file|
|00000350| 2c 20 65 78 63 65 70 74 | 20 74 68 6f 73 65 20 63 |, except| those c|
|00000360| 6f 6e 74 61 69 6e 69 6e | 67 20 64 69 72 65 63 74 |ontainin|g direct|
|00000370| 69 76 65 73 2c 0a 77 68 | 69 63 68 20 61 72 65 20 |ives,.wh|ich are |
|00000380| 75 73 75 61 6c 6c 79 20 | 6d 61 72 6b 65 64 20 77 |usually |marked w|
|00000390| 69 74 68 20 61 20 27 5c | 24 27 2e 20 20 65 67 2e |ith a '\|$'. eg.|
|000003a0| 5c 20 28 2a 5c 24 53 2b | 2a 29 20 77 6f 75 6c 64 |\ (*\$S+|*) would|
|000003b0| 20 6e 6f 74 20 62 65 20 | 73 74 72 69 70 70 65 64 | not be |stripped|
|000003c0| 2e 0a 43 6f 6d 6d 65 6e | 74 73 20 63 6f 6e 74 61 |..Commen|ts conta|
|000003d0| 69 6e 69 6e 67 20 64 69 | 72 65 63 74 69 76 65 73 |ining di|rectives|
|000003e0| 20 6d 75 73 74 20 62 65 | 20 61 74 20 74 68 65 20 | must be| at the |
|000003f0| 66 69 72 73 74 20 6c 65 | 76 65 6c 2c 20 6f 74 68 |first le|vel, oth|
|00000400| 65 72 77 69 73 65 20 74 | 68 65 79 0a 77 69 6c 6c |erwise t|hey.will|
|00000410| 20 61 6c 73 6f 20 62 65 | 20 73 74 72 69 70 70 65 | also be| strippe|
|00000420| 64 20 66 72 6f 6d 20 74 | 68 65 20 66 69 6c 65 2e |d from t|he file.|
|00000430| 20 20 4e 65 73 74 65 64 | 20 63 6f 6d 6d 65 6e 74 | Nested| comment|
|00000440| 73 20 61 72 65 20 68 61 | 6e 64 6c 65 64 20 70 72 |s are ha|ndled pr|
|00000450| 6f 70 65 72 6c 79 2e 0a | 4d 32 50 20 77 69 6c 6c |operly..|M2P will|
|00000460| 20 61 6c 73 6f 20 73 74 | 72 69 70 20 65 78 63 65 | also st|rip exce|
|00000470| 73 73 20 77 68 69 74 65 | 73 70 61 63 65 20 66 72 |ss white|space fr|
|00000480| 6f 6d 20 61 20 66 69 6c | 65 2c 20 6f 6e 6c 79 20 |om a fil|e, only |
|00000490| 6c 65 61 76 69 6e 67 20 | 74 68 61 74 20 77 68 69 |leaving |that whi|
|000004a0| 63 68 0a 69 73 20 6e 65 | 65 64 65 64 20 62 79 20 |ch.is ne|eded by |
|000004b0| 74 68 65 20 63 6f 6d 70 | 69 6c 65 72 20 74 6f 20 |the comp|iler to |
|000004c0| 70 61 72 73 65 20 74 68 | 65 20 69 6e 70 75 74 20 |parse th|e input |
|000004d0| 63 6f 72 72 65 63 74 6c | 79 2e 20 20 20 0a 0a 4d |correctl|y. ..M|
|000004e0| 32 50 20 74 72 69 65 73 | 20 6e 6f 74 20 74 6f 20 |2P tries| not to |
|000004f0| 69 6e 74 65 72 66 65 72 | 65 20 77 69 74 68 20 74 |interfer|e with t|
|00000500| 68 65 20 6c 69 6e 65 20 | 73 70 61 63 69 6e 67 20 |he line |spacing |
|00000510| 6f 66 20 74 68 65 20 66 | 69 6c 65 2c 20 73 6f 20 |of the f|ile, so |
|00000520| 74 68 61 74 0a 65 72 72 | 6f 72 20 6d 65 73 73 61 |that.err|or messa|
|00000530| 67 65 73 20 66 6c 61 67 | 67 65 64 20 62 79 20 74 |ges flag|ged by t|
|00000540| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 6f 6e 20 74 |he compi|ler on t|
|00000550| 68 65 20 70 72 65 70 72 | 6f 63 65 73 73 65 64 20 |he prepr|ocessed |
|00000560| 66 69 6c 65 0a 63 6f 72 | 72 65 73 70 6f 6e 64 20 |file.cor|respond |
|00000570| 63 6f 72 72 65 63 74 6c | 79 20 74 6f 20 74 68 65 |correctl|y to the|
|00000580| 69 72 20 6c 6f 63 61 74 | 69 6f 6e 20 69 6e 20 74 |ir locat|ion in t|
|00000590| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 66 69 6c 65 |he origi|nal file|
|000005a0| 2e 20 20 48 6f 77 65 76 | 65 72 2c 20 73 69 6e 63 |. Howev|er, sinc|
|000005b0| 65 0a 63 6f 6d 6d 65 6e | 74 73 20 61 6e 64 20 77 |e.commen|ts and w|
|000005c0| 68 69 74 65 73 70 61 63 | 65 20 61 72 65 20 73 74 |hitespac|e are st|
|000005d0| 72 69 70 70 65 64 2c 20 | 74 68 65 20 68 6f 72 69 |ripped, |the hori|
|000005e0| 7a 6f 6e 74 61 6c 20 70 | 6f 73 69 74 69 6f 6e 20 |zontal p|osition |
|000005f0| 6d 61 79 20 62 65 20 0a | 77 72 6f 6e 67 20 66 6f |may be .|wrong fo|
|00000600| 72 20 74 68 6f 73 65 20 | 63 6f 6d 70 69 6c 65 72 |r those |compiler|
|00000610| 73 20 74 68 61 74 20 64 | 6f 20 69 6e 64 69 63 61 |s that d|o indica|
|00000620| 74 65 20 74 68 65 20 65 | 78 61 63 74 20 6c 69 6e |te the e|xact lin|
|00000630| 65 20 70 6f 73 69 74 69 | 6f 6e 2e 0a 0a 41 6c 6c |e positi|on...All|
|00000640| 20 70 72 65 70 72 6f 63 | 65 73 73 6f 72 20 63 6f | preproc|essor co|
|00000650| 6d 6d 61 6e 64 73 20 61 | 72 65 20 70 72 65 66 69 |mmands a|re prefi|
|00000660| 78 65 64 20 62 79 20 27 | 40 27 2e 20 20 54 68 69 |xed by '|@'. Thi|
|00000670| 73 20 69 73 20 63 68 6f | 73 65 6e 20 74 6f 20 61 |s is cho|sen to a|
|00000680| 76 69 6f 64 0a 63 6f 6e | 66 6c 69 63 74 20 77 69 |viod.con|flict wi|
|00000690| 74 68 20 61 6e 79 20 4f | 62 65 72 6f 6e 20 6f 72 |th any O|beron or|
|000006a0| 20 4d 6f 64 75 6c 61 2d | 32 20 6c 65 78 69 63 61 | Modula-|2 lexica|
|000006b0| 6c 73 20 5c 66 6f 6f 74 | 6e 6f 74 65 7b 54 68 65 |ls \foot|note{The|
|000006c0| 20 6e 65 77 20 4d 6f 64 | 75 6c 61 2d 32 0a 73 74 | new Mod|ula-2.st|
|000006d0| 61 6e 64 61 72 64 20 64 | 65 63 6c 61 72 65 73 20 |andard d|eclares |
|000006e0| 27 40 27 20 61 73 20 74 | 68 65 20 27 72 65 71 75 |'@' as t|he 'requ|
|000006f0| 69 72 65 64 20 64 65 72 | 65 66 65 72 65 6e 63 69 |ired der|eferenci|
|00000700| 6e 67 20 6f 70 65 72 61 | 74 6f 72 27 2c 20 77 68 |ng opera|tor', wh|
|00000710| 69 63 68 20 0a 63 61 75 | 73 65 73 20 61 20 63 6f |ich .cau|ses a co|
|00000720| 6e 66 6c 69 63 74 20 66 | 6f 72 20 74 68 6f 73 65 |nflict f|or those|
|00000730| 20 70 65 6f 70 6c 65 20 | 63 68 6f 6f 73 69 6e 67 | people |choosing|
|00000740| 20 74 6f 20 75 73 65 20 | 27 40 27 20 72 61 74 68 | to use |'@' rath|
|00000750| 65 72 20 74 68 61 6e 20 | 27 5c 5e 5c 2c 27 2e 7d |er than |'\^\,'.}|
|00000760| 20 0a 28 75 6e 6c 69 6b | 65 20 74 68 65 20 43 2d | .(unlik|e the C-|
|00000770| 50 72 65 70 72 6f 63 65 | 73 73 6f 72 0a 77 68 65 |Preproce|ssor.whe|
|00000780| 72 65 20 27 5c 23 27 20 | 6d 61 79 20 62 65 20 63 |re '\#' |may be c|
|00000790| 6f 6e 66 75 73 65 64 20 | 77 69 74 68 20 6e 6f 74 |onfused |with not|
|000007a0| 20 65 71 75 61 6c 29 2e | 20 20 50 72 65 70 72 6f | equal).| Prepro|
|000007b0| 63 65 73 73 6f 72 20 63 | 6f 6d 6d 61 6e 64 73 20 |cessor c|ommands |
|000007c0| 6d 61 79 20 62 65 0a 67 | 69 76 65 6e 20 69 6e 20 |may be.g|iven in |
|000007d0| 66 72 65 65 20 66 6f 72 | 6d 61 74 20 28 75 6e 6c |free for|mat (unl|
|000007e0| 69 6b 65 20 6d 6f 73 74 | 20 43 2d 70 72 65 70 72 |ike most| C-prepr|
|000007f0| 6f 63 65 73 73 6f 72 73 | 20 77 68 65 72 65 20 74 |ocessors| where t|
|00000800| 68 65 20 27 5c 23 27 20 | 6d 75 73 74 20 62 65 0a |he '\#' |must be.|
|00000810| 69 6e 20 74 68 65 20 66 | 69 72 73 74 20 63 6f 6c |in the f|irst col|
|00000820| 75 6d 6e 2e 29 0a 0a 25 | 3d 3d 3d 3d 3d 3d 3d 3d |umn.)..%|========|
|00000830| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000840| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000850| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000860| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 0a 5c 73 |========|====..\s|
|00000870| 65 63 74 69 6f 6e 7b 50 | 72 65 70 72 6f 63 65 73 |ection{P|reproces|
|00000880| 73 6f 72 20 43 6f 6d 6d | 61 6e 64 73 7d 0a 0a 54 |sor Comm|ands}..T|
|00000890| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 73 74 61 |he follo|wing sta|
|000008a0| 74 65 6d 65 6e 74 73 20 | 61 72 65 20 72 65 63 6f |tements |are reco|
|000008b0| 67 6e 69 7a 65 64 20 62 | 79 20 74 68 65 20 70 72 |gnized b|y the pr|
|000008c0| 65 70 72 6f 63 65 73 73 | 6f 72 2e 0a 0a 5c 73 75 |eprocess|or...\su|
|000008d0| 62 73 65 63 74 69 6f 6e | 7b 40 44 45 46 49 4e 45 |bsection|{@DEFINE|
|000008e0| 20 7b 5c 65 6d 20 69 64 | 65 6e 74 69 66 69 65 72 | {\em id|entifier|
|000008f0| 7d 7d 0a 0a 20 20 20 20 | 20 20 20 20 54 68 69 73 |}}.. | This|
|00000900| 20 64 65 66 69 6e 65 73 | 20 61 6e 20 69 64 65 6e | defines| an iden|
|00000910| 74 69 66 69 65 72 20 77 | 69 74 68 20 74 68 65 20 |tifier w|ith the |
|00000920| 76 61 6c 75 65 20 54 52 | 55 45 2e 20 20 41 6e 20 |value TR|UE. An |
|00000930| 69 64 65 6e 74 69 66 69 | 65 72 20 69 73 0a 20 20 |identifi|er is. |
|00000940| 20 20 20 20 20 20 61 73 | 73 6f 63 69 61 74 65 64 | as|sociated|
|00000950| 20 77 69 74 68 20 74 68 | 65 20 62 6f 6f 6c 65 61 | with th|e boolea|
|00000960| 6e 20 76 61 6c 75 65 20 | 46 41 4c 53 45 20 69 66 |n value |FALSE if|
|00000970| 20 69 74 20 69 73 20 6e | 6f 74 20 40 44 45 46 49 | it is n|ot @DEFI|
|00000980| 4e 45 27 64 2e 0a 20 20 | 20 20 20 20 20 20 46 6f |NE'd.. | Fo|
|00000990| 72 20 65 78 61 6d 70 6c | 65 3a 0a 5c 62 65 67 69 |r exampl|e:.\begi|
|000009a0| 6e 7b 71 75 6f 74 65 7d | 5c 62 65 67 69 6e 7b 76 |n{quote}|\begin{v|
|000009b0| 65 72 62 61 74 69 6d 7d | 20 20 20 20 20 20 20 20 |erbatim}| |
|000009c0| 0a 40 44 45 46 49 4e 45 | 20 41 4d 49 47 41 0a 40 |.@DEFINE| AMIGA.@|
|000009d0| 44 45 46 49 4e 45 20 20 | 20 20 20 20 20 54 48 45 |DEFINE | THE|
|000009e0| 0a 40 44 45 46 49 4e 45 | 20 20 20 20 20 20 20 20 |.@DEFINE| |
|000009f0| 20 20 20 42 45 53 54 0a | 40 44 45 46 49 4e 45 20 | BEST.|@DEFINE |
|00000a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|00000a10| 4f 4d 50 55 54 45 52 20 | 20 0a 5c 65 6e 64 7b 76 |OMPUTER | .\end{v|
|00000a20| 65 72 62 61 74 69 6d 7d | 5c 65 6e 64 7b 71 75 6f |erbatim}|\end{quo|
|00000a30| 74 65 7d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |te}. | |
|00000a40| 20 20 20 20 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e | .\su|bsection|
|00000a50| 7b 40 55 4e 44 45 46 20 | 7b 5c 65 6d 20 69 64 65 |{@UNDEF |{\em ide|
|00000a60| 6e 74 69 66 69 65 72 7d | 20 7d 0a 0a 20 20 20 20 |ntifier}| }.. |
|00000a70| 20 20 20 20 54 68 69 73 | 20 63 61 6e 63 65 6c 73 | This| cancels|
|00000a80| 20 74 68 65 20 6d 6f 73 | 74 20 72 65 63 65 6e 74 | the mos|t recent|
|00000a90| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 20 74 | definit|ion of t|
|00000aa0| 68 65 20 67 69 76 65 6e | 20 69 64 65 6e 74 69 66 |he given| identif|
|00000ab0| 69 65 72 2e 0a 20 20 20 | 20 20 20 20 20 4e 6f 72 |ier.. | Nor|
|00000ac0| 6d 61 6c 6c 79 2c 20 74 | 68 69 73 20 61 73 73 6f |mally, t|his asso|
|00000ad0| 63 69 61 74 65 73 20 46 | 41 4c 53 45 20 77 69 74 |ciates F|ALSE wit|
|00000ae0| 68 20 74 68 65 20 69 64 | 65 6e 74 69 66 69 65 72 |h the id|entifier|
|00000af0| 2c 20 75 6e 6c 65 73 73 | 20 74 68 65 0a 20 20 20 |, unless| the. |
|00000b00| 20 20 20 20 20 69 64 65 | 6e 74 69 66 69 65 72 20 | ide|ntifier |
|00000b10| 68 61 64 20 62 65 65 6e | 20 6d 75 6c 74 69 70 6c |had been| multipl|
|00000b20| 79 20 64 65 66 69 6e 65 | 64 20 65 61 72 6c 69 65 |y define|d earlie|
|00000b30| 72 2e 20 20 0a 20 20 20 | 20 20 20 20 20 0a 5c 62 |r. . | .\b|
|00000b40| 65 67 69 6e 7b 71 75 6f | 74 65 7d 5c 62 65 67 69 |egin{quo|te}\begi|
|00000b50| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 40 55 4e 44 |n{verbat|im}.@UND|
|00000b60| 45 46 20 20 4d 53 44 4f | 53 0a 40 55 4e 44 45 46 |EF MSDO|S.@UNDEF|
|00000b70| 20 20 4d 41 43 0a 5c 65 | 6e 64 7b 76 65 72 62 61 | MAC.\e|nd{verba|
|00000b80| 74 69 6d 7d 5c 65 6e 64 | 7b 71 75 6f 74 65 7d 0a |tim}\end|{quote}.|
|00000b90| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 7b 40 49 4e |.\subsec|tion{@IN|
|00000ba0| 43 4c 55 44 45 20 27 66 | 69 6c 65 6e 61 6d 65 27 |CLUDE 'f|ilename'|
|00000bb0| 20 7d 0a 0a 20 20 20 20 | 20 20 20 20 54 68 65 20 | }.. | The |
|00000bc0| 6e 61 6d 65 64 20 66 69 | 6c 65 20 69 73 20 70 72 |named fi|le is pr|
|00000bd0| 65 70 72 6f 63 65 73 73 | 65 64 20 61 6e 64 20 66 |eprocess|ed and f|
|00000be0| 65 64 20 69 6e 74 6f 20 | 74 68 65 20 6f 75 74 70 |ed into |the outp|
|00000bf0| 75 74 20 66 69 6c 65 2e | 0a 20 20 20 20 20 20 20 |ut file.|. |
|00000c00| 20 43 61 76 65 61 74 20 | 45 6d 70 74 6f 72 3a 20 | Caveat |Emptor: |
|00000c10| 20 54 68 69 73 20 74 61 | 6b 65 73 20 63 61 72 65 | This ta|kes care|
|00000c20| 20 6e 6f 74 20 74 6f 20 | 72 75 69 6e 20 6c 69 6e | not to |ruin lin|
|00000c30| 65 20 73 70 61 63 69 6e | 67 20 62 79 0a 20 20 20 |e spacin|g by. |
|00000c40| 20 20 20 20 20 66 69 6c | 74 65 72 69 6e 67 20 74 | fil|tering t|
|00000c50| 68 65 20 6c 69 6e 65 66 | 65 65 64 73 20 61 6e 64 |he linef|eeds and|
|00000c60| 20 73 75 63 68 20 6f 75 | 74 20 6f 66 20 74 68 65 | such ou|t of the|
|00000c70| 20 69 6e 63 6c 75 64 65 | 20 66 69 6c 65 2c 20 73 | include| file, s|
|00000c80| 6f 0a 20 20 20 20 20 20 | 20 20 74 68 65 20 72 65 |o. | the re|
|00000c90| 73 75 6c 74 69 6e 67 20 | 70 72 65 70 72 6f 63 65 |sulting |preproce|
|00000ca0| 73 73 65 64 20 66 69 6c | 65 20 6d 61 79 20 63 6f |ssed fil|e may co|
|00000cb0| 6e 74 61 69 6e 20 73 6f | 6d 65 20 76 65 72 79 20 |ntain so|me very |
|00000cc0| 6c 6f 6e 67 0a 20 20 20 | 20 20 20 20 20 6c 69 6e |long. | lin|
|00000cd0| 65 73 2e 20 20 49 66 20 | 79 6f 75 72 20 63 6f 6d |es. If |your com|
|00000ce0| 70 69 6c 65 72 20 63 61 | 6e 6e 6f 74 20 68 61 6e |piler ca|nnot han|
|00000cf0| 64 6c 65 20 73 75 63 68 | 20 6c 6f 6e 67 20 6c 69 |dle such| long li|
|00000d00| 6e 65 73 2c 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |nes, the|n. |
|00000d10| 20 20 74 68 69 73 20 6d | 61 79 20 63 72 65 61 74 | this m|ay creat|
|00000d20| 65 20 61 20 70 72 6f 62 | 6c 65 6d 2e 20 20 49 74 |e a prob|lem. It|
|00000d30| 20 69 73 20 73 75 67 67 | 65 73 74 65 64 20 74 68 | is sugg|ested th|
|00000d40| 61 74 20 49 4e 43 4c 55 | 44 45 20 66 69 6c 65 73 |at INCLU|DE files|
|00000d50| 0a 20 20 20 20 20 20 20 | 20 6f 6e 6c 79 20 63 6f |. | only co|
|00000d60| 6e 74 61 69 6e 20 70 72 | 65 70 72 6f 63 65 73 73 |ntain pr|eprocess|
|00000d70| 6f 72 20 64 69 72 65 63 | 74 69 76 65 73 20 28 4d |or direc|tives (M|
|00000d80| 41 43 52 4f 53 20 61 6e | 64 20 44 45 46 49 4e 45 |ACROS an|d DEFINE|
|00000d90| 53 29 20 74 6f 20 0a 20 | 20 20 20 20 20 20 20 61 |S) to . | a|
|00000da0| 76 69 6f 64 20 74 68 69 | 73 20 70 72 6f 62 6c 65 |viod thi|s proble|
|00000db0| 6d 2e 0a 0a 5c 62 65 67 | 69 6e 7b 71 75 6f 74 65 |m...\beg|in{quote|
|00000dc0| 7d 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |}\begin{|verbatim|
|00000dd0| 7d 0a 40 49 4e 43 4c 55 | 44 45 20 22 4d 41 43 52 |}.@INCLU|DE "MACR|
|00000de0| 4f 53 22 0a 40 49 4e 43 | 4c 55 44 45 20 22 43 6f |OS".@INC|LUDE "Co|
|00000df0| 70 79 52 69 67 68 74 22 | 0a 5c 65 6e 64 7b 76 65 |pyRight"|.\end{ve|
|00000e00| 72 62 61 74 69 6d 7d 5c | 65 6e 64 7b 71 75 6f 74 |rbatim}\|end{quot|
|00000e10| 65 7d 0a 0a 20 20 20 20 | 20 20 20 20 54 68 65 20 |e}.. | The |
|00000e20| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 76 61 72 69 |environm|ent vari|
|00000e30| 61 62 6c 65 20 27 4d 32 | 50 49 6e 63 6c 75 64 65 |able 'M2|PInclude|
|00000e40| 27 20 6d 61 79 20 62 65 | 20 75 73 65 64 20 74 6f |' may be| used to|
|00000e50| 20 73 65 74 20 74 68 65 | 0a 20 20 20 20 20 20 20 | set the|. |
|00000e60| 20 73 65 61 72 63 68 20 | 70 61 74 68 20 66 6f 72 | search |path for|
|00000e70| 20 49 4e 43 4c 55 44 45 | 20 66 69 6c 65 73 2e 20 | INCLUDE| files. |
|00000e80| 20 50 61 74 68 73 20 6d | 61 79 20 61 6c 73 6f 20 | Paths m|ay also |
|00000e90| 62 65 20 73 70 65 63 69 | 66 69 65 64 0a 20 20 20 |be speci|fied. |
|00000ea0| 20 20 20 20 20 66 72 6f | 6d 20 74 68 65 20 63 6f | fro|m the co|
|00000eb0| 6d 6d 61 6e 64 20 6c 69 | 6e 65 20 62 79 20 75 73 |mmand li|ne by us|
|00000ec0| 69 6e 67 20 74 68 65 20 | 49 4e 43 4c 55 44 45 20 |ing the |INCLUDE |
|00000ed0| 73 77 69 74 63 68 2e 0a | 20 20 20 20 20 20 20 20 |switch..| |
|00000ee0| 0a 5c 62 65 67 69 6e 7b | 71 75 6f 74 65 7d 5c 62 |.\begin{|quote}\b|
|00000ef0| 65 67 69 6e 7b 76 65 72 | 62 61 74 69 6d 7d 0a 3e |egin{ver|batim}.>|
|00000f00| 20 73 65 74 65 6e 76 20 | 4d 32 50 49 6e 63 6c 75 | setenv |M2PInclu|
|00000f10| 64 65 20 22 27 44 48 30 | 3a 4d 32 2f 4d 61 63 72 |de "'DH0|:M2/Macr|
|00000f20| 6f 73 2f 27 2c 27 44 48 | 30 3a 4d 32 2f 4f 6c 64 |os/','DH|0:M2/Old|
|00000f30| 4d 61 63 72 6f 73 2f 27 | 22 0a 3e 20 4d 32 50 20 |Macros/'|".> M2P |
|00000f40| 49 4e 43 4c 55 44 45 20 | 22 44 48 30 3a 4d 32 2f |INCLUDE |"DH0:M2/|
|00000f50| 4e 65 77 4d 61 63 72 6f | 73 2f 22 20 41 72 67 73 |NewMacro|s/" Args|
|00000f60| 2e 6d 70 70 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |.mpp.\en|d{verbat|
|00000f70| 69 6d 7d 5c 65 6e 64 7b | 71 75 6f 74 65 7d 0a 20 |im}\end{|quote}. |
|00000f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 0a | | .|
|00000f90| 20 20 20 20 20 20 20 20 | 4d 32 50 20 73 65 61 72 | |M2P sear|
|00000fa0| 63 68 73 20 69 6e 63 6c | 75 64 65 20 70 61 74 68 |chs incl|ude path|
|00000fb0| 73 20 69 6e 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |s in the| followi|
|00000fc0| 6e 67 20 6f 72 64 65 72 | 3a 0a 20 20 20 20 20 20 |ng order|:. |
|00000fd0| 20 20 0a 20 20 20 20 20 | 20 20 20 5c 62 65 67 69 | . | \begi|
|00000fe0| 6e 7b 65 6e 75 6d 65 72 | 61 74 65 7d 0a 20 20 20 |n{enumer|ate}. |
|00000ff0| 20 20 20 20 20 20 20 20 | 20 5c 69 74 65 6d 20 20 | | \item |
|00001000| 50 61 74 68 28 73 29 20 | 73 70 65 63 69 66 69 65 |Path(s) |specifie|
|00001010| 64 20 6f 6e 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |d on the| command|
|00001020| 20 6c 69 6e 65 0a 20 20 | 20 20 20 20 20 20 20 20 | line. | |
|00001030| 20 20 5c 69 74 65 6d 20 | 20 54 68 65 20 63 75 72 | \item | The cur|
|00001040| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 0a 20 |rent dir|ectory. |
|00001050| 20 20 20 20 20 20 20 20 | 20 20 20 5c 69 74 65 6d | | \item|
|00001060| 20 20 50 61 74 68 28 73 | 29 20 73 70 65 63 69 66 | Path(s|) specif|
|00001070| 69 65 64 20 69 6e 20 74 | 68 65 20 65 6e 76 69 72 |ied in t|he envir|
|00001080| 6f 6e 6d 65 6e 74 20 76 | 61 72 61 69 61 62 6c 65 |onment v|araiable|
|00001090| 20 4d 32 50 49 6e 63 6c | 75 64 65 0a 20 20 20 20 | M2PIncl|ude. |
|000010a0| 20 20 20 20 5c 65 6e 64 | 7b 65 6e 75 6d 65 72 61 | \end|{enumera|
|000010b0| 74 65 7d 0a 20 20 20 20 | 20 20 20 20 0a 20 20 20 |te}. | . |
|000010c0| 20 20 20 20 20 48 65 6e | 63 65 2c 20 69 6e 20 74 | Hen|ce, in t|
|000010d0| 68 65 20 61 62 6f 76 65 | 20 65 78 61 6d 70 6c 65 |he above| example|
|000010e0| 2c 20 7b 5c 74 74 20 44 | 48 30 3a 4d 32 2f 4e 65 |, {\tt D|H0:M2/Ne|
|000010f0| 77 4d 61 63 72 6f 73 2f | 7d 20 77 69 6c 6c 20 62 |wMacros/|} will b|
|00001100| 65 20 73 65 61 72 63 68 | 65 64 0a 20 20 20 20 20 |e search|ed. |
|00001110| 20 20 20 66 69 72 73 74 | 2c 20 74 68 65 6e 20 74 | first|, then t|
|00001120| 68 65 20 63 75 72 72 65 | 6e 74 20 64 69 72 65 63 |he curre|nt direc|
|00001130| 74 6f 72 79 2c 20 74 68 | 65 6e 20 7b 5c 74 74 20 |tory, th|en {\tt |
|00001140| 44 48 30 3a 4d 32 2f 4d | 61 63 72 6f 73 2f 7d 2c |DH0:M2/M|acros/},|
|00001150| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 66 69 6e | and. | fin|
|00001160| 61 6c 6c 79 20 7b 5c 74 | 74 20 44 48 30 3a 4d 32 |ally {\t|t DH0:M2|
|00001170| 2f 4f 6c 64 4d 61 63 72 | 6f 73 2f 7d 2e 0a 0a 5c |/OldMacr|os/}...\|
|00001180| 73 75 62 73 65 63 74 69 | 6f 6e 7b 40 4d 41 43 52 |subsecti|on{@MACR|
|00001190| 4f 20 7b 5c 65 6d 20 69 | 64 65 6e 74 69 66 69 65 |O {\em i|dentifie|
|000011a0| 72 7d 20 5b 20 27 28 27 | 20 5c 7b 20 7b 5c 65 6d |r} [ '('| \{ {\em|
|000011b0| 20 61 72 67 6c 69 73 74 | 7d 20 5c 7d 20 27 29 27 | arglist|} \} ')'|
|000011c0| 20 5d 20 7b 5c 65 6d 20 | 64 65 66 69 6e 69 74 69 | ] {\em |definiti|
|000011d0| 6f 6e 7d 20 40 45 4e 44 | 4d 7d 0a 0a 20 20 20 20 |on} @END|M}.. |
|000011e0| 20 20 20 20 41 20 6d 61 | 63 72 6f 20 64 65 66 69 | A ma|cro defi|
|000011f0| 6e 69 74 69 6f 6e 2e 20 | 20 54 68 65 72 65 20 6d |nition. | There m|
|00001200| 61 79 20 62 65 20 61 6e | 20 61 72 62 69 74 72 61 |ay be an| arbitra|
|00001210| 72 79 20 6e 75 6d 62 65 | 72 20 6f 66 20 61 72 67 |ry numbe|r of arg|
|00001220| 75 6d 65 6e 74 73 0a 20 | 20 20 20 20 20 20 20 73 |uments. | s|
|00001230| 65 70 61 72 61 74 65 64 | 20 62 79 20 63 6f 6d 6d |eparated| by comm|
|00001240| 61 73 2c 0a 20 20 20 20 | 20 20 20 20 77 68 69 63 |as,. | whic|
|00001250| 68 20 61 72 65 20 75 73 | 65 64 20 61 73 20 6c 6f |h are us|ed as lo|
|00001260| 63 61 6c 20 6d 61 63 72 | 6f 73 20 77 69 74 68 69 |cal macr|os withi|
|00001270| 6e 20 74 68 65 20 6d 61 | 63 72 6f 20 64 65 66 69 |n the ma|cro defi|
|00001280| 6e 69 74 69 6f 6e 2e 20 | 20 54 68 65 0a 20 20 20 |nition. | The. |
|00001290| 20 20 20 20 20 6f 70 65 | 6e 69 6e 67 20 28 6c 65 | ope|ning (le|
|000012a0| 66 74 29 20 70 61 72 65 | 6e 74 68 65 73 69 73 20 |ft) pare|nthesis |
|000012b0| 66 6f 72 20 74 68 65 20 | 61 72 67 75 6d 65 6e 74 |for the |argument|
|000012c0| 73 20 6d 75 73 74 20 69 | 6d 6d 65 64 69 61 74 65 |s must i|mmediate|
|000012d0| 6c 79 0a 20 20 20 20 20 | 20 20 20 66 6f 6c 6c 6f |ly. | follo|
|000012e0| 77 20 7b 5c 65 6d 20 69 | 64 65 6e 74 69 66 69 65 |w {\em i|dentifie|
|000012f0| 72 7d 2c 20 6f 74 68 65 | 72 77 69 73 65 20 69 74 |r}, othe|rwise it|
|00001300| 20 77 69 6c 6c 20 62 65 | 20 74 72 65 61 74 65 64 | will be| treated|
|00001310| 20 0a 20 20 20 20 20 20 | 20 20 61 73 20 70 61 72 | . | as par|
|00001320| 74 20 6f 66 20 74 68 65 | 20 6d 61 63 72 6f 2e 0a |t of the| macro..|
|00001330| 20 20 20 20 20 20 20 20 | 0a 5c 62 65 67 69 6e 7b | |.\begin{|
|00001340| 71 75 6f 74 65 7d 5c 62 | 65 67 69 6e 7b 76 65 72 |quote}\b|egin{ver|
|00001350| 62 61 74 69 6d 7d 0a 40 | 4d 41 43 52 4f 20 56 65 |batim}.@|MACRO Ve|
|00001360| 63 74 6f 72 53 75 6d 28 | 41 72 72 61 79 31 2c 41 |ctorSum(|Array1,A|
|00001370| 72 72 61 79 32 2c 4c 4f | 2c 48 49 2c 44 65 73 74 |rray2,LO|,HI,Dest|
|00001380| 41 72 72 61 79 2c 69 29 | 0a 20 20 20 20 40 69 3a |Array,i)|. @i:|
|00001390| 3d 40 4c 4f 3b 0a 20 20 | 20 20 57 48 49 4c 45 20 |=@LO;. | WHILE |
|000013a0| 40 69 20 3c 3d 40 48 49 | 20 44 4f 0a 20 20 20 20 |@i <=@HI| DO. |
|000013b0| 20 20 20 40 44 65 73 74 | 41 72 72 61 79 5b 40 69 | @Dest|Array[@i|
|000013c0| 5d 3a 3d 40 41 72 72 61 | 79 31 5b 40 69 5d 2b 40 |]:=@Arra|y1[@i]+@|
|000013d0| 41 72 72 61 79 32 5b 40 | 69 5d 3b 0a 20 20 20 20 |Array2[@|i];. |
|000013e0| 20 20 20 49 4e 43 28 40 | 69 29 3b 0a 20 20 20 20 | INC(@|i);. |
|000013f0| 45 4e 44 3b 0a 40 45 4e | 44 4d 0a 5c 65 6e 64 7b |END;.@EN|DM.\end{|
|00001400| 76 65 72 62 61 74 69 6d | 7d 5c 65 6e 64 7b 71 75 |verbatim|}\end{qu|
|00001410| 6f 74 65 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ote}. | |
|00001420| 20 20 20 20 20 0a 20 20 | 20 20 20 20 20 20 4d 61 | . | Ma|
|00001430| 63 72 6f 20 64 65 66 69 | 6e 69 74 69 6f 6e 73 20 |cro defi|nitions |
|00001440| 6d 61 79 20 62 65 20 6e | 65 73 74 65 64 20 61 72 |may be n|ested ar|
|00001450| 62 69 74 72 61 72 79 20 | 6c 65 76 65 6c 73 2e 20 |bitrary |levels. |
|00001460| 20 52 65 61 6c 69 7a 65 | 20 74 68 61 74 0a 20 20 | Realize| that. |
|00001470| 20 20 20 20 20 20 6e 65 | 73 74 65 64 20 6d 61 63 | ne|sted mac|
|00001480| 72 6f 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 77 |ro defin|itions w|
|00001490| 69 6c 6c 20 62 65 20 65 | 76 61 6c 75 61 74 65 64 |ill be e|valuated|
|000014a0| 20 6c 61 7a 69 6c 79 2c | 20 61 6e 64 20 61 72 65 | lazily,| and are|
|000014b0| 20 6e 6f 74 0a 20 20 20 | 20 20 20 20 20 67 6f 69 | not. | goi|
|000014c0| 6e 67 20 74 6f 20 62 65 | 20 74 72 65 61 74 65 64 |ng to be| treated|
|000014d0| 20 61 73 20 6c 6f 63 61 | 6c 73 20 75 6e 6c 65 73 | as loca|ls unles|
|000014e0| 73 20 79 6f 75 20 65 78 | 70 6c 69 63 69 74 65 6c |s you ex|plicitel|
|000014f0| 79 20 70 6c 61 63 65 20 | 61 6e 0a 20 20 20 20 20 |y place |an. |
|00001500| 20 20 20 40 55 4e 44 45 | 46 20 61 74 20 74 68 65 | @UNDE|F at the|
|00001510| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 6f 75 74 65 | end of |the oute|
|00001520| 72 20 6d 61 63 72 6f 20 | 74 6f 20 75 6e 64 65 66 |r macro |to undef|
|00001530| 69 6e 65 20 74 68 65 20 | 6c 6f 63 61 6c 20 62 69 |ine the |local bi|
|00001540| 6e 64 69 6e 67 73 2e 0a | 20 20 20 20 20 20 20 20 |ndings..| |
|00001550| 49 20 63 61 75 74 69 6f | 6e 20 61 67 61 69 6e 73 |I cautio|n agains|
|00001560| 74 20 74 68 65 20 75 73 | 65 20 6f 66 20 6e 65 73 |t the us|e of nes|
|00001570| 74 65 64 20 6d 61 63 72 | 6f 20 64 65 66 69 6e 69 |ted macr|o defini|
|00001580| 74 69 6f 6e 73 20 75 6e | 6c 65 73 73 0a 20 20 20 |tions un|less. |
|00001590| 20 20 20 20 20 79 6f 75 | 20 61 72 65 20 7b 5c 65 | you| are {\e|
|000015a0| 6d 20 76 65 72 79 7d 20 | 73 75 72 65 20 61 62 6f |m very} |sure abo|
|000015b0| 75 74 20 77 68 61 74 20 | 79 6f 75 20 61 72 65 20 |ut what |you are |
|000015c0| 64 6f 69 6e 67 2e 20 20 | 0a 0a 5c 62 65 67 69 6e |doing. |..\begin|
|000015d0| 7b 71 75 6f 74 65 7d 5c | 62 65 67 69 6e 7b 76 65 |{quote}\|begin{ve|
|000015e0| 72 62 61 74 69 6d 7d 0a | 40 4d 41 43 52 4f 20 55 |rbatim}.|@MACRO U|
|000015f0| 67 6c 79 0a 20 20 20 40 | 4d 41 43 52 4f 20 4c 6f |gly. @|MACRO Lo|
|00001600| 63 61 6c 54 6f 55 67 6c | 79 20 20 61 20 73 75 72 |calToUgl|y a sur|
|00001610| 66 62 6f 61 72 64 20 40 | 45 4e 44 4d 0a 20 20 20 |fboard @|ENDM. |
|00001620| 40 4d 41 43 52 4f 20 53 | 65 6e 74 65 6e 63 65 20 |@MACRO S|entence |
|00001630| 77 65 6c 6c 20 6b 6e 6f | 77 6e 20 74 68 61 74 20 |well kno|wn that |
|00001640| 6c 69 66 65 20 69 73 40 | 45 4e 44 4d 0a 20 20 20 |life is@|ENDM. |
|00001650| 40 4d 41 43 52 4f 20 47 | 6c 6f 62 61 6c 20 20 20 |@MACRO G|lobal |
|00001660| 20 20 20 20 20 49 74 20 | 40 45 4e 44 4d 0a 20 20 | It |@ENDM. |
|00001670| 20 40 47 6c 6f 62 61 6c | 20 69 73 20 40 53 65 6e | @Global| is @Sen|
|00001680| 74 65 6e 63 65 20 73 75 | 72 65 20 40 47 6c 6f 62 |tence su|re @Glob|
|00001690| 61 6c 20 69 73 20 40 53 | 65 6e 74 65 6e 63 65 20 |al is @S|entence |
|000016a0| 0a 20 20 20 40 4c 6f 63 | 61 6c 54 6f 55 67 6c 79 |. @Loc|alToUgly|
|000016b0| 2c 20 61 6e 64 20 74 68 | 61 74 20 74 6f 20 40 4c |, and th|at to @L|
|000016c0| 6f 63 61 6c 54 6f 55 67 | 6c 79 20 40 47 6c 6f 62 |ocalToUg|ly @Glob|
|000016d0| 61 6c 20 0a 20 20 20 40 | 53 65 6e 74 65 6e 63 65 |al . @|Sentence|
|000016e0| 20 40 47 6c 6f 62 61 6c | 2e 0a 20 20 20 40 55 4e | @Global|.. @UN|
|000016f0| 44 45 46 20 4c 6f 63 61 | 6c 54 6f 55 67 6c 79 0a |DEF Loca|lToUgly.|
|00001700| 20 20 20 40 55 4e 44 45 | 46 20 53 65 6e 74 65 6e | @UNDE|F Senten|
|00001710| 63 65 0a 40 45 4e 44 4d | 0a 5c 65 6e 64 7b 76 65 |ce.@ENDM|.\end{ve|
|00001720| 72 62 61 74 69 6d 7d 5c | 65 6e 64 7b 71 75 6f 74 |rbatim}\|end{quot|
|00001730| 65 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e}. | |
|00001740| 20 20 20 0a 20 20 20 20 | 20 20 20 20 5c 62 65 67 | . | \beg|
|00001750| 69 6e 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |in{descr|iption}.|
|00001760| 20 20 20 20 20 20 20 20 | 5c 69 74 65 6d 5b 51 75 | |\item[Qu|
|00001770| 65 73 74 69 6f 6e 3a 5d | 20 57 68 61 74 20 77 6f |estion:]| What wo|
|00001780| 75 6c 64 20 7b 5c 74 74 | 20 40 55 67 6c 79 7d 20 |uld {\tt| @Ugly} |
|00001790| 65 76 61 6c 75 74 65 20 | 74 6f 3f 0a 20 20 20 20 |evalute |to?. |
|000017a0| 20 20 20 20 0a 20 20 20 | 20 20 20 20 20 5c 69 74 | . | \it|
|000017b0| 65 6d 5b 41 6e 73 77 65 | 72 3a 5d 20 20 49 74 20 |em[Answe|r:] It |
|000017c0| 69 73 20 77 65 6c 6c 20 | 6b 6e 6f 77 6e 20 74 68 |is well |known th|
|000017d0| 61 74 20 6c 69 66 65 20 | 69 73 20 73 75 72 65 20 |at life |is sure |
|000017e0| 49 74 20 69 73 20 77 65 | 6c 6c 20 6b 6e 6f 77 6e |It is we|ll known|
|000017f0| 20 74 68 61 74 0a 20 20 | 20 20 20 20 20 20 20 20 | that. | |
|00001800| 20 20 20 20 20 20 6c 69 | 66 65 20 69 73 20 61 20 | li|fe is a |
|00001810| 73 75 72 66 62 6f 61 72 | 64 2c 20 61 6e 64 20 74 |surfboar|d, and t|
|00001820| 68 61 74 20 74 6f 20 61 | 20 73 75 72 66 62 6f 61 |hat to a| surfboa|
|00001830| 72 64 20 49 74 20 69 73 | 20 77 65 6c 6c 0a 20 20 |rd It is| well. |
|00001840| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6b 6e | | kn|
|00001850| 6f 77 6e 20 74 68 61 74 | 20 6c 69 66 65 20 69 73 |own that| life is|
|00001860| 20 49 74 2e 0a 20 20 20 | 20 20 20 20 20 5c 65 6e | It.. | \en|
|00001870| 64 7b 64 65 73 63 72 69 | 70 74 69 6f 6e 7d 0a 0a |d{descri|ption}..|
|00001880| 54 68 65 20 73 79 6d 62 | 6f 6c 20 74 61 62 6c 65 |The symb|ol table|
|00001890| 20 6f 66 20 4d 32 50 20 | 69 73 20 61 20 68 61 73 | of M2P |is a has|
|000018a0| 68 20 74 61 62 6c 65 20 | 77 68 69 63 68 20 75 73 |h table |which us|
|000018b0| 65 73 20 61 20 6c 69 6e | 6b 65 64 20 6c 69 73 74 |es a lin|ked list|
|000018c0| 73 20 66 6f 72 20 65 61 | 63 68 0a 62 75 63 6b 65 |s for ea|ch.bucke|
|000018d0| 74 2e 20 20 54 68 65 73 | 65 20 6c 69 6e 6b 65 64 |t. Thes|e linked|
|000018e0| 20 6c 69 73 74 73 20 62 | 65 68 61 76 65 20 73 6f | lists b|ehave so|
|000018f0| 6d 65 77 68 61 74 20 6c | 69 6b 65 20 73 74 61 63 |mewhat l|ike stac|
|00001900| 6b 73 2c 20 73 6f 20 77 | 68 65 6e 20 61 20 73 79 |ks, so w|hen a sy|
|00001910| 6d 62 6f 6c 0a 69 73 20 | 72 65 64 65 66 69 6e 65 |mbol.is |redefine|
|00001920| 64 2c 20 74 68 65 20 6d | 6f 73 74 20 72 65 63 65 |d, the m|ost rece|
|00001930| 6e 74 20 62 69 6e 64 69 | 6e 67 20 69 73 20 74 68 |nt bindi|ng is th|
|00001940| 65 20 6f 6e 65 20 61 6c | 77 61 79 73 20 75 73 65 |e one al|ways use|
|00001950| 64 2e 20 20 57 68 65 6e | 20 74 68 61 74 0a 62 69 |d. When| that.bi|
|00001960| 6e 64 69 6e 67 20 69 73 | 20 72 65 6d 6f 76 65 64 |nding is| removed|
|00001970| 2c 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 62 |, the pr|evious b|
|00001980| 69 6e 64 69 6e 67 20 77 | 69 6c 6c 20 61 70 70 65 |inding w|ill appe|
|00001990| 61 72 20 6f 6e 20 74 68 | 65 20 74 6f 70 20 6f 66 |ar on th|e top of|
|000019a0| 20 73 74 61 63 6b 0a 61 | 6e 64 20 62 65 20 75 73 | stack.a|nd be us|
|000019b0| 65 64 20 66 72 6f 6d 20 | 74 68 61 74 20 70 6f 69 |ed from |that poi|
|000019c0| 6e 74 20 6f 6e 2e 20 20 | 54 68 69 73 20 61 6c 6c |nt on. |This all|
|000019d0| 6f 77 73 20 6f 6e 65 20 | 74 6f 20 64 65 66 69 6e |ows one |to defin|
|000019e0| 65 20 6c 6f 63 61 6c 20 | 6d 61 63 72 6f 73 0a 6f |e local |macros.o|
|000019f0| 72 20 66 6c 61 67 73 20 | 77 69 74 68 69 6e 20 6d |r flags |within m|
|00001a00| 61 63 72 6f 73 20 61 6e | 64 20 74 68 65 6e 20 40 |acros an|d then @|
|00001a10| 55 4e 44 45 46 20 74 68 | 65 6d 20 61 74 20 74 68 |UNDEF th|em at th|
|00001a20| 65 6e 20 65 6e 64 20 6f | 66 20 74 68 65 20 6d 61 |en end o|f the ma|
|00001a30| 63 72 6f 2e 20 20 0a 48 | 6f 77 65 76 65 72 2c 20 |cro. .H|owever, |
|00001a40| 77 68 65 6e 65 76 65 72 | 20 61 20 66 6c 61 67 20 |whenever| a flag |
|00001a50| 69 73 20 72 65 64 65 66 | 69 6e 65 64 2c 20 61 6e |is redef|ined, an|
|00001a60| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 20 69 | error m|essage i|
|00001a70| 73 20 77 72 69 74 74 65 | 6e 20 74 6f 0a 73 74 61 |s writte|n to.sta|
|00001a80| 6e 64 61 72 64 20 6f 75 | 74 70 75 74 2e 0a 0a 20 |ndard ou|tput... |
|00001a90| 20 20 20 20 20 20 20 46 | 69 6e 61 6c 6c 79 2c 20 | F|inally, |
|00001aa0| 69 74 20 69 73 20 6e 6f | 74 20 69 6c 6c 65 67 61 |it is no|t illega|
|00001ab0| 6c 20 74 6f 20 64 65 66 | 69 6e 65 20 61 20 6d 61 |l to def|ine a ma|
|00001ac0| 63 72 6f 20 72 65 63 75 | 72 73 69 76 65 6c 79 2c |cro recu|rsively,|
|00001ad0| 20 62 75 74 20 69 74 0a | 20 20 20 20 20 20 20 20 | but it.| |
|00001ae0| 77 69 6c 6c 20 74 61 6b | 65 20 61 6e 20 69 6e 66 |will tak|e an inf|
|00001af0| 69 6e 69 74 65 20 61 6d | 6f 75 6e 74 20 6f 66 20 |inite am|ount of |
|00001b00| 74 69 6d 65 20 61 6e 64 | 20 73 70 61 63 65 20 74 |time and| space t|
|00001b10| 6f 20 65 78 70 61 6e 64 | 2e 0a 0a 5c 73 75 62 73 |o expand|...\subs|
|00001b20| 65 63 74 69 6f 6e 7b 40 | 20 7b 5c 65 6d 20 69 64 |ection{@| {\em id|
|00001b30| 65 6e 74 69 66 69 65 72 | 7d 20 5b 20 27 28 27 20 |entifier|} [ '(' |
|00001b40| 5c 7b 20 7b 5c 65 6d 20 | 61 72 67 6c 69 73 74 7d |\{ {\em |arglist}|
|00001b50| 20 5c 7d 20 27 29 27 20 | 5d 20 7d 0a 0a 20 20 20 | \} ')' |] }.. |
|00001b60| 20 20 20 20 20 41 20 6d | 61 63 72 6f 20 69 6e 73 | A m|acro ins|
|00001b70| 74 61 6e 63 65 2e 20 20 | 54 68 65 20 61 72 67 75 |tance. |The argu|
|00001b80| 6d 65 6e 74 73 20 61 72 | 65 20 62 6f 75 6e 64 20 |ments ar|e bound |
|00001b90| 0a 20 20 20 20 20 20 20 | 20 61 73 20 6c 6f 63 61 |. | as loca|
|00001ba0| 6c 20 6d 61 63 72 6f 73 | 20 61 6e 64 20 69 6e 73 |l macros| and ins|
|00001bb0| 65 72 74 65 64 0a 20 20 | 20 20 20 20 20 20 69 6e |erted. | in|
|00001bc0| 74 6f 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |to the p|revious |
|00001bd0| 6d 61 63 72 6f 20 64 65 | 66 69 6e 69 74 69 6f 6e |macro de|finition|
|00001be0| 20 77 68 69 63 68 20 69 | 73 20 65 78 70 61 6e 64 | which i|s expand|
|00001bf0| 65 64 20 61 6e 64 20 70 | 6c 61 63 65 64 0a 20 20 |ed and p|laced. |
|00001c00| 20 20 20 20 20 20 69 6e | 20 74 68 65 20 6f 75 74 | in| the out|
|00001c10| 70 75 74 20 66 69 6c 65 | 2e 20 20 54 68 65 20 6e |put file|. The n|
|00001c20| 75 6d 62 65 72 20 6f 66 | 20 61 72 67 75 6d 65 6e |umber of| argumen|
|00001c30| 74 73 20 75 73 65 64 20 | 6d 75 73 74 20 62 65 20 |ts used |must be |
|00001c40| 6c 65 73 73 20 74 68 61 | 6e 20 6f 72 0a 20 20 20 |less tha|n or. |
|00001c50| 20 20 20 20 20 65 71 75 | 61 6c 20 74 6f 20 74 68 | equ|al to th|
|00001c60| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 61 72 67 75 |e number| of argu|
|00001c70| 6d 65 6e 74 73 20 69 6e | 20 74 68 65 20 63 6f 72 |ments in| the cor|
|00001c80| 72 65 73 70 6f 6e 64 69 | 6e 67 20 6d 61 63 72 6f |respondi|ng macro|
|00001c90| 20 64 65 66 69 6e 69 74 | 69 6f 6e 2e 0a 20 20 20 | definit|ion.. |
|00001ca0| 20 20 20 20 20 41 6e 20 | 65 72 72 6f 72 20 77 69 | An |error wi|
|00001cb0| 6c 6c 20 62 65 20 66 6c | 61 67 67 65 64 20 69 66 |ll be fl|agged if|
|00001cc0| 20 6d 6f 72 65 20 61 72 | 67 75 6d 65 6e 74 73 20 | more ar|guments |
|00001cd0| 61 72 65 20 75 73 65 64 | 2e 20 20 41 6c 73 6f 2c |are used|. Also,|
|00001ce0| 20 69 66 20 74 68 65 20 | 0a 20 20 20 20 20 20 20 | if the |. |
|00001cf0| 20 61 72 67 75 6d 65 6e | 74 20 75 73 65 64 20 69 | argumen|t used i|
|00001d00| 6e 20 74 68 65 20 6d 61 | 63 72 6f 20 72 65 71 75 |n the ma|cro requ|
|00001d10| 69 72 65 73 20 65 78 70 | 61 6e 64 69 6e 67 2c 20 |ires exp|anding, |
|00001d20| 62 75 74 20 77 61 73 20 | 6e 6f 74 20 73 70 65 63 |but was |not spec|
|00001d30| 69 66 69 65 64 2c 0a 20 | 20 20 20 20 20 20 20 61 |ified,. | a|
|00001d40| 6e 20 65 72 72 6f 72 20 | 77 69 6c 6c 20 62 65 20 |n error |will be |
|00001d50| 66 6c 61 67 67 65 64 2e | 20 20 41 72 67 75 6d 65 |flagged.| Argume|
|00001d60| 6e 74 73 20 61 72 65 20 | 65 76 61 6c 75 61 74 65 |nts are |evaluate|
|00001d70| 64 20 6c 61 7a 69 6c 79 | 20 0a 20 20 20 20 20 20 |d lazily| . |
|00001d80| 20 20 61 6e 64 20 6e 6f | 74 20 74 72 65 61 74 65 | and no|t treate|
|00001d90| 64 20 61 6e 79 20 64 69 | 66 66 65 72 65 6e 74 6c |d any di|fferentl|
|00001da0| 79 20 74 68 61 6e 20 61 | 6e 79 20 6f 74 68 65 72 |y than a|ny other|
|00001db0| 20 6d 61 63 72 6f 2e 0a | 20 20 20 20 20 20 20 20 | macro..| |
|00001dc0| 7b 5c 65 6d 20 42 65 20 | 63 61 72 65 66 75 6c 20 |{\em Be |careful |
|00001dd0| 77 69 74 68 20 74 68 69 | 73 21 20 7d 20 49 66 0a |with thi|s! } If.|
|00001de0| 20 20 20 20 20 20 20 20 | 79 6f 75 20 68 61 76 65 | |you have|
|00001df0| 20 61 20 67 6c 6f 62 61 | 6c 20 64 65 66 69 6e 65 | a globa|l define|
|00001e00| 64 20 68 61 76 69 6e 67 | 20 74 68 65 20 73 61 6d |d having| the sam|
|00001e10| 65 20 6e 61 6d 65 20 61 | 73 20 6f 6e 65 20 6f 66 |e name a|s one of|
|00001e20| 0a 20 20 20 20 20 20 20 | 20 74 68 65 20 61 72 67 |. | the arg|
|00001e30| 75 6d 65 6e 74 73 2c 20 | 61 6e 64 20 64 6f 20 6e |uments, |and do n|
|00001e40| 6f 74 20 73 70 65 63 69 | 66 79 20 74 68 61 74 20 |ot speci|fy that |
|00001e50| 61 72 67 75 6d 65 6e 74 | 2c 20 74 68 65 20 67 6c |argument|, the gl|
|00001e60| 6f 62 61 6c 0a 20 20 20 | 20 20 20 20 20 77 69 6c |obal. | wil|
|00001e70| 6c 20 62 65 20 75 73 65 | 64 20 69 6e 20 69 74 73 |l be use|d in its|
|00001e80| 20 70 6c 61 63 65 2e 20 | 20 46 6f 72 20 65 78 61 | place. | For exa|
|00001e90| 6d 70 6c 65 3a 0a 20 20 | 20 20 20 20 20 20 0a 5c |mple:. | .\|
|00001ea0| 62 65 67 69 6e 7b 71 75 | 6f 74 65 7d 5c 62 65 67 |begin{qu|ote}\beg|
|00001eb0| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 20 0a 40 4d |in{verba|tim} .@M|
|00001ec0| 41 43 52 4f 20 63 20 47 | 4f 54 43 48 41 20 40 45 |ACRO c G|OTCHA @E|
|00001ed0| 4e 44 4d 0a 40 4d 41 43 | 52 4f 20 61 28 62 2c 63 |NDM.@MAC|RO a(b,c|
|00001ee0| 29 20 28 40 62 2c 40 63 | 29 20 40 45 4e 44 4d 0a |) (@b,@c|) @ENDM.|
|00001ef0| 0a 40 63 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.@c | |
|00001f00| 20 20 20 20 20 20 20 20 | 20 3d 3d 3e 20 47 4f 54 | | ==> GOT|
|00001f10| 43 48 41 0a 40 61 28 6f | 6e 65 2c 74 77 6f 29 20 |CHA.@a(o|ne,two) |
|00001f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 3d 3d 3e 20 | | ==> |
|00001f30| 28 6f 6e 65 2c 74 77 6f | 29 0a 40 61 28 6f 6e 65 |(one,two|).@a(one|
|00001f40| 29 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |) | |
|00001f50| 20 20 3d 3d 3e 20 28 6f | 6e 65 2c 47 4f 54 43 48 | ==> (o|ne,GOTCH|
|00001f60| 41 29 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |A).\end{|verbatim|
|00001f70| 7d 5c 65 6e 64 7b 71 75 | 6f 74 65 7d 0a 20 20 20 |}\end{qu|ote}. |
|00001f80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 0a 5c 73 | | .\s|
|00001f90| 75 62 73 65 63 74 69 6f | 6e 7b 40 4c 49 4e 45 20 |ubsectio|n{@LINE |
|00001fa0| 61 6e 64 20 40 53 50 41 | 43 45 7d 0a 0a 20 20 20 |and @SPA|CE}.. |
|00001fb0| 20 20 20 20 20 57 68 65 | 6e 20 61 20 6d 61 63 72 | Whe|n a macr|
|00001fc0| 6f 20 69 73 20 72 65 63 | 6f 72 64 65 64 2c 20 6c |o is rec|orded, l|
|00001fd0| 69 6e 65 20 66 65 65 64 | 73 20 61 6e 64 20 63 61 |ine feed|s and ca|
|00001fe0| 72 72 69 61 67 65 20 72 | 65 74 75 72 6e 73 20 61 |rriage r|eturns a|
|00001ff0| 72 65 0a 20 20 20 20 20 | 20 20 20 73 74 72 69 70 |re. | strip|
|00002000| 70 65 64 20 66 72 6f 6d | 20 74 68 65 20 6d 61 63 |ped from| the mac|
|00002010| 72 6f 2c 20 73 6f 20 74 | 68 61 74 20 77 68 65 6e |ro, so t|hat when|
|00002020| 20 69 74 20 69 73 20 6c | 61 74 65 72 20 69 6e 73 | it is l|ater ins|
|00002030| 65 72 74 65 64 20 69 6e | 0a 20 20 20 20 20 20 20 |erted in|. |
|00002040| 20 61 20 66 69 6c 65 2c | 20 69 74 20 77 69 6c 6c | a file,| it will|
|00002050| 20 6e 6f 74 20 63 68 61 | 6e 67 65 20 74 68 65 20 | not cha|nge the |
|00002060| 6c 69 6e 65 20 73 70 61 | 63 69 6e 67 20 6f 66 20 |line spa|cing of |
|00002070| 74 68 65 20 66 69 6c 65 | 2c 20 28 69 65 2e 0a 20 |the file|, (ie.. |
|00002080| 20 20 20 20 20 20 20 69 | 74 20 69 73 20 69 6e 73 | i|t is ins|
|00002090| 65 72 74 65 64 20 65 6e | 74 69 72 65 6c 79 20 6f |erted en|tirely o|
|000020a0| 6e 20 6f 6e 65 20 6c 69 | 6e 65 29 2e 20 20 48 6f |n one li|ne). Ho|
|000020b0| 77 65 76 65 72 2c 20 73 | 6f 6d 65 74 69 6d 65 73 |wever, s|ometimes|
|000020c0| 20 74 68 69 73 0a 20 20 | 20 20 20 20 20 20 6d 61 | this. | ma|
|000020d0| 79 20 6e 6f 74 20 62 65 | 20 64 65 73 69 72 61 62 |y not be| desirab|
|000020e0| 6c 65 20 62 65 63 61 75 | 73 65 20 6c 69 6e 65 66 |le becau|se linef|
|000020f0| 65 65 64 73 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |eeds in |the file|
|00002100| 20 6d 61 79 20 68 61 76 | 65 20 6d 65 61 6e 69 6e | may hav|e meanin|
|00002110| 67 0a 20 20 20 20 20 20 | 20 20 61 6e 64 20 63 61 |g. | and ca|
|00002120| 6e 6e 6f 74 20 62 65 20 | 73 74 69 70 70 65 64 20 |nnot be |stipped |
|00002130| 28 65 67 2e 20 61 73 73 | 65 6d 62 6c 79 20 6c 61 |(eg. ass|embly la|
|00002140| 6e 67 75 61 67 65 20 73 | 6f 75 72 63 65 29 2e 20 |nguage s|ource). |
|00002150| 20 54 6f 20 73 6f 6c 76 | 65 0a 20 20 20 20 20 20 | To solv|e. |
|00002160| 20 20 74 68 69 73 20 73 | 68 6f 72 74 63 6f 6d 69 | this s|hortcomi|
|00002170| 6e 67 2c 20 40 4c 49 4e | 45 20 63 61 6e 20 62 65 |ng, @LIN|E can be|
|00002180| 20 75 73 65 64 20 74 6f | 20 69 6e 73 65 72 74 20 | used to| insert |
|00002190| 61 20 6c 69 6e 65 20 66 | 65 65 64 20 69 6e 74 6f |a line f|eed into|
|000021a0| 0a 20 20 20 20 20 20 20 | 20 74 68 65 20 6f 75 74 |. | the out|
|000021b0| 70 75 74 20 66 69 6c 65 | 2e 20 20 61 6e 64 20 40 |put file|. and @|
|000021c0| 53 50 41 43 45 20 63 61 | 6e 20 62 65 20 75 73 65 |SPACE ca|n be use|
|000021d0| 64 20 74 6f 20 69 6e 73 | 65 72 74 20 61 20 73 69 |d to ins|ert a si|
|000021e0| 6e 67 6c 65 20 73 70 61 | 63 65 0a 20 20 20 20 20 |ngle spa|ce. |
|000021f0| 20 20 20 4f 66 20 63 6f | 75 72 73 65 2c 20 74 68 | Of co|urse, th|
|00002200| 65 20 75 73 65 20 6f 66 | 20 40 4c 49 4e 45 20 77 |e use of| @LINE w|
|00002210| 69 6c 6c 20 64 65 73 74 | 72 6f 79 20 74 68 65 20 |ill dest|roy the |
|00002220| 6c 69 6e 65 20 6e 75 6d | 62 65 72 73 20 6f 66 20 |line num|bers of |
|00002230| 0a 20 20 20 20 20 20 20 | 20 74 68 65 20 6f 75 74 |. | the out|
|00002240| 70 75 74 20 66 69 6c 65 | 20 61 73 20 69 74 20 63 |put file| as it c|
|00002250| 6f 72 72 65 73 70 6f 6e | 64 73 20 74 6f 20 74 68 |orrespon|ds to th|
|00002260| 65 20 69 6e 70 75 74 20 | 66 69 6c 65 2e 20 20 46 |e input |file. F|
|00002270| 6f 72 20 65 78 61 6d 70 | 6c 65 3a 0a 20 20 20 20 |or examp|le:. |
|00002280| 20 20 20 20 0a 5c 62 65 | 67 69 6e 7b 71 75 6f 74 | .\be|gin{quot|
|00002290| 65 7d 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |e}\begin|{verbati|
|000022a0| 6d 7d 0a 40 4d 41 43 52 | 4f 20 4c 65 6e 67 74 68 |m}.@MACR|O Length|
|000022b0| 28 4c 6f 6f 70 2c 41 72 | 65 67 2c 44 72 65 67 2c |(Loop,Ar|eg,Dreg,|
|000022c0| 53 63 72 61 74 63 68 29 | 0a 20 20 20 40 49 46 20 |Scratch)|. @IF |
|000022d0| 4e 4f 54 20 40 53 63 72 | 61 74 63 68 20 54 48 45 |NOT @Scr|atch THE|
|000022e0| 4e 0a 20 20 20 20 20 20 | 40 4d 41 43 52 4f 20 53 |N. |@MACRO S|
|000022f0| 63 72 61 74 63 68 20 44 | 30 20 40 45 4e 44 4d 0a |cratch D|0 @ENDM.|
|00002300| 20 20 20 40 45 4e 44 0a | 20 20 20 40 53 50 41 43 | @END.| @SPAC|
|00002310| 45 20 6d 6f 76 65 2e 77 | 20 20 20 40 44 72 65 67 |E move.w| @Dreg|
|00002320| 2c 40 53 63 72 61 74 63 | 68 20 20 40 4c 49 4e 45 |,@Scratc|h @LINE|
|00002330| 0a 20 20 20 40 4c 6f 6f | 70 20 20 74 73 74 2e 77 |. @Loo|p tst.w|
|00002340| 20 20 20 20 28 40 41 72 | 65 67 29 2b 20 20 20 20 | (@Ar|eg)+ |
|00002350| 20 20 20 20 40 4c 49 4e | 45 0a 20 20 20 40 53 50 | @LIN|E. @SP|
|00002360| 41 43 45 20 64 62 65 71 | 20 20 20 20 20 40 53 63 |ACE dbeq| @Sc|
|00002370| 72 61 74 63 68 2c 40 4c | 6f 6f 70 20 20 40 4c 49 |ratch,@L|oop @LI|
|00002380| 4e 45 0a 20 20 20 40 53 | 50 41 43 45 20 73 75 62 |NE. @S|PACE sub|
|00002390| 2e 77 20 20 20 20 40 53 | 63 72 61 74 63 68 2c 40 |.w @S|cratch,@|
|000023a0| 44 72 65 67 20 20 40 4c | 49 4e 45 0a 40 45 4e 44 |Dreg @L|INE.@END|
|000023b0| 4d 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |M.\end{v|erbatim}|
|000023c0| 5c 65 6e 64 7b 71 75 6f | 74 65 7d 0a 20 20 20 20 |\end{quo|te}. |
|000023d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 0a 20 20 20 | | . |
|000023e0| 20 20 20 20 20 41 6e 20 | 69 6e 73 74 61 6e 63 65 | An |instance|
|000023f0| 20 6f 66 20 74 68 69 73 | 20 6d 61 63 72 6f 20 77 | of this| macro w|
|00002400| 69 6c 6c 20 61 6c 77 61 | 79 73 20 70 72 6f 64 75 |ill alwa|ys produ|
|00002410| 63 65 20 66 6f 75 72 20 | 0a 20 20 20 20 20 20 20 |ce four |. |
|00002420| 6c 69 6e 65 73 20 6f 66 | 20 63 6f 64 65 2c 20 74 |lines of| code, t|
|00002430| 68 72 6f 77 69 6e 67 20 | 74 68 65 20 6c 69 6e 65 |hrowing |the line|
|00002440| 20 63 6f 75 6e 74 20 6f | 66 66 20 62 79 20 66 6f | count o|ff by fo|
|00002450| 75 72 2e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ur.. | |
|00002460| 20 20 20 20 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e | .\su|bsection|
|00002470| 7b 40 40 7d 0a 0a 20 20 | 20 20 20 20 20 20 41 20 |{@@}.. | A |
|00002480| 77 61 79 20 74 6f 20 67 | 65 74 20 61 6e 20 40 20 |way to g|et an @ |
|00002490| 73 69 67 6e 20 69 6e 74 | 6f 20 79 6f 75 72 20 6f |sign int|o your o|
|000024a0| 75 74 70 75 74 20 66 69 | 6c 65 2e 0a 20 20 20 20 |utput fi|le.. |
|000024b0| 20 20 20 20 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e | .\su|bsection|
|000024c0| 7b 40 28 2c 20 40 29 2c | 20 61 6e 64 20 40 2c 7d |{@(, @),| and @,}|
|000024d0| 0a 0a 20 20 20 20 20 20 | 20 20 42 75 69 6c 74 2d |.. | Built-|
|000024e0| 69 6e 20 6d 61 63 72 6f | 73 20 66 6f 72 20 27 28 |in macro|s for '(|
|000024f0| 27 2c 20 27 29 27 2c 20 | 61 6e 64 20 63 6f 6d 6d |', ')', |and comm|
|00002500| 61 2c 20 72 65 73 70 65 | 63 74 69 76 65 6c 79 2e |a, respe|ctively.|
|00002510| 0a 20 20 20 20 20 20 20 | 20 54 68 65 73 65 20 61 |. | These a|
|00002520| 62 6f 76 65 20 6d 61 63 | 72 6f 73 20 61 72 65 20 |bove mac|ros are |
|00002530| 6d 65 61 6e 74 20 74 6f | 20 62 65 0a 20 20 20 20 |meant to| be. |
|00002540| 20 20 20 20 75 73 65 64 | 20 6f 6e 6c 79 20 69 6e | used| only in|
|00002550| 20 77 65 69 72 64 20 73 | 69 74 75 61 74 69 6f 6e | weird s|ituation|
|00002560| 73 20 75 73 69 6e 67 20 | 6d 61 63 72 6f 20 61 72 |s using |macro ar|
|00002570| 67 75 6d 65 6e 74 73 2e | 20 20 4e 6f 72 6d 61 6c |guments.| Normal|
|00002580| 6c 79 0a 20 20 20 20 20 | 20 20 20 69 74 20 69 73 |ly. | it is|
|00002590| 20 75 6e 6e 65 63 65 73 | 73 61 72 79 20 74 6f 20 | unneces|sary to |
|000025a0| 75 73 65 20 74 68 65 6d | 20 74 6f 20 67 65 74 20 |use them| to get |
|000025b0| 27 2c 27 20 27 28 27 20 | 6f 72 20 27 29 27 2e 20 |',' '(' |or ')'. |
|000025c0| 20 54 68 65 20 77 69 65 | 72 64 0a 20 20 20 20 20 | The wie|rd. |
|000025d0| 20 20 20 73 69 74 75 61 | 74 69 6f 6e 73 20 70 6f | situa|tions po|
|000025e0| 70 20 75 70 20 77 68 65 | 6e 20 79 6f 75 20 77 61 |p up whe|n you wa|
|000025f0| 6e 74 20 74 6f 20 70 6c | 61 63 65 20 61 20 63 6f |nt to pl|ace a co|
|00002600| 6d 6d 61 20 6f 72 20 61 | 6e 20 75 6e 62 61 6c 61 |mma or a|n unbala|
|00002610| 6e 63 65 64 0a 20 20 20 | 20 20 20 20 20 6e 75 6d |nced. | num|
|00002620| 62 65 72 20 6f 66 20 70 | 61 72 65 6e 74 68 65 73 |ber of p|arenthes|
|00002630| 69 73 20 69 6e 20 61 20 | 6d 61 63 72 6f 20 61 72 |is in a |macro ar|
|00002640| 67 75 6d 65 6e 74 2e 20 | 20 46 6f 72 20 65 78 61 |gument. | For exa|
|00002650| 6d 70 6c 65 3a 0a 20 20 | 20 20 20 20 20 20 0a 5c |mple:. | .\|
|00002660| 62 65 67 69 6e 7b 71 75 | 6f 74 65 7d 5c 62 65 67 |begin{qu|ote}\beg|
|00002670| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 40 4d 41 |in{verba|tim}.@MA|
|00002680| 43 52 4f 20 69 64 65 6e | 74 69 74 79 28 61 29 20 |CRO iden|tity(a) |
|00002690| 40 61 20 40 45 4e 44 4d | 20 7d 0a 0a 40 69 64 65 |@a @ENDM| }..@ide|
|000026a0| 6e 74 69 74 79 20 28 61 | 72 67 75 6d 65 6e 74 29 |ntity (a|rgument)|
|000026b0| 20 20 20 20 3d 3d 3e 20 | 20 61 72 67 75 6d 65 6e | ==> | argumen|
|000026c0| 74 0a 40 69 64 65 6e 74 | 69 74 79 20 28 28 28 28 |t.@ident|ity ((((|
|000026d0| 35 29 29 29 29 20 20 20 | 20 20 3d 3d 3e 20 20 28 |5)))) | ==> (|
|000026e0| 28 28 35 29 29 29 0a 40 | 69 64 65 6e 74 69 74 79 |((5))).@|identity|
|000026f0| 20 28 28 35 40 2c 36 40 | 2c 37 29 29 20 20 20 3d | ((5@,6@|,7)) =|
|00002700| 3d 3e 20 20 28 35 2c 36 | 2c 37 29 0a 40 69 64 65 |=> (5,6|,7).@ide|
|00002710| 6e 74 69 74 79 20 28 40 | 29 40 2c 40 28 29 20 20 |ntity (@|)@,@() |
|00002720| 20 20 20 20 3d 3d 3e 20 | 20 29 2c 28 0a 5c 65 6e | ==> | ),(.\en|
|00002730| 64 7b 76 65 72 62 61 74 | 69 6d 7d 5c 65 6e 64 7b |d{verbat|im}\end{|
|00002740| 71 75 6f 74 65 7d 0a 20 | 20 20 20 20 20 20 20 20 |quote}. | |
|00002750| 20 20 20 20 20 20 20 20 | 20 20 20 20 0a 5c 73 75 | | .\su|
|00002760| 62 73 65 63 74 69 6f 6e | 7b 40 49 46 20 7b 5c 65 |bsection|{@IF {\e|
|00002770| 6d 20 65 78 70 72 65 73 | 73 69 6f 6e 7d 20 40 54 |m expres|sion} @T|
|00002780| 48 45 4e 20 7b 5c 65 6d | 20 73 74 61 74 65 6d 65 |HEN {\em| stateme|
|00002790| 6e 74 73 7d 20 0a 20 20 | 20 20 20 20 20 20 20 20 |nts} . | |
|000027a0| 20 5c 7b 20 40 45 4c 53 | 49 46 20 7b 5c 65 6d 20 | \{ @ELS|IF {\em |
|000027b0| 65 78 70 72 65 73 73 69 | 6f 6e 7d 20 40 54 48 45 |expressi|on} @THE|
|000027c0| 4e 20 7b 5c 65 6d 20 73 | 74 61 74 65 6d 65 6e 74 |N {\em s|tatement|
|000027d0| 73 7d 20 5c 7d 0a 20 20 | 20 20 20 20 20 20 20 20 |s} \}. | |
|000027e0| 20 5b 20 40 45 4c 53 45 | 20 7b 5c 65 6d 20 73 74 | [ @ELSE| {\em st|
|000027f0| 61 74 65 6d 65 6e 74 73 | 7d 20 5d 0a 20 20 20 20 |atements|} ]. |
|00002800| 20 20 20 20 20 20 20 40 | 45 4e 44 7d 0a 0a 20 20 | @|END}.. |
|00002810| 20 20 20 20 20 20 54 68 | 65 20 49 46 2d 54 48 45 | Th|e IF-THE|
|00002820| 4e 2d 45 4c 53 49 46 2d | 45 4c 53 45 2d 45 4e 44 |N-ELSIF-|ELSE-END|
|00002830| 20 63 6c 61 75 73 65 2e | 20 20 54 68 65 20 66 6f | clause.| The fo|
|00002840| 72 6d 20 6f 66 20 74 68 | 69 73 20 73 74 61 74 6d |rm of th|is statm|
|00002850| 65 6e 74 20 69 73 0a 20 | 20 20 20 20 20 20 20 69 |ent is. | i|
|00002860| 64 65 6e 74 69 63 61 6c | 20 74 6f 20 74 68 65 20 |dentical| to the |
|00002870| 4d 6f 64 75 6c 61 20 49 | 46 2d 54 48 45 4e 2d 45 |Modula I|F-THEN-E|
|00002880| 4c 53 45 2d 45 4c 53 49 | 46 2d 45 4e 44 20 73 74 |LSE-ELSI|F-END st|
|00002890| 61 74 65 6d 65 6e 74 73 | 2c 20 77 69 74 68 0a 20 |atements|, with. |
|000028a0| 20 20 20 20 20 20 20 74 | 68 65 20 65 78 63 65 70 | t|he excep|
|000028b0| 74 69 6f 6e 20 74 68 61 | 74 20 74 68 65 20 6b 65 |tion tha|t the ke|
|000028c0| 79 77 6f 72 64 73 20 61 | 72 65 20 70 72 65 63 65 |ywords a|re prece|
|000028d0| 64 65 64 20 62 79 20 61 | 20 40 2e 20 20 54 68 65 |ded by a| @. The|
|000028e0| 20 65 78 70 72 65 73 73 | 69 6f 6e 0a 20 20 20 20 | express|ion. |
|000028f0| 20 20 20 20 69 73 20 61 | 20 62 6f 6f 6c 65 61 6e | is a| boolean|
|00002900| 20 65 78 70 72 65 73 73 | 69 6f 6e 20 6d 61 64 65 | express|ion made|
|00002910| 20 75 70 20 6f 66 20 62 | 6f 6f 6c 65 61 6e 20 66 | up of b|oolean f|
|00002920| 6c 61 67 73 20 0a 20 20 | 20 20 20 20 20 20 28 69 |lags . | (i|
|00002930| 64 65 6e 74 69 66 69 65 | 72 73 20 64 65 66 69 6e |dentifie|rs defin|
|00002940| 65 64 20 77 69 74 68 20 | 40 44 45 46 49 4e 45 20 |ed with |@DEFINE |
|00002950| 6f 72 20 40 4d 41 43 52 | 4f 29 2c 20 0a 20 20 20 |or @MACR|O), . |
|00002960| 20 20 20 20 20 41 4e 44 | 28 5c 26 29 2c 20 4f 52 | AND|(\&), OR|
|00002970| 28 7c 29 20 61 6e 64 2c | 20 4e 4f 54 28 5c 7e 5c |(|) and,| NOT(\~\|
|00002980| 2c 29 2e 20 20 45 69 74 | 68 65 72 20 74 68 65 20 |,). Eit|her the |
|00002990| 4d 4f 44 55 4c 41 20 6f | 72 20 4f 42 45 52 4f 4e |MODULA o|r OBERON|
|000029a0| 0a 20 20 20 20 20 20 20 | 20 73 79 6e 74 61 78 65 |. | syntaxe|
|000029b0| 73 20 61 72 65 20 61 63 | 63 65 70 74 65 64 20 66 |s are ac|cepted f|
|000029c0| 6f 72 20 41 4e 44 2c 20 | 4f 52 2c 20 61 6e 64 20 |or AND, |OR, and |
|000029d0| 4e 4f 54 2e 20 20 50 72 | 65 63 65 64 65 6e 63 65 |NOT. Pr|ecedence|
|000029e0| 20 69 73 20 67 69 76 65 | 6e 0a 20 20 20 20 20 20 | is give|n. |
|000029f0| 20 20 62 79 20 66 69 72 | 73 74 20 70 61 72 65 6e | by fir|st paren|
|00002a00| 74 68 65 73 69 73 2c 20 | 74 68 65 6e 20 4e 4f 54 |thesis, |then NOT|
|00002a10| 2c 20 74 68 65 6e 20 41 | 4e 44 2c 20 74 68 65 6e |, then A|ND, then|
|00002a20| 20 4f 52 2c 20 61 73 20 | 75 73 75 61 6c 2e 0a 20 | OR, as |usual.. |
|00002a30| 20 20 20 20 20 20 20 54 | 68 65 20 40 20 62 65 66 | T|he @ bef|
|00002a40| 6f 72 65 20 54 48 45 4e | 20 69 73 20 6f 70 74 69 |ore THEN| is opti|
|00002a50| 6f 6e 61 6c 20 61 73 20 | 69 74 20 69 73 20 6e 6f |onal as |it is no|
|00002a60| 74 20 61 62 73 6f 6c 75 | 74 65 6c 79 20 72 65 71 |t absolu|tely req|
|00002a70| 75 69 72 65 64 0a 20 20 | 20 20 20 20 20 20 66 6f |uired. | fo|
|00002a80| 72 20 70 61 72 73 69 6e | 67 20 74 68 65 20 73 74 |r parsin|g the st|
|00002a90| 61 74 65 6d 65 6e 74 2e | 0a 0a 5c 62 65 67 69 6e |atement.|..\begin|
|00002aa0| 7b 71 75 6f 74 65 7d 5c | 62 65 67 69 6e 7b 76 65 |{quote}\|begin{ve|
|00002ab0| 72 62 61 74 69 6d 7d 0a | 40 49 46 20 20 20 20 41 |rbatim}.|@IF A|
|00002ac0| 4d 49 47 41 20 40 54 48 | 45 4e 20 22 54 68 65 20 |MIGA @TH|EN "The |
|00002ad0| 42 65 73 74 22 0a 40 45 | 4c 53 49 46 20 4d 53 44 |Best".@E|LSIF MSD|
|00002ae0| 4f 53 20 40 54 48 45 4e | 20 57 68 61 74 20 63 61 |OS @THEN| What ca|
|00002af0| 6e 20 49 20 73 61 79 0a | 40 45 4c 53 49 46 20 4d |n I say.|@ELSIF M|
|00002b00| 41 43 20 20 20 40 54 48 | 45 4e 20 70 69 74 79 2c |AC @TH|EN pity,|
|00002b10| 20 61 20 72 65 61 6c 20 | 70 69 74 79 2e 0a 40 45 | a real |pity..@E|
|00002b20| 4e 44 0a 0a 40 49 46 20 | 44 65 62 75 67 31 20 54 |ND..@IF |Debug1 T|
|00002b30| 48 45 4e 0a 20 20 20 40 | 49 46 20 44 65 62 75 67 |HEN. @|IF Debug|
|00002b40| 32 20 54 48 45 4e 0a 20 | 20 20 20 20 20 40 49 46 |2 THEN. | @IF|
|00002b50| 20 44 65 62 75 67 33 20 | 54 48 45 4e 0a 20 20 20 | Debug3 |THEN. |
|00002b60| 20 20 20 20 20 20 54 68 | 69 73 20 69 73 20 72 65 | Th|is is re|
|00002b70| 61 6c 6c 79 20 66 75 6e | 21 21 21 0a 20 20 20 20 |ally fun|!!!. |
|00002b80| 20 20 40 45 4c 53 45 0a | 20 20 20 20 20 20 20 20 | @ELSE.| |
|00002b90| 20 40 49 46 20 44 65 62 | 75 67 36 20 54 48 45 4e | @IF Deb|ug6 THEN|
|00002ba0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 40 49 46 |. | @IF|
|00002bb0| 20 44 65 62 75 67 37 20 | 54 48 45 4e 0a 20 20 20 | Debug7 |THEN. |
|00002bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 40 49 46 20 | | @IF |
|00002bd0| 44 65 62 75 67 38 20 54 | 48 45 4e 0a 20 20 20 20 |Debug8 T|HEN. |
|00002be0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 40 49 | | @I|
|00002bf0| 46 20 44 65 62 75 67 39 | 20 54 48 45 4e 0a 20 20 |F Debug9| THEN. |
|00002c00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002c10| 20 20 20 40 49 46 20 44 | 65 62 75 67 31 30 20 54 | @IF D|ebug10 T|
|00002c20| 48 45 4e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |HEN. | |
|00002c30| 20 20 20 20 20 20 20 20 | 20 20 20 20 57 65 20 63 | | We c|
|00002c40| 6f 75 6c 64 20 64 6f 20 | 74 68 69 73 20 61 6c 6c |ould do |this all|
|00002c50| 20 64 61 79 21 21 21 0a | 20 20 20 20 20 20 20 20 | day!!!.| |
|00002c60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 40 45 4e | | @EN|
|00002c70| 44 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |D. | |
|00002c80| 20 20 20 20 40 45 4e 44 | 0a 20 20 20 20 20 20 20 | @END|. |
|00002c90| 20 20 20 20 20 20 20 20 | 40 45 4c 53 45 0a 20 20 | |@ELSE. |
|00002ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cb0| 43 6f 75 6c 64 6e 27 74 | 20 77 65 3f 0a 20 20 20 |Couldn't| we?. |
|00002cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 40 45 4e 44 | | @END|
|00002cd0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 40 45 4e |. | @EN|
|00002ce0| 44 0a 20 20 20 20 20 20 | 20 20 20 40 45 4e 44 0a |D. | @END.|
|00002cf0| 20 20 20 20 20 20 40 45 | 4e 44 0a 20 20 20 40 45 | @E|ND. @E|
|00002d00| 4e 44 0a 40 45 4c 53 49 | 46 20 44 65 62 75 67 32 |ND.@ELSI|F Debug2|
|00002d10| 20 7c 20 44 65 62 75 67 | 33 20 7c 20 44 65 62 75 | | Debug|3 | Debu|
|00002d20| 67 34 26 44 65 62 75 67 | 35 20 7c 20 44 65 62 75 |g4&Debug|5 | Debu|
|00002d30| 67 36 20 54 48 45 4e 0a | 20 20 20 57 68 65 77 2c |g6 THEN.| Whew,|
|00002d40| 20 74 68 65 72 65 27 73 | 20 6e 6f 20 65 6e 64 20 | there's| no end |
|00002d50| 74 6f 20 74 68 65 20 70 | 6f 73 73 69 62 69 6c 69 |to the p|ossibili|
|00002d60| 74 69 65 73 0a 40 45 4c | 53 49 46 20 44 65 62 75 |ties.@EL|SIF Debu|
|00002d70| 67 37 26 7e 44 65 62 75 | 67 38 26 7e 44 65 62 75 |g7&~Debu|g8&~Debu|
|00002d80| 67 39 20 54 48 45 4e 0a | 20 20 20 57 68 65 6e 20 |g9 THEN.| When |
|00002d90| 77 69 6c 6c 20 74 68 69 | 73 20 6e 75 74 20 73 74 |will thi|s nut st|
|00002da0| 6f 70 3f 0a 40 45 4c 53 | 45 0a 20 20 20 48 65 72 |op?.@ELS|E. Her|
|00002db0| 65 2c 20 49 20 73 75 70 | 70 6f 73 65 2e 0a 40 45 |e, I sup|pose..@E|
|00002dc0| 4e 44 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |ND.\end{|verbatim|
|00002dd0| 7d 5c 65 6e 64 7b 71 75 | 6f 74 65 7d 0a 0a 5c 73 |}\end{qu|ote}..\s|
|00002de0| 75 62 73 65 63 74 69 6f | 6e 7b 40 53 54 52 49 50 |ubsectio|n{@STRIP|
|00002df0| 20 61 6e 64 20 40 4e 4f | 53 54 52 49 50 7d 0a 0a | and @NO|STRIP}..|
|00002e00| 54 68 65 20 7b 5c 74 74 | 20 40 53 54 52 49 50 7d |The {\tt| @STRIP}|
|00002e10| 20 61 6e 64 20 7b 5c 74 | 74 20 40 4e 4f 53 54 52 | and {\t|t @NOSTR|
|00002e20| 49 50 7d 20 64 69 72 65 | 63 74 69 76 65 73 20 61 |IP} dire|ctives a|
|00002e30| 72 65 20 75 73 65 64 20 | 0a 74 6f 20 63 6f 6e 74 |re used |.to cont|
|00002e40| 72 6f 6c 20 77 68 65 74 | 68 65 72 20 4d 32 50 20 |rol whet|her M2P |
|00002e50| 73 68 6f 75 6c 64 20 73 | 74 72 69 70 20 63 6f 6d |should s|trip com|
|00002e60| 6d 65 6e 74 73 0a 6f 72 | 20 6e 6f 74 2c 20 72 65 |ments.or| not, re|
|00002e70| 73 70 65 63 74 69 76 65 | 6c 79 2e 20 20 43 6f 6d |spective|ly. Com|
|00002e80| 6d 65 6e 74 73 20 6e 6f | 74 20 63 6f 6e 74 61 69 |ments no|t contai|
|00002e90| 6e 69 6e 67 20 64 69 72 | 65 63 74 69 76 65 73 0a |ning dir|ectives.|
|00002ea0| 77 69 74 68 69 6e 20 7b | 5c 74 74 20 40 4d 41 43 |within {|\tt @MAC|
|00002eb0| 52 4f 7d 20 64 65 66 69 | 6e 69 74 69 6f 6e 20 73 |RO} defi|nition s|
|00002ec0| 74 61 74 65 6d 65 6e 74 | 73 20 61 72 65 20 61 6c |tatement|s are al|
|00002ed0| 77 61 79 73 20 73 74 72 | 69 70 70 65 64 2e 0a 0a |ways str|ipped...|
|00002ee0| 25 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |%=======|========|
|00002ef0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002f00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002f10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002f20| 3d 3d 3d 3d 3d 0a 0a 5c | 73 65 63 74 69 6f 6e 7b |=====..\|section{|
|00002f30| 55 73 69 6e 67 20 4d 32 | 50 7d 0a 0a 49 66 20 4d |Using M2|P}..If M|
|00002f40| 32 50 20 69 73 20 69 6e | 76 6f 6b 65 64 20 77 69 |2P is in|voked wi|
|00002f50| 74 68 20 6e 6f 20 61 72 | 67 75 6d 65 6e 74 73 20 |th no ar|guments |
|00002f60| 69 74 20 77 69 6c 6c 20 | 67 69 76 65 20 61 20 75 |it will |give a u|
|00002f70| 73 61 67 65 20 6d 65 73 | 73 61 67 65 20 69 6e 20 |sage mes|sage in |
|00002f80| 74 68 65 0a 66 6f 72 6d | 20 6f 66 20 61 20 72 65 |the.form| of a re|
|00002f90| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|00002fa0| 20 67 69 76 69 6e 67 20 | 74 68 65 20 66 6f 72 6d | giving |the form|
|00002fb0| 61 74 20 6f 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |at of th|e comman|
|00002fc0| 64 20 6c 69 6e 65 0a 70 | 61 72 61 6d 65 74 65 72 |d line.p|arameter|
|00002fd0| 73 2e 0a 0a 4d 32 50 20 | 77 69 6c 6c 20 61 63 63 |s...M2P |will acc|
|00002fe0| 65 70 74 20 61 73 20 6d | 61 6e 79 20 61 73 20 31 |ept as m|any as 1|
|00002ff0| 32 38 20 70 61 72 61 6d | 65 74 65 72 73 2e 0a 5c |28 param|eters..\|
|00003000| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00003010| 3e 20 4d 32 50 20 54 31 | 2e 6d 70 70 28 41 20 42 |> M2P T1|.mpp(A B|
|00003020| 20 43 29 20 54 32 2e 64 | 70 70 20 54 33 2e 6c 70 | C) T2.d|pp T3.lp|
|00003030| 70 28 44 45 42 55 47 29 | 20 54 34 2e 61 70 70 20 |p(DEBUG)| T4.app |
|00003040| 54 4f 20 74 65 73 74 35 | 2e 61 36 38 0a 5c 65 6e |TO test5|.a68.\en|
|00003050| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 54 68 69 73 |d{verbat|im}.This|
|00003060| 20 77 69 6c 6c 20 66 69 | 72 73 74 20 69 6e 76 6f | will fi|rst invo|
|00003070| 6b 65 20 4d 32 50 20 6f | 6e 20 54 31 2e 6d 70 70 |ke M2P o|n T1.mpp|
|00003080| 2e 20 20 54 68 65 20 6f | 75 74 70 75 74 20 66 69 |. The o|utput fi|
|00003090| 6c 65 20 77 69 6c 6c 20 | 62 65 0a 61 75 74 6f 6d |le will |be.autom|
|000030a0| 61 74 69 63 61 6c 6c 79 | 20 74 72 61 6e 73 6c 61 |atically| transla|
|000030b0| 74 65 64 20 74 6f 20 54 | 31 2e 6d 6f 64 2c 20 61 |ted to T|1.mod, a|
|000030c0| 6e 64 20 74 68 65 20 73 | 79 6d 62 6f 6c 73 20 41 |nd the s|ymbols A|
|000030d0| 2c 20 42 2c 20 61 6e 64 | 20 43 20 77 69 6c 6c 0a |, B, and| C will.|
|000030e0| 62 65 20 64 65 66 69 6e | 65 64 20 61 73 20 74 72 |be defin|ed as tr|
|000030f0| 75 65 2e 20 20 54 68 65 | 20 73 79 6d 62 6f 6c 20 |ue. The| symbol |
|00003100| 74 61 62 6c 65 20 77 69 | 6c 6c 20 62 65 20 63 6c |table wi|ll be cl|
|00003110| 65 61 72 65 64 2c 20 61 | 6e 64 20 54 32 2e 64 70 |eared, a|nd T2.dp|
|00003120| 70 20 77 69 6c 6c 0a 62 | 65 20 70 72 6f 63 65 73 |p will.b|e proces|
|00003130| 73 65 64 20 61 6e 64 20 | 6f 75 74 70 75 74 20 77 |sed and |output w|
|00003140| 69 6c 6c 20 67 6f 20 74 | 6f 20 54 32 2e 64 65 66 |ill go t|o T2.def|
|00003150| 2e 20 20 54 33 2e 6c 70 | 70 20 77 69 6c 6c 20 62 |. T3.lp|p will b|
|00003160| 65 20 70 72 6f 63 65 73 | 73 65 64 0a 77 69 74 68 |e proces|sed.with|
|00003170| 20 44 45 42 55 47 20 64 | 65 66 69 6e 65 64 20 61 | DEBUG d|efined a|
|00003180| 6e 64 20 74 68 65 20 6f | 75 74 70 75 74 20 77 69 |nd the o|utput wi|
|00003190| 6c 6c 20 67 6f 20 74 6f | 20 54 33 2e 6c 73 70 2e |ll go to| T3.lsp.|
|000031a0| 20 20 46 69 6e 61 6c 6c | 79 2c 20 54 34 2e 61 70 | Finall|y, T4.ap|
|000031b0| 70 0a 77 69 6c 6c 20 62 | 65 20 70 72 6f 63 65 73 |p.will b|e proces|
|000031c0| 73 65 64 20 61 6e 64 20 | 74 68 65 20 6f 75 74 70 |sed and |the outp|
|000031d0| 75 74 20 77 69 6c 6c 20 | 73 70 65 63 69 66 69 63 |ut will |specific|
|000031e0| 61 6c 6c 79 20 62 65 20 | 73 65 6e 74 20 74 6f 20 |ally be |sent to |
|000031f0| 74 65 73 74 35 2e 61 36 | 38 2e 0a 57 69 74 68 6f |test5.a6|8..Witho|
|00003200| 75 74 20 74 68 65 20 54 | 4f 20 63 6c 61 75 73 65 |ut the T|O clause|
|00003210| 2c 20 74 68 65 20 6f 75 | 74 70 75 74 20 77 6f 75 |, the ou|tput wou|
|00003220| 6c 64 20 68 61 76 65 20 | 77 65 6e 74 20 74 6f 20 |ld have |went to |
|00003230| 54 34 2e 61 73 6d 2e 0a | 0a 49 66 20 61 6e 20 69 |T4.asm..|.If an i|
|00003240| 6e 70 75 74 20 66 69 6c | 65 20 69 73 20 67 69 76 |nput fil|e is giv|
|00003250| 65 6e 20 61 73 20 2d 2d | 20 74 68 65 6e 20 74 68 |en as --| then th|
|00003260| 65 20 73 74 61 6e 64 61 | 72 64 20 69 6e 70 75 74 |e standa|rd input|
|00003270| 20 77 69 6c 6c 20 62 65 | 20 75 73 65 64 2e 0a 4c | will be| used..L|
|00003280| 69 6b 65 77 69 73 65 20 | 69 66 20 61 6e 20 6f 75 |ikewise |if an ou|
|00003290| 74 70 75 74 20 66 69 6c | 65 20 69 73 20 67 69 76 |tput fil|e is giv|
|000032a0| 65 6e 20 61 73 20 2d 2d | 2c 20 74 68 65 20 6f 75 |en as --|, the ou|
|000032b0| 74 70 75 74 20 77 69 6c | 6c 20 67 6f 20 74 6f 20 |tput wil|l go to |
|000032c0| 74 68 65 0a 73 74 61 6e | 64 61 72 64 20 6f 75 74 |the.stan|dard out|
|000032d0| 70 75 74 20 61 6e 64 20 | 65 78 74 72 61 6e 65 6f |put and |extraneo|
|000032e0| 75 73 20 6d 65 73 73 61 | 67 65 73 20 77 69 6c 6c |us messa|ges will|
|000032f0| 20 62 65 20 73 75 70 70 | 72 65 73 73 65 64 2e 20 | be supp|ressed. |
|00003300| 20 54 68 69 73 20 6d 61 | 6b 65 73 0a 69 74 20 70 | This ma|kes.it p|
|00003310| 6f 73 73 69 62 6c 65 20 | 74 6f 20 75 73 65 20 4d |ossible |to use M|
|00003320| 32 50 20 77 69 74 68 20 | 72 65 64 69 72 65 63 74 |2P with |redirect|
|00003330| 69 6f 6e 20 61 6e 64 20 | 63 6f 6e 63 75 72 72 65 |ion and |concurre|
|00003340| 6e 74 20 70 69 70 65 73 | 2e 0a 0a 54 68 65 20 66 |nt pipes|...The f|
|00003350| 6f 6c 6c 6f 77 69 6e 67 | 20 72 75 6c 65 73 20 61 |ollowing| rules a|
|00003360| 72 65 20 75 73 65 64 20 | 66 6f 72 20 61 75 74 6f |re used |for auto|
|00003370| 6d 61 74 69 63 20 74 72 | 61 6e 73 6c 61 74 69 6f |matic tr|anslatio|
|00003380| 6e 20 6f 66 20 66 69 6c | 65 6e 61 6d 65 20 65 78 |n of fil|ename ex|
|00003390| 74 65 6e 73 69 6f 6e 73 | 3a 0a 0a 5c 62 65 67 69 |tensions|:..\begi|
|000033a0| 6e 7b 63 65 6e 74 65 72 | 7d 0a 5c 62 65 67 69 6e |n{center|}.\begin|
|000033b0| 7b 74 61 62 75 6c 61 72 | 7d 7b 7c 6c 7c 6c 7c 6c |{tabular|}{|l|l|l|
|000033c0| 7c 7d 20 20 0a 5c 68 6c | 69 6e 65 0a 5c 68 6c 69 ||} .\hl|ine.\hli|
|000033d0| 6e 65 0a 7b 5c 65 6d 20 | 49 6e 70 75 74 20 65 78 |ne.{\em |Input ex|
|000033e0| 74 65 6e 73 69 6f 6e 7d | 20 26 20 7b 5c 65 6d 20 |tension}| & {\em |
|000033f0| 4f 75 74 70 75 74 20 65 | 78 74 65 6e 73 69 6f 6e |Output e|xtension|
|00003400| 7d 20 26 20 7b 5c 65 6d | 20 45 78 61 6d 70 6c 65 |} & {\em| Example|
|00003410| 20 46 69 6c 65 20 54 79 | 70 65 7d 5c 5c 0a 5c 68 | File Ty|pe}\\.\h|
|00003420| 6c 69 6e 65 0a 20 20 20 | 20 20 20 20 20 2e 6d 70 |line. | .mp|
|00003430| 70 20 20 20 20 26 20 20 | 20 20 20 2e 6d 6f 64 20 |p & | .mod |
|00003440| 20 20 20 20 20 20 20 20 | 20 20 20 26 20 4d 6f 64 | | & Mod|
|00003450| 75 6c 61 2d 32 20 5c 5c | 0a 20 20 20 20 20 20 20 |ula-2 \\|. |
|00003460| 20 2e 64 70 70 20 20 20 | 20 26 20 20 20 20 20 2e | .dpp | & .|
|00003470| 64 65 66 20 20 20 20 20 | 20 20 20 20 20 20 20 26 |def | &|
|00003480| 20 22 20 20 20 20 5c 5c | 0a 20 20 20 20 20 20 20 | " \\|. |
|00003490| 20 2e 63 70 70 20 20 20 | 20 26 20 20 20 20 20 2e | .cpp | & .|
|000034a0| 63 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 26 |c | &|
|000034b0| 20 43 20 5c 5c 0a 20 20 | 20 20 20 20 20 20 2e 68 | C \\. | .h|
|000034c0| 70 70 20 20 20 20 26 20 | 20 20 20 20 2e 68 20 20 |pp & | .h |
|000034d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 26 20 22 20 | | & " |
|000034e0| 5c 5c 0a 20 20 20 20 20 | 20 20 20 2e 61 70 70 20 |\\. | .app |
|000034f0| 20 20 20 26 20 20 20 20 | 20 2e 61 73 6d 20 20 20 | & | .asm |
|00003500| 20 20 20 20 20 20 20 20 | 20 26 20 41 73 73 65 6d | | & Assem|
|00003510| 62 6c 79 20 5c 5c 0a 20 | 20 20 20 20 20 20 20 2e |bly \\. | .|
|00003520| 6c 70 70 20 20 20 20 26 | 20 20 20 20 20 2e 6c 73 |lpp &| .ls|
|00003530| 70 20 20 20 20 20 20 20 | 20 20 20 20 20 26 20 4c |p | & L|
|00003540| 69 73 70 20 5c 5c 0a 20 | 20 20 20 20 20 20 20 2e |isp \\. | .|
|00003550| 74 70 70 20 20 20 20 26 | 20 20 20 20 20 2e 74 78 |tpp &| .tx|
|00003560| 74 20 20 20 20 20 20 20 | 20 20 20 20 20 26 20 74 |t | & t|
|00003570| 65 78 74 20 5c 5c 0a 20 | 20 20 20 20 20 20 20 2e |ext \\. | .|
|00003580| 70 70 70 20 20 20 20 26 | 20 20 20 20 20 2e 70 61 |ppp &| .pa|
|00003590| 73 20 20 20 20 20 20 20 | 20 20 20 20 20 26 20 70 |s | & p|
|000035a0| 61 73 63 61 6c 20 5c 5c | 0a 20 20 20 20 20 20 20 |ascal \\|. |
|000035b0| 20 2e 6f 70 70 20 20 20 | 20 26 20 20 20 20 20 2e | .opp | & .|
|000035c0| 6d 6f 64 20 20 20 20 20 | 20 20 20 20 20 20 20 26 |mod | &|
|000035d0| 20 4f 62 65 72 6f 6e 20 | 5c 5c 0a 20 20 20 20 20 | Oberon |\\. |
|000035e0| 20 20 20 2e 66 70 70 20 | 20 20 20 26 20 20 20 20 | .fpp | & |
|000035f0| 20 2e 66 6f 72 20 20 20 | 20 20 20 20 20 20 20 20 | .for | |
|00003600| 20 26 20 46 6f 72 74 72 | 61 6e 20 5c 5c 0a 20 20 | & Fortr|an \\. |
|00003610| 20 20 20 20 20 20 2e 73 | 70 70 20 20 20 20 26 20 | .s|pp & |
|00003620| 20 20 20 20 2e 73 63 6d | 20 20 20 20 20 20 20 20 | .scm| |
|00003630| 20 20 20 20 26 20 53 63 | 68 65 6d 65 20 5c 5c 0a | & Sc|heme \\.|
|00003640| 5c 68 6c 69 6e 65 0a 5c | 68 6c 69 6e 65 0a 5c 65 |\hline.\|hline.\e|
|00003650| 6e 64 7b 74 61 62 75 6c | 61 72 7d 20 0a 5c 65 6e |nd{tabul|ar} .\en|
|00003660| 64 7b 63 65 6e 74 65 72 | 7d 0a 20 20 20 20 20 20 |d{center|}. |
|00003670| 20 0a 41 6c 74 68 6f 75 | 67 68 20 49 20 69 6e 63 | .Althou|gh I inc|
|00003680| 6c 75 64 65 64 20 74 68 | 65 20 2e 63 70 70 20 74 |luded th|e .cpp t|
|00003690| 6f 20 2e 63 20 61 6e 64 | 20 2e 68 70 70 20 74 6f |o .c and| .hpp to|
|000036a0| 20 2e 68 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 73 | .h tran|slations|
|000036b0| 20 66 6f 72 20 43 20 0a | 73 6f 75 72 63 65 20 63 | for C .|source c|
|000036c0| 6f 64 65 2c 20 4d 32 50 | 20 77 69 6c 6c 20 6e 6f |ode, M2P| will no|
|000036d0| 74 20 61 6c 77 61 79 73 | 20 77 6f 72 6b 20 70 72 |t always| work pr|
|000036e0| 6f 70 65 72 6c 79 20 77 | 69 74 68 20 43 20 73 6f |operly w|ith C so|
|000036f0| 75 72 63 65 20 63 6f 64 | 65 20 73 69 6e 63 65 0a |urce cod|e since.|
|00003700| 63 65 72 74 61 69 6e 20 | 6c 65 67 61 6c 20 73 79 |certain |legal sy|
|00003710| 6e 74 61 78 65 73 20 69 | 6e 20 43 20 6c 6f 6f 6b |ntaxes i|n C look|
|00003720| 20 6c 69 6b 65 20 63 6f | 6d 6d 65 6e 74 73 20 69 | like co|mments i|
|00003730| 6e 20 4d 6f 64 75 6c 61 | 2d 32 2e 20 20 49 74 20 |n Modula|-2. It |
|00003740| 69 73 20 0a 72 65 63 6f | 6d 6d 65 6e 64 65 64 20 |is .reco|mmended |
|00003750| 74 6f 20 74 75 72 6e 20 | 6f 66 66 20 63 6f 6d 6d |to turn |off comm|
|00003760| 65 6e 74 20 73 74 72 69 | 70 70 69 6e 67 20 28 75 |ent stri|pping (u|
|00003770| 73 69 6e 67 20 7b 5c 74 | 74 20 40 4e 4f 53 54 52 |sing {\t|t @NOSTR|
|00003780| 49 50 7d 29 20 69 66 0a | 75 73 69 6e 67 20 4d 32 |IP}) if.|using M2|
|00003790| 50 20 6f 6e 20 43 20 73 | 6f 75 72 63 65 20 63 6f |P on C s|ource co|
|000037a0| 64 65 2e 0a 0a 4d 32 50 | 20 72 65 61 64 73 20 74 |de...M2P| reads t|
|000037b0| 68 65 20 4d 32 50 46 6c | 61 67 73 20 65 6e 76 69 |he M2PFl|ags envi|
|000037c0| 72 6f 6e 6d 65 6e 74 20 | 76 61 72 69 61 62 6c 65 |ronment |variable|
|000037d0| 20 61 6e 64 20 70 6c 61 | 63 65 73 20 61 6c 6c 20 | and pla|ces all |
|000037e0| 66 6c 61 67 73 20 73 65 | 65 6e 0a 74 68 65 72 65 |flags se|en.there|
|000037f0| 20 6f 6e 20 74 68 65 20 | 73 79 6d 62 6f 6c 20 74 | on the |symbol t|
|00003800| 61 62 6c 65 20 64 65 66 | 69 6e 65 64 20 61 73 20 |able def|ined as |
|00003810| 74 72 75 65 2e 20 20 45 | 4e 56 3a 20 6d 75 73 74 |true. E|NV: must|
|00003820| 20 62 65 20 61 73 73 69 | 67 6e 65 64 20 74 6f 0a | be assi|gned to.|
|00003830| 70 72 65 76 65 6e 74 20 | 61 20 72 65 71 75 65 73 |prevent |a reques|
|00003840| 74 65 72 20 66 72 6f 6d | 20 70 6f 70 70 69 6e 67 |ter from| popping|
|00003850| 20 75 70 20 61 73 6b 69 | 6e 67 20 74 6f 20 28 6f | up aski|ng to (o|
|00003860| 6e 20 74 68 65 20 41 6d | 69 67 61 29 20 22 50 6c |n the Am|iga) "Pl|
|00003870| 65 61 73 65 0a 49 6e 73 | 65 72 74 20 44 69 73 6b |ease.Ins|ert Disk|
|00003880| 20 45 4e 56 3a 22 20 20 | 53 65 65 20 79 6f 75 72 | ENV:" |See your|
|00003890| 20 31 2e 33 20 65 6e 68 | 61 6e 63 65 72 20 6d 61 | 1.3 enh|ancer ma|
|000038a0| 6e 75 61 6c 20 66 6f 72 | 20 6d 6f 72 65 20 69 6e |nual for| more in|
|000038b0| 66 6f 72 6d 61 74 69 6f | 6e 2e 20 20 49 66 0a 45 |formatio|n. If.E|
|000038c0| 4e 56 3a 20 69 73 20 61 | 73 73 69 67 6e 65 64 2c |NV: is a|ssigned,|
|000038d0| 20 62 75 74 20 4d 32 50 | 46 6c 61 67 73 20 69 73 | but M2P|Flags is|
|000038e0| 20 6e 6f 74 20 64 65 66 | 69 6e 65 64 2c 20 69 74 | not def|ined, it|
|000038f0| 20 69 73 20 69 67 6e 6f | 72 65 64 2e 0a 0a 54 68 | is igno|red...Th|
|00003900| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6f 70 74 69 |e follow|ing opti|
|00003910| 6f 6e 73 20 61 72 65 20 | 61 6c 73 6f 20 61 63 63 |ons are |also acc|
|00003920| 65 70 74 65 64 20 62 79 | 20 4d 32 50 20 61 73 20 |epted by| M2P as |
|00003930| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 61 72 67 |command |line arg|
|00003940| 75 6d 65 6e 74 73 2e 0a | 0a 5c 62 65 67 69 6e 7b |uments..|.\begin{|
|00003950| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 5c 69 74 |descript|ion}.\it|
|00003960| 65 6d 7b 49 4e 43 4c 55 | 44 45 20 7b 5c 65 6d 20 |em{INCLU|DE {\em |
|00003970| 70 61 74 68 7d 7d 20 20 | 41 64 64 73 20 7b 5c 65 |path}} |Adds {\e|
|00003980| 6d 20 70 61 74 68 7d 20 | 74 6f 20 4d 32 50 27 73 |m path} |to M2P's|
|00003990| 20 73 65 61 72 63 68 70 | 61 74 68 20 66 6f 72 20 | searchp|ath for |
|000039a0| 49 4e 43 4c 55 44 45 20 | 66 69 6c 65 73 2e 0a 5c |INCLUDE |files..\|
|000039b0| 69 74 65 6d 7b 53 54 52 | 49 50 7d 20 20 20 49 6e |item{STR|IP} In|
|000039c0| 73 74 72 75 63 74 73 20 | 4d 32 50 20 74 6f 20 73 |structs |M2P to s|
|000039d0| 74 72 69 70 20 63 6f 6d | 6d 65 6e 74 73 2e 20 20 |trip com|ments. |
|000039e0| 28 64 65 66 61 75 6c 74 | 29 0a 5c 69 74 65 6d 7b |(default|).\item{|
|000039f0| 4e 4f 53 54 52 49 50 7d | 20 49 6e 73 74 72 75 63 |NOSTRIP}| Instruc|
|00003a00| 74 73 20 4d 32 50 20 6e | 6f 74 20 74 6f 20 73 74 |ts M2P n|ot to st|
|00003a10| 72 69 70 20 63 6f 6d 6d | 65 6e 74 73 2e 0a 5c 65 |rip comm|ents..\e|
|00003a20| 6e 64 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |nd{descr|iption}.|
|00003a30| 0a 4d 32 50 20 63 61 6e | 20 61 6c 73 6f 20 62 65 |.M2P can| also be|
|00003a40| 20 72 61 6e 20 66 72 6f | 6d 20 74 68 65 20 41 6d | ran fro|m the Am|
|00003a50| 69 67 61 20 57 6f 72 6b | 62 65 6e 63 68 2e 20 20 |iga Work|bench. |
|00003a60| 49 74 20 77 69 6c 6c 20 | 6f 70 65 6e 20 69 74 73 |It will |open its|
|00003a70| 20 6f 77 6e 0a 77 69 6e | 64 6f 77 20 61 6e 64 20 | own.win|dow and |
|00003a80| 61 73 73 69 67 6e 20 74 | 68 65 20 73 74 61 6e 64 |assign t|he stand|
|00003a90| 61 72 64 20 69 6e 70 75 | 74 20 61 6e 64 20 6f 75 |ard inpu|t and ou|
|00003aa0| 74 70 75 74 20 63 68 61 | 6e 6e 65 6c 73 20 74 6f |tput cha|nnels to|
|00003ab0| 20 74 68 61 74 20 77 69 | 6e 64 6f 77 2e 20 20 0a | that wi|ndow. .|
|00003ac0| 0a 25 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.%======|========|
|00003ad0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003ae0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003af0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003b00| 3d 3d 3d 3d 3d 3d 0a 0a | 5c 73 65 63 74 69 6f 6e |======..|\section|
|00003b10| 7b 4d 65 6d 6f 72 79 20 | 52 65 71 75 69 72 65 6d |{Memory |Requirem|
|00003b20| 65 6e 74 73 7d 0a 0a 4d | 32 50 20 72 65 71 75 69 |ents}..M|2P requi|
|00003b30| 72 65 73 20 61 62 6f 75 | 74 20 34 35 4b 20 73 74 |res abou|t 45K st|
|00003b40| 61 74 69 63 61 6c 6c 79 | 20 61 74 20 72 75 6e 74 |atically| at runt|
|00003b50| 69 6d 65 2e 20 20 48 6f | 77 65 76 65 72 2c 20 61 |ime. Ho|wever, a|
|00003b60| 73 20 63 6f 6d 70 75 74 | 61 74 69 6f 6e 73 0a 70 |s comput|ations.p|
|00003b70| 72 6f 67 72 65 73 73 2c | 20 61 6e 64 20 6c 61 72 |rogress,| and lar|
|00003b80| 67 65 20 6d 61 63 72 6f | 73 20 61 72 65 20 64 65 |ge macro|s are de|
|00003b90| 66 69 6e 65 64 2c 20 6d | 65 6d 6f 72 79 20 69 73 |fined, m|emory is|
|00003ba0| 20 64 79 6e 61 6d 69 63 | 61 6c 6c 79 20 63 6f 6e | dynamic|ally con|
|00003bb0| 73 75 6d 65 64 0a 69 6e | 20 34 4b 20 63 68 75 6e |sumed.in| 4K chun|
|00003bc0| 6b 73 2e 20 20 54 79 70 | 69 63 61 6c 6c 79 2c 20 |ks. Typ|ically, |
|00003bd0| 66 6f 72 20 61 20 6c 61 | 72 67 65 20 66 69 6c 65 |for a la|rge file|
|00003be0| 20 4d 32 50 20 6d 61 79 | 20 6e 65 65 64 20 61 72 | M2P may| need ar|
|00003bf0| 6f 75 6e 64 20 38 30 4b | 20 74 6f 74 61 6c 2e 0a |ound 80K| total..|
|00003c00| 54 68 65 20 4d 32 50 20 | 65 78 65 63 75 74 61 62 |The M2P |executab|
|00003c10| 6c 65 20 72 65 71 75 69 | 72 65 73 20 6c 65 73 73 |le requi|res less|
|00003c20| 20 74 68 61 6e 20 33 30 | 4b 2e 0a 0a 25 3d 3d 3d | than 30|K...%===|
|00003c30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003c40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003c50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003c60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003c70| 3d 0a 0a 5c 73 65 63 74 | 69 6f 6e 7b 45 72 72 6f |=..\sect|ion{Erro|
|00003c80| 72 20 4d 65 73 73 61 67 | 65 73 7d 0a 0a 5c 62 65 |r Messag|es}..\be|
|00003c90| 67 69 6e 7b 69 74 65 6d | 69 7a 65 7d 0a 0a 5c 69 |gin{item|ize}..\i|
|00003ca0| 74 65 6d 20 20 20 53 74 | 72 69 6e 67 73 20 6d 61 |tem St|rings ma|
|00003cb0| 79 20 6e 6f 74 20 62 65 | 20 62 72 6f 6b 65 6e 20 |y not be| broken |
|00003cc0| 61 63 72 6f 73 73 20 6c | 69 6e 65 20 62 6f 75 6e |across l|ine boun|
|00003cd0| 64 61 72 69 65 73 2e 0a | 0a 20 20 20 20 20 20 20 |daries..|. |
|00003ce0| 20 41 20 4c 46 2c 43 52 | 2c 46 46 2c 20 6f 72 20 | A LF,CR|,FF, or |
|00003cf0| 56 54 20 63 6f 6e 74 72 | 6f 6c 20 63 68 61 72 61 |VT contr|ol chara|
|00003d00| 63 74 6f 72 20 77 61 73 | 20 66 6f 75 6e 64 20 69 |ctor was| found i|
|00003d10| 6e 73 69 64 65 20 61 20 | 73 74 72 69 6e 67 2e 0a |nside a |string..|
|00003d20| 20 20 20 20 20 20 20 20 | 54 68 69 73 20 6d 61 79 | |This may|
|00003d30| 20 61 6c 73 6f 20 68 61 | 70 70 65 6e 20 69 66 20 | also ha|ppen if |
|00003d40| 74 68 65 72 65 20 69 73 | 20 6c 6f 6f 73 65 20 61 |there is| loose a|
|00003d50| 70 6f 73 74 72 6f 70 68 | 65 20 69 6e 73 69 64 65 |postroph|e inside|
|00003d60| 20 61 0a 20 20 20 20 20 | 20 20 20 63 6f 6d 6d 65 | a. | comme|
|00003d70| 6e 74 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 64 69 |nt conta|ining di|
|00003d80| 72 65 63 74 69 76 65 73 | 2e 0a 0a 5c 69 74 65 6d |rectives|...\item|
|00003d90| 20 20 20 43 6f 6d 6d 65 | 6e 74 20 6e 6f 74 20 63 | Comme|nt not c|
|00003da0| 6c 6f 73 65 64 20 77 69 | 74 68 20 2a 29 0a 0a 20 |losed wi|th *).. |
|00003db0| 20 20 20 20 20 20 20 45 | 6e 64 20 6f 66 20 66 69 | E|nd of fi|
|00003dc0| 6c 65 20 77 61 73 20 72 | 65 61 63 68 65 64 20 62 |le was r|eached b|
|00003dd0| 65 66 6f 72 65 20 4d 32 | 50 20 63 6f 75 6c 64 20 |efore M2|P could |
|00003de0| 6c 6f 63 61 74 65 20 74 | 68 65 20 63 6c 6f 73 69 |locate t|he closi|
|00003df0| 6e 67 20 2a 29 0a 20 20 | 20 20 20 20 20 20 6f 66 |ng *). | of|
|00003e00| 20 61 20 63 6f 6d 6d 65 | 6e 74 2e 0a 20 20 20 20 | a comme|nt.. |
|00003e10| 20 20 20 20 0a 5c 69 74 | 65 6d 20 20 20 54 6f 6b | .\it|em Tok|
|00003e20| 65 6e 20 69 73 20 74 6f | 6f 20 6c 6f 6e 67 2c 20 |en is to|o long, |
|00003e30| 6c 69 6d 69 74 20 69 73 | 20 32 35 35 20 63 68 61 |limit is| 255 cha|
|00003e40| 72 61 63 74 6f 72 73 0a | 0a 20 20 20 20 20 20 20 |ractors.|. |
|00003e50| 20 59 6f 75 20 68 61 76 | 65 20 61 20 73 74 72 69 | You hav|e a stri|
|00003e60| 6e 67 20 6f 72 20 61 6e | 20 69 64 65 6e 74 69 66 |ng or an| identif|
|00003e70| 69 65 72 20 77 68 69 63 | 68 20 69 73 20 72 69 64 |ier whic|h is rid|
|00003e80| 69 63 75 6c 6f 75 73 6c | 79 20 6c 6f 6e 67 2e 0a |iculousl|y long..|
|00003e90| 0a 5c 69 74 65 6d 20 20 | 20 46 69 6c 65 6e 61 6d |.\item | Filenam|
|00003ea0| 65 20 28 73 74 72 69 6e | 67 29 20 65 78 70 65 63 |e (strin|g) expec|
|00003eb0| 74 65 64 20 66 6f 6c 6c | 6f 77 69 6e 67 20 40 49 |ted foll|owing @I|
|00003ec0| 4e 43 4c 55 44 45 0a 0a | 20 20 20 20 20 20 20 20 |NCLUDE..| |
|00003ed0| 52 65 63 61 6c 6c 20 74 | 68 65 20 73 79 6e 74 61 |Recall t|he synta|
|00003ee0| 78 3a 20 20 40 49 4e 43 | 4c 55 44 45 20 22 66 69 |x: @INC|LUDE "fi|
|00003ef0| 6c 65 6e 61 6d 65 22 0a | 0a 5c 69 74 65 6d 20 20 |lename".|.\item |
|00003f00| 20 55 6e 72 65 63 6f 67 | 6e 69 7a 65 64 20 50 72 | Unrecog|nized Pr|
|00003f10| 65 70 72 6f 63 65 73 73 | 6f 72 20 73 74 61 74 65 |eprocess|or state|
|00003f20| 6d 65 6e 74 0a 0a 20 20 | 20 20 20 20 20 20 53 6f |ment.. | So|
|00003f30| 6d 65 74 68 69 6e 67 20 | 77 61 73 20 66 6f 75 6e |mething |was foun|
|00003f40| 64 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 61 6e 20 40 |d follow|ing an @|
|00003f50| 20 77 68 69 63 68 20 64 | 69 64 20 6e 6f 74 20 66 | which d|id not f|
|00003f60| 6f 72 6d 20 61 20 76 61 | 6c 69 64 0a 20 20 20 20 |orm a va|lid. |
|00003f70| 20 20 20 20 70 72 65 70 | 72 6f 63 65 73 73 6f 72 | prep|rocessor|
|00003f80| 20 73 74 61 74 65 6d 65 | 6e 74 2e 0a 0a 5c 69 74 | stateme|nt...\it|
|00003f90| 65 6d 20 20 20 49 64 65 | 6e 74 69 66 69 65 72 20 |em Ide|ntifier |
|00003fa0| 6d 75 73 74 20 62 65 20 | 64 65 66 69 6e 65 64 20 |must be |defined |
|00003fb0| 61 73 20 61 20 6d 61 63 | 72 6f 0a 0a 20 20 20 20 |as a mac|ro.. |
|00003fc0| 20 20 20 20 41 6e 20 61 | 74 74 65 6d 70 74 20 77 | An a|ttempt w|
|00003fd0| 61 73 20 6d 61 64 65 20 | 74 6f 20 75 73 65 20 40 |as made |to use @|
|00003fe0| 3c 69 64 3e 20 61 73 20 | 61 20 6d 61 63 72 6f 2c |<id> as |a macro,|
|00003ff0| 20 62 75 74 20 3c 69 64 | 3e 20 69 73 20 0a 20 20 | but <id|> is . |
|00004000| 20 20 20 20 20 20 6e 6f | 74 20 61 20 6d 61 63 72 | no|t a macr|
|00004010| 6f 2e 0a 0a 5c 69 74 65 | 6d 20 20 20 57 41 52 4e |o...\ite|m WARN|
|00004020| 49 4e 47 3a 20 53 79 6d | 62 6f 6c 20 68 61 73 20 |ING: Sym|bol has |
|00004030| 61 6c 72 65 61 64 79 20 | 62 65 65 6e 20 64 65 66 |already |been def|
|00004040| 69 6e 65 64 0a 0a 20 20 | 20 20 20 20 20 20 41 6e |ined.. | An|
|00004050| 20 61 74 74 65 6d 70 74 | 20 68 61 73 20 62 65 65 | attempt| has bee|
|00004060| 6e 20 6d 61 64 65 20 74 | 6f 20 62 69 6e 64 20 61 |n made t|o bind a|
|00004070| 20 73 79 6d 62 6f 6c 20 | 74 6f 20 61 20 6d 61 63 | symbol |to a mac|
|00004080| 72 6f 20 64 65 66 69 6e | 69 74 69 6f 6e 2c 0a 20 |ro defin|ition,. |
|00004090| 20 20 20 20 20 20 20 6f | 72 20 40 44 45 46 49 4e | o|r @DEFIN|
|000040a0| 45 20 69 74 2c 20 62 75 | 74 20 74 68 61 74 20 73 |E it, bu|t that s|
|000040b0| 79 6d 62 6f 6c 20 77 61 | 73 20 70 72 65 76 69 6f |ymbol wa|s previo|
|000040c0| 75 73 6c 79 20 64 65 66 | 69 6e 65 64 2e 20 20 54 |usly def|ined. T|
|000040d0| 68 65 20 6e 65 77 0a 20 | 20 20 20 20 20 20 20 64 |he new. | d|
|000040e0| 65 66 69 6e 69 74 69 6f | 6e 20 77 69 6c 6c 20 62 |efinitio|n will b|
|000040f0| 65 20 73 74 61 63 6b 65 | 64 20 6f 6e 20 74 6f 70 |e stacke|d on top|
|00004100| 20 6f 66 20 74 68 65 20 | 6f 6c 64 20 64 65 66 69 | of the |old defi|
|00004110| 6e 69 74 69 6f 6e 2e 0a | 0a 5c 69 74 65 6d 20 20 |nition..|.\item |
|00004120| 20 57 41 52 4e 49 4e 47 | 3a 20 53 79 6d 62 6f 6c | WARNING|: Symbol|
|00004130| 20 68 61 73 20 6e 6f 74 | 20 62 65 65 6e 20 64 65 | has not| been de|
|00004140| 66 69 6e 65 64 0a 0a 20 | 20 20 20 20 20 20 20 41 |fined.. | A|
|00004150| 6e 20 61 74 74 65 6d 70 | 74 20 77 61 73 20 6d 61 |n attemp|t was ma|
|00004160| 64 65 20 74 6f 20 75 73 | 65 20 40 3c 69 64 3e 20 |de to us|e @<id> |
|00004170| 61 73 20 61 20 6d 61 63 | 72 6f 2c 20 62 75 74 20 |as a mac|ro, but |
|00004180| 3c 69 64 3e 20 69 73 20 | 0a 20 20 20 20 20 20 20 |<id> is |. |
|00004190| 20 6e 6f 74 20 64 65 66 | 69 6e 65 64 2c 20 70 6f | not def|ined, po|
|000041a0| 73 73 69 62 6c 79 20 61 | 6e 20 61 72 67 75 6d 65 |ssibly a|n argume|
|000041b0| 6e 74 20 77 68 69 63 68 | 20 77 61 73 20 6e 6f 74 |nt which| was not|
|000041c0| 20 73 75 70 70 6c 69 65 | 64 20 74 6f 0a 20 20 20 | supplie|d to. |
|000041d0| 20 20 20 20 20 61 20 6d | 61 63 72 6f 2e 0a 0a 5c | a m|acro...\|
|000041e0| 69 74 65 6d 20 20 20 49 | 64 65 6e 74 69 66 69 65 |item I|dentifie|
|000041f0| 72 20 65 78 70 65 63 74 | 65 64 20 66 6f 6c 6c 6f |r expect|ed follo|
|00004200| 77 69 6e 67 20 40 55 4e | 44 45 46 0a 5c 69 74 65 |wing @UN|DEF.\ite|
|00004210| 6d 20 20 20 49 64 65 6e | 74 69 66 69 65 72 20 65 |m Iden|tifier e|
|00004220| 78 70 65 63 74 65 64 20 | 66 6f 6c 6c 6f 77 69 6e |xpected |followin|
|00004230| 67 20 40 44 45 46 49 4e | 45 0a 5c 69 74 65 6d 20 |g @DEFIN|E.\item |
|00004240| 20 20 49 64 65 6e 74 69 | 66 69 65 72 20 65 78 70 | Identi|fier exp|
|00004250| 65 63 74 65 64 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |ected fo|llowing |
|00004260| 40 4d 41 43 52 4f 0a 0a | 20 20 20 20 20 20 20 20 |@MACRO..| |
|00004270| 53 65 65 20 53 65 63 74 | 69 6f 6e 20 32 20 28 61 |See Sect|ion 2 (a|
|00004280| 62 6f 76 65 29 0a 0a 5c | 69 74 65 6d 20 20 20 55 |bove)..\|item U|
|00004290| 6e 62 61 6c 61 6e 63 65 | 64 20 70 61 72 65 6e 74 |nbalance|d parent|
|000042a0| 68 65 73 69 73 20 69 6e | 20 65 78 70 72 65 73 73 |hesis in| express|
|000042b0| 69 6f 6e 0a 0a 20 20 20 | 20 20 20 20 20 49 66 20 |ion.. | If |
|000042c0| 75 6e 62 61 6c 61 6e 63 | 65 64 20 70 61 72 65 6e |unbalanc|ed paren|
|000042d0| 74 68 65 73 69 73 20 61 | 72 65 20 64 65 73 69 72 |thesis a|re desir|
|000042e0| 65 64 2c 20 75 73 65 20 | 40 29 20 6f 72 20 40 28 |ed, use |@) or @(|
|000042f0| 20 74 6f 20 64 65 73 69 | 67 6e 61 74 65 0a 20 20 | to desi|gnate. |
|00004300| 20 20 20 20 20 20 74 68 | 65 20 75 6e 62 61 6c 61 | th|e unbala|
|00004310| 6e 63 65 64 20 6d 65 6d | 62 65 72 2e 0a 0a 5c 69 |nced mem|ber...\i|
|00004320| 74 65 6d 20 20 20 49 6c | 6c 65 67 61 6c 20 66 61 |tem Il|legal fa|
|00004330| 63 74 6f 72 20 69 6e 20 | 65 78 70 72 65 73 73 69 |ctor in |expressi|
|00004340| 6f 6e 0a 0a 20 20 20 20 | 20 20 20 20 54 68 65 20 |on.. | The |
|00004350| 65 78 70 72 65 73 73 69 | 6f 6e 20 70 61 72 73 65 |expressi|on parse|
|00004360| 72 20 65 78 70 65 63 74 | 65 64 20 74 6f 20 73 65 |r expect|ed to se|
|00004370| 65 20 61 6e 20 49 44 2c | 20 4e 4f 54 2c 20 6f 72 |e an ID,| NOT, or|
|00004380| 20 5c 7e 5c 2c 2e 0a 0a | 5c 69 74 65 6d 20 20 20 | \~\,...|\item |
|00004390| 45 78 70 65 63 74 65 64 | 20 40 45 4c 53 45 20 6f |Expected| @ELSE o|
|000043a0| 72 20 40 45 4e 44 0a 5c | 69 74 65 6d 20 20 20 45 |r @END.\|item E|
|000043b0| 78 70 65 63 74 65 64 20 | 40 45 4e 44 0a 5c 69 74 |xpected |@END.\it|
|000043c0| 65 6d 20 20 20 45 78 70 | 65 63 74 65 64 20 54 48 |em Exp|ected TH|
|000043d0| 45 4e 0a 5c 69 74 65 6d | 20 20 20 45 78 70 65 63 |EN.\item| Expec|
|000043e0| 74 65 64 20 45 4e 44 20 | 61 66 74 65 72 20 49 46 |ted END |after IF|
|000043f0| 2d 54 48 45 4e 0a 0a 20 | 20 20 20 20 20 20 20 53 |-THEN.. | S|
|00004400| 65 65 20 53 65 63 74 69 | 6f 6e 20 32 20 28 61 62 |ee Secti|on 2 (ab|
|00004410| 6f 76 65 29 2c 20 75 6e | 64 65 72 20 49 46 2d 53 |ove), un|der IF-S|
|00004420| 54 41 54 45 4d 45 4e 54 | 0a 0a 5c 69 74 65 6d 20 |TATEMENT|..\item |
|00004430| 20 20 45 78 70 65 63 74 | 65 64 20 2c 20 6f 72 20 | Expect|ed , or |
|00004440| 29 0a 5c 69 74 65 6d 20 | 20 20 45 78 70 65 63 74 |).\item | Expect|
|00004450| 65 64 20 49 64 65 6e 74 | 69 66 69 65 72 20 66 6f |ed Ident|ifier fo|
|00004460| 72 20 6d 61 63 72 6f 20 | 61 72 67 75 6d 65 6e 74 |r macro |argument|
|00004470| 20 6e 61 6d 65 0a 0a 20 | 20 20 20 20 20 20 20 53 | name.. | S|
|00004480| 65 65 20 53 65 63 74 69 | 6f 6e 20 32 20 28 61 62 |ee Secti|on 2 (ab|
|00004490| 6f 76 65 29 20 66 6f 72 | 20 6d 61 63 72 6f 20 69 |ove) for| macro i|
|000044a0| 6e 73 74 61 6e 63 65 73 | 2e 0a 0a 5c 69 74 65 6d |nstances|...\item|
|000044b0| 20 20 20 54 6f 6f 20 6d | 61 6e 79 20 61 72 67 75 | Too m|any argu|
|000044c0| 6d 65 6e 74 73 20 69 6e | 20 6d 61 63 72 6f 0a 0a |ments in| macro..|
|000044d0| 20 20 20 20 20 20 20 20 | 59 6f 75 20 6d 61 79 20 | |You may |
|000044e0| 6e 6f 74 20 73 75 70 70 | 6c 79 20 6d 6f 72 65 20 |not supp|ly more |
|000044f0| 61 72 67 75 6d 65 6e 74 | 73 20 74 6f 20 61 20 6d |argument|s to a m|
|00004500| 61 63 72 6f 20 74 68 61 | 6e 20 74 68 6f 73 65 20 |acro tha|n those |
|00004510| 67 69 76 65 6e 0a 20 20 | 20 20 20 20 20 20 69 6e |given. | in|
|00004520| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 2c | the def|inition,|
|00004530| 20 62 75 74 20 79 6f 75 | 20 6d 61 79 20 73 75 70 | but you| may sup|
|00004540| 70 6c 79 20 6c 65 73 73 | 2e 0a 0a 5c 69 74 65 6d |ply less|...\item|
|00004550| 20 20 20 41 72 67 75 6d | 65 6e 74 20 74 6f 20 6d | Argum|ent to m|
|00004560| 61 63 72 6f 20 6e 6f 74 | 20 74 65 72 6d 69 6e 61 |acro not| termina|
|00004570| 74 65 64 0a 0a 20 20 20 | 20 20 20 20 20 45 4f 46 |ted.. | EOF|
|00004580| 20 77 61 73 20 65 6e 63 | 6f 75 6e 74 65 72 65 64 | was enc|ountered|
|00004590| 20 62 65 66 6f 72 65 20 | 66 69 6e 64 69 6e 67 20 | before |finding |
|000045a0| 2c 20 6f 72 20 29 20 69 | 6e 20 61 20 6d 61 63 72 |, or ) i|n a macr|
|000045b0| 6f 20 69 6e 73 74 61 6e | 63 65 2e 0a 20 20 20 20 |o instan|ce.. |
|000045c0| 20 20 20 20 0a 5c 69 74 | 65 6d 20 20 20 4d 61 63 | .\it|em Mac|
|000045d0| 72 6f 20 64 65 66 69 6e | 69 74 69 6f 6e 20 6e 6f |ro defin|ition no|
|000045e0| 74 20 74 65 72 6d 69 6e | 61 74 65 64 20 77 69 74 |t termin|ated wit|
|000045f0| 68 20 40 45 4e 44 4d 0a | 0a 20 20 20 20 20 20 20 |h @ENDM.|. |
|00004600| 20 45 6e 64 20 4f 66 20 | 46 69 6c 65 20 77 61 73 | End Of |File was|
|00004610| 20 65 6e 63 6f 75 6e 74 | 65 72 65 64 20 69 6e 20 | encount|ered in |
|00004620| 61 20 6d 61 63 72 6f 20 | 64 65 66 69 6e 69 74 69 |a macro |definiti|
|00004630| 6f 6e 2e 0a 0a 5c 69 74 | 65 6d 20 20 20 49 6e 74 |on...\it|em Int|
|00004640| 65 72 6e 61 6c 20 46 61 | 69 6c 75 72 65 0a 0a 20 |ernal Fa|ilure.. |
|00004650| 20 20 20 20 20 20 20 41 | 6e 20 69 6e 74 65 72 6e | A|n intern|
|00004660| 61 6c 20 73 61 6e 69 74 | 79 20 63 68 65 63 6b 20 |al sanit|y check |
|00004670| 66 61 69 6c 65 64 2e 20 | 20 50 6c 65 61 73 65 20 |failed. | Please |
|00004680| 74 72 79 20 74 6f 20 72 | 65 70 6c 69 63 61 74 65 |try to r|eplicate|
|00004690| 20 61 6e 64 0a 20 20 20 | 20 20 20 20 20 74 68 65 | and. | the|
|000046a0| 6e 20 72 65 70 6f 72 74 | 20 61 6e 79 20 73 75 63 |n report| any suc|
|000046b0| 68 20 70 72 6f 62 6c 65 | 6d 73 2e 0a 0a 5c 65 6e |h proble|ms...\en|
|000046c0| 64 7b 69 74 65 6d 69 7a | 65 7d 0a 0a 25 3d 3d 3d |d{itemiz|e}..%===|
|000046d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000046e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000046f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004700| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004710| 3d 0a 0a 5c 73 65 63 74 | 69 6f 6e 7b 41 6d 69 67 |=..\sect|ion{Amig|
|00004720| 61 20 43 4c 49 20 52 65 | 74 75 72 6e 20 43 6f 64 |a CLI Re|turn Cod|
|00004730| 65 73 7d 0a 0a 5c 62 65 | 67 69 6e 7b 64 65 73 63 |es}..\be|gin{desc|
|00004740| 72 69 70 74 69 6f 6e 7d | 0a 0a 5c 69 74 65 6d 5b |ription}|..\item[|
|00004750| 35 3a 20 20 49 4f 45 72 | 72 6f 72 2c 5d 0a 20 20 |5: IOEr|ror,]. |
|00004760| 20 20 20 20 20 20 41 20 | 72 65 71 75 69 72 65 64 | A |required|
|00004770| 20 66 69 6c 65 20 63 6f | 75 6c 64 20 6e 6f 74 20 | file co|uld not |
|00004780| 62 65 20 6f 70 65 6e 65 | 64 2e 0a 20 20 20 20 20 |be opene|d.. |
|00004790| 20 20 20 0a 5c 69 74 65 | 6d 5b 31 30 3a 20 4e 6f | .\ite|m[10: No|
|000047a0| 4d 65 6d 6f 72 79 2c 5d | 0a 20 20 20 20 20 20 20 |Memory,]|. |
|000047b0| 20 43 6f 75 6c 64 20 6e | 6f 74 20 61 6c 6c 6f 63 | Could n|ot alloc|
|000047c0| 61 74 65 20 73 74 6f 72 | 61 67 65 20 66 6f 72 20 |ate stor|age for |
|000047d0| 61 20 64 79 6e 61 6d 69 | 63 20 6c 69 73 74 20 6e |a dynami|c list n|
|000047e0| 6f 64 65 2e 0a 0a 5c 69 | 74 65 6d 5b 31 35 3a 20 |ode...\i|tem[15: |
|000047f0| 45 72 72 6f 72 73 2c 5d | 0a 20 20 20 20 20 20 20 |Errors,]|. |
|00004800| 20 50 72 65 70 72 6f 63 | 65 73 73 69 6e 67 20 69 | Preproc|essing i|
|00004810| 73 20 63 6f 6d 70 6c 65 | 74 65 2c 20 62 75 74 20 |s comple|te, but |
|00004820| 74 68 65 72 65 20 77 65 | 72 65 20 65 72 72 6f 72 |there we|re error|
|00004830| 73 20 69 6e 20 74 68 65 | 20 66 69 6c 65 2e 0a 20 |s in the| file.. |
|00004840| 20 20 20 20 20 20 20 0a | 5c 69 74 65 6d 5b 32 30 | .|\item[20|
|00004850| 3a 20 42 61 64 50 61 72 | 61 6d 73 2c 5d 0a 20 20 |: BadPar|ams,]. |
|00004860| 20 20 20 20 20 20 55 6e | 72 65 63 6f 67 6e 69 7a | Un|recogniz|
|00004870| 61 62 6c 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e |able com|mand lin|
|00004880| 65 20 70 61 72 61 6d 65 | 74 65 72 73 0a 0a 5c 65 |e parame|ters..\e|
|00004890| 6e 64 7b 64 65 73 63 72 | 69 70 74 69 6f 6e 7d 0a |nd{descr|iption}.|
|000048a0| 0a 25 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.%======|========|
|000048b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000048c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000048d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000048e0| 3d 3d 3d 3d 3d 3d 0a 0a | 5c 73 65 63 74 69 6f 6e |======..|\section|
|000048f0| 7b 44 65 62 75 67 67 69 | 6e 67 20 46 65 61 74 75 |{Debuggi|ng Featu|
|00004900| 72 65 73 7d 0a 0a 4d 32 | 50 20 61 6c 73 6f 20 73 |res}..M2|P also s|
|00004910| 75 70 70 6f 72 74 73 20 | 66 6f 75 72 20 68 69 64 |upports |four hid|
|00004920| 64 65 6e 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |den comm|and line|
|00004930| 20 73 77 69 74 63 68 65 | 73 2c 20 54 4f 4b 45 4e | switche|s, TOKEN|
|00004940| 53 2c 20 54 52 41 43 45 | 52 44 50 2c 0a 53 59 4d |S, TRACE|RDP,.SYM|
|00004950| 54 41 42 2c 20 61 6e 64 | 20 4d 41 43 4c 49 53 54 |TAB, and| MACLIST|
|00004960| 2e 20 20 54 4f 4b 45 4e | 53 20 77 69 6c 6c 20 72 |. TOKEN|S will r|
|00004970| 65 70 6f 72 74 20 65 76 | 65 72 79 20 74 6f 6b 65 |eport ev|ery toke|
|00004980| 6e 20 72 65 63 6f 67 69 | 7a 65 64 20 62 79 20 74 |n recogi|zed by t|
|00004990| 68 65 20 0a 6c 65 78 69 | 63 61 6c 20 61 6e 61 6c |he .lexi|cal anal|
|000049a0| 79 7a 65 72 20 61 66 74 | 65 72 20 69 74 20 69 73 |yzer aft|er it is|
|000049b0| 20 72 65 63 6f 67 69 6e | 69 7a 65 64 2e 20 20 54 | recogin|ized. T|
|000049c0| 52 41 43 45 52 44 50 20 | 77 69 6c 6c 20 74 72 61 |RACERDP |will tra|
|000049d0| 63 65 20 63 61 6c 6c 73 | 20 69 6e 20 74 68 65 0a |ce calls| in the.|
|000049e0| 72 65 63 75 72 73 69 76 | 65 20 64 65 73 63 65 6e |recursiv|e descen|
|000049f0| 74 20 70 61 72 73 65 72 | 2e 20 20 53 59 4d 54 41 |t parser|. SYMTA|
|00004a00| 42 20 77 69 6c 6c 20 72 | 65 70 6f 72 74 20 61 6c |B will r|eport al|
|00004a10| 6c 20 61 63 63 65 73 73 | 65 73 20 74 6f 20 74 68 |l access|es to th|
|00004a20| 65 20 73 79 6d 62 6f 6c | 0a 74 61 62 6c 65 2e 20 |e symbol|.table. |
|00004a30| 20 4d 41 43 4c 49 53 54 | 20 77 69 6c 6c 20 72 65 | MACLIST| will re|
|00004a40| 70 6f 72 74 20 75 73 65 | 73 20 6f 66 20 74 68 65 |port use|s of the|
|00004a50| 20 4d 61 63 4c 69 73 74 | 73 20 6d 6f 64 75 6c 65 | MacList|s module|
|00004a60| 20 66 75 6e 63 74 69 6f | 6e 73 2e 0a 54 68 65 79 | functio|ns..They|
|00004a70| 20 6d 75 73 74 20 62 65 | 20 67 69 76 65 6e 20 61 | must be| given a|
|00004a80| 73 20 74 68 65 20 66 69 | 72 73 74 20 61 72 67 75 |s the fi|rst argu|
|00004a90| 6d 65 6e 74 73 20 61 6e | 64 20 6d 61 79 20 62 65 |ments an|d may be|
|00004aa0| 20 67 69 76 65 6e 20 69 | 6e 20 61 6e 79 20 6f 72 | given i|n any or|
|00004ab0| 64 65 72 2e 0a 0a 5c 62 | 65 67 69 6e 7b 71 75 6f |der...\b|egin{quo|
|00004ac0| 74 65 7d 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |te}\begi|n{verbat|
|00004ad0| 69 6d 7d 0a 3e 20 4d 32 | 50 20 54 52 41 43 45 52 |im}.> M2|P TRACER|
|00004ae0| 44 50 20 54 4f 4b 45 4e | 53 20 2d 20 54 4f 20 2d |DP TOKEN|S - TO -|
|00004af0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 5c |.\end{ve|rbatim}\|
|00004b00| 65 6e 64 7b 71 75 6f 74 | 65 7d 0a 0a 54 68 69 73 |end{quot|e}..This|
|00004b10| 20 77 69 6c 6c 20 72 65 | 61 64 20 66 72 6f 6d 20 | will re|ad from |
|00004b20| 74 68 65 20 73 74 61 6e | 64 61 72 64 20 69 6e 70 |the stan|dard inp|
|00004b30| 75 74 2c 20 61 6e 64 20 | 77 72 69 74 65 20 74 6f |ut, and |write to|
|00004b40| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 6f 75 | the sta|ndard ou|
|00004b50| 74 70 75 74 2c 0a 61 6e | 64 20 72 65 70 6f 72 74 |tput,.an|d report|
|00004b60| 20 74 6f 6b 65 6e 20 69 | 6e 66 6f 72 6d 61 74 69 | token i|nformati|
|00004b70| 6f 6e 20 61 6e 64 20 72 | 65 63 75 72 73 69 76 65 |on and r|ecursive|
|00004b80| 20 63 61 6c 6c 73 2e 0a | 0a 7b 5c 65 6d 20 4e 6f | calls..|.{\em No|
|00004b90| 74 65 3a 7d 20 20 66 6f | 72 20 70 65 72 66 6f 72 |te:} fo|r perfor|
|00004ba0| 6d 61 6e 63 65 2c 20 74 | 68 65 73 65 20 66 65 61 |mance, t|hese fea|
|00004bb0| 74 75 72 65 73 20 61 72 | 65 20 6f 70 74 69 6f 6e |tures ar|e option|
|00004bc0| 61 6c 20 61 74 20 63 6f | 6d 70 69 6c 65 20 74 69 |al at co|mpile ti|
|00004bd0| 6d 65 2e 20 20 0a 20 20 | 20 20 20 20 20 54 68 65 |me. . | The|
|00004be0| 20 63 6f 6d 70 69 6c 65 | 64 20 76 65 72 73 69 6f | compile|d versio|
|00004bf0| 6e 20 69 6e 63 6c 75 64 | 65 64 20 64 6f 65 73 20 |n includ|ed does |
|00004c00| 6e 6f 74 20 73 75 70 70 | 6f 72 74 20 74 68 65 73 |not supp|ort thes|
|00004c10| 65 20 6f 70 74 69 6f 6e | 73 2e 0a 20 20 20 20 20 |e option|s.. |
|00004c20| 20 20 54 6f 20 69 6e 63 | 6c 75 64 65 20 61 6e 79 | To inc|lude any|
|00004c30| 20 6f 6e 65 20 69 66 20 | 74 68 65 73 65 20 66 65 | one if |these fe|
|00004c40| 61 74 75 72 65 73 20 69 | 6e 20 61 20 72 65 63 6f |atures i|n a reco|
|00004c50| 6d 70 69 6c 61 74 69 6f | 6e 2c 20 73 69 6d 70 6c |mpilatio|n, simpl|
|00004c60| 79 0a 20 20 20 20 20 20 | 20 69 6e 63 6c 75 64 65 |y. | include|
|00004c70| 20 74 68 65 20 66 6c 61 | 67 20 44 45 42 55 47 20 | the fla|g DEBUG |
|00004c80| 77 69 74 68 20 74 68 65 | 20 4d 32 46 4c 41 47 53 |with the| M2FLAGS|
|00004c90| 20 69 6e 20 74 68 65 20 | 6d 61 6b 65 66 69 6c 65 | in the |makefile|
|00004ca0| 2e 0a 0a 25 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |...%====|========|
|00004cb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004cc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004cd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004ce0| 3d 3d 3d 3d 3d 3d 3d 3d | 0a 0a 5c 73 65 63 74 69 |========|..\secti|
|00004cf0| 6f 6e 7b 54 6f 20 44 6f | 7d 0a 0a 54 68 65 20 73 |on{To Do|}..The s|
|00004d00| 75 70 70 6f 72 74 20 66 | 6f 72 20 4d 32 41 6d 69 |upport f|or M2Ami|
|00004d10| 67 61 20 61 6e 64 20 42 | 65 6e 63 68 4d 61 72 6b |ga and B|enchMark|
|00004d20| 20 69 73 20 6e 6f 74 20 | 72 65 61 6c 6c 79 20 74 | is not |really t|
|00004d30| 68 65 72 65 20 77 69 74 | 68 20 74 68 65 0a 65 78 |here wit|h the.ex|
|00004d40| 63 65 70 74 69 6f 6e 20 | 6f 66 20 67 65 74 74 69 |ception |of getti|
|00004d50| 6e 67 20 61 20 66 65 77 | 20 63 6f 6d 70 69 6c 65 |ng a few| compile|
|00004d60| 72 20 64 69 72 65 63 74 | 69 76 65 73 20 72 69 67 |r direct|ives rig|
|00004d70| 68 74 2e 20 20 49 6d 70 | 6f 72 74 61 6e 74 20 74 |ht. Imp|ortant t|
|00004d80| 68 69 6e 67 73 0a 6c 69 | 6b 65 20 69 6e 74 65 72 |hings.li|ke inter|
|00004d90| 66 61 63 69 6e 67 20 74 | 6f 20 74 68 65 69 72 20 |facing t|o their |
|00004da0| 43 6f 6d 6d 61 6e 64 4c | 69 6e 65 2c 20 64 65 62 |CommandL|ine, deb|
|00004db0| 75 67 67 69 6e 67 2c 20 | 49 2f 4f 2c 20 61 6e 64 |ugging, |I/O, and|
|00004dc0| 20 52 75 6e 54 69 6d 65 | 0a 6c 69 62 72 61 72 69 | RunTime|.librari|
|00004dd0| 65 73 20 73 74 69 6c 6c | 20 6e 65 65 64 73 20 74 |es still| needs t|
|00004de0| 6f 20 62 65 20 72 65 73 | 6f 6c 76 65 64 2e 20 20 |o be res|olved. |
|00004df0| 49 20 64 6f 6e 27 74 20 | 68 61 76 65 20 65 69 74 |I don't |have eit|
|00004e00| 68 65 72 20 6f 66 20 74 | 68 65 73 65 0a 63 6f 6d |her of t|hese.com|
|00004e10| 70 69 6c 65 72 73 2c 20 | 73 6f 20 72 65 61 6c 6c |pilers, |so reall|
|00004e20| 79 20 63 6f 75 6c 64 6e | 20 6e 6f 74 20 64 6f 20 |y couldn| not do |
|00004e30| 6d 75 63 68 2e 0a 0a 25 | 3d 3d 3d 3d 3d 3d 3d 3d |much...%|========|
|00004e40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004e50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004e60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004e70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 0a 5c 73 |========|====..\s|
|00004e80| 65 63 74 69 6f 6e 7b 49 | 6d 70 6c 65 6d 65 6e 74 |ection{I|mplement|
|00004e90| 61 74 69 6f 6e 20 4e 6f | 74 65 73 7d 0a 0a 54 68 |ation No|tes}..Th|
|00004ea0| 65 20 4d 32 53 70 72 69 | 6e 74 20 76 65 72 73 69 |e M2Spri|nt versi|
|00004eb0| 6f 6e 20 69 73 20 6d 75 | 63 68 20 62 65 74 74 65 |on is mu|ch bette|
|00004ec0| 72 20 74 68 61 6e 20 74 | 68 65 20 54 44 49 20 76 |r than t|he TDI v|
|00004ed0| 65 72 73 69 6f 6e 2e 20 | 20 44 75 65 20 74 6f 20 |ersion. | Due to |
|00004ee0| 0a 74 68 65 20 77 61 79 | 20 54 44 49 27 73 20 52 |.the way| TDI's R|
|00004ef0| 75 6e 74 69 6d 65 20 6c | 69 62 72 61 72 79 20 69 |untime l|ibrary i|
|00004f00| 73 20 73 65 74 20 75 70 | 2c 20 73 6f 6d 65 20 66 |s set up|, some f|
|00004f10| 65 61 74 75 72 65 73 20 | 68 61 64 20 74 6f 20 62 |eatures |had to b|
|00004f20| 65 20 6c 65 66 74 0a 6f | 75 74 2e 20 20 54 6f 20 |e left.o|ut. To |
|00004f30| 62 65 20 73 70 65 63 69 | 66 69 63 2c 20 74 68 65 |be speci|fic, the|
|00004f40| 20 54 44 49 20 76 65 72 | 73 69 6f 6e 20 64 6f 65 | TDI ver|sion doe|
|00004f50| 73 20 6e 6f 74 20 74 72 | 61 70 20 43 74 72 6c 43 |s not tr|ap CtrlC|
|00004f60| 27 73 2c 20 6f 72 20 77 | 6f 72 6b 0a 66 72 6f 6d |'s, or w|ork.from|
|00004f70| 20 74 68 65 20 57 6f 72 | 6b 62 65 6e 63 68 2e 20 | the Wor|kbench. |
|00004f80| 20 41 6c 73 6f 2c 20 69 | 74 20 69 73 20 6c 61 72 | Also, i|t is lar|
|00004f90| 67 65 72 20 61 6e 64 20 | 73 6c 6f 77 65 72 20 74 |ger and |slower t|
|00004fa0| 68 61 6e 20 74 68 65 20 | 4d 32 53 70 72 69 6e 74 |han the |M2Sprint|
|00004fb0| 20 0a 76 65 72 73 69 6f | 6e 2e 0a 0a 25 3d 3d 3d | .versio|n...%===|
|00004fc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004fd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004fe0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004ff0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005000| 3d 0a 0a 5c 73 65 63 74 | 69 6f 6e 7b 50 6f 72 74 |=..\sect|ion{Port|
|00005010| 69 6e 67 7d 0a 0a 49 20 | 68 61 76 65 20 74 72 69 |ing}..I |have tri|
|00005020| 65 64 20 74 6f 20 61 76 | 6f 69 64 20 61 73 20 6d |ed to av|oid as m|
|00005030| 75 63 68 20 4f 53 20 61 | 6e 64 20 63 6f 6d 70 69 |uch OS a|nd compi|
|00005040| 6c 65 72 20 64 65 70 65 | 6e 64 65 6e 74 20 73 74 |ler depe|ndent st|
|00005050| 75 66 66 0a 61 73 20 70 | 6f 73 73 69 62 6c 65 2c |uff.as p|ossible,|
|00005060| 20 62 75 74 20 73 6f 6d | 65 20 74 68 69 6e 67 73 | but som|e things|
|00005070| 20 77 65 72 65 20 68 61 | 72 64 20 74 6f 20 6a 75 | were ha|rd to ju|
|00005080| 73 74 69 66 79 20 6c 6f | 73 69 6e 67 2e 20 20 54 |stify lo|sing. T|
|00005090| 68 69 73 0a 64 65 73 63 | 72 69 62 65 73 20 74 68 |his.desc|ribes th|
|000050a0| 65 20 6d 61 6a 6f 72 20 | 61 72 65 61 73 20 74 68 |e major |areas th|
|000050b0| 61 74 20 6d 61 79 20 6e | 65 65 64 20 6c 6f 6f 6b |at may n|eed look|
|000050c0| 69 6e 67 20 61 74 20 69 | 6e 20 6f 72 64 65 72 20 |ing at i|n order |
|000050d0| 74 6f 20 70 6f 72 74 20 | 4d 32 50 2e 0a 0a 5c 62 |to port |M2P...\b|
|000050e0| 65 67 69 6e 7b 69 74 65 | 6d 69 7a 65 7d 0a 20 5c |egin{ite|mize}. \|
|000050f0| 69 74 65 6d 20 54 68 65 | 20 41 72 67 73 20 6d 6f |item The| Args mo|
|00005100| 64 75 6c 65 20 6e 65 65 | 64 73 20 74 6f 20 62 65 |dule nee|ds to be|
|00005110| 20 61 62 6c 65 20 74 6f | 20 67 65 74 20 61 74 20 | able to| get at |
|00005120| 74 68 65 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |the comm|and line|
|00005130| 0a 20 20 20 20 20 20 20 | 61 72 67 75 6d 65 6e 74 |. |argument|
|00005140| 73 20 61 6e 64 20 70 61 | 72 73 65 20 74 68 65 6d |s and pa|rse them|
|00005150| 2e 20 20 49 74 20 75 73 | 65 73 20 73 70 65 63 69 |. It us|es speci|
|00005160| 61 6c 20 70 61 72 73 69 | 6e 67 20 6d 65 74 68 6f |al parsi|ng metho|
|00005170| 64 73 20 74 6f 0a 20 20 | 20 20 20 20 20 73 65 70 |ds to. | sep|
|00005180| 61 72 61 74 65 20 28 2c | 20 2d 2d 2c 20 61 6e 64 |arate (,| --, and|
|00005190| 20 29 27 73 20 66 72 6f | 6d 20 6f 74 68 65 72 20 | )'s fro|m other |
|000051a0| 61 72 67 75 6d 65 6e 74 | 73 2e 20 20 54 68 69 73 |argument|s. This|
|000051b0| 20 77 61 79 20 79 6f 75 | 20 63 61 6e 0a 20 20 20 | way you| can. |
|000051c0| 20 20 20 20 61 76 6f 69 | 64 20 68 69 74 74 69 6e | avoi|d hittin|
|000051d0| 67 20 74 68 65 20 73 70 | 61 63 65 20 62 61 72 20 |g the sp|ace bar |
|000051e0| 61 20 66 65 77 20 74 69 | 6d 65 73 2e 0a 20 20 20 |a few ti|mes.. |
|000051f0| 20 20 20 20 0a 20 20 20 | 20 20 20 20 49 66 20 79 | . | If y|
|00005200| 6f 75 72 20 63 6f 6d 70 | 69 6c 65 72 20 70 72 6f |our comp|iler pro|
|00005210| 76 69 64 65 73 20 74 68 | 65 20 43 2d 6c 69 6b 65 |vides th|e C-like|
|00005220| 20 61 72 67 76 20 61 6e | 64 20 61 72 67 63 20 76 | argv an|d argc v|
|00005230| 61 72 69 61 62 6c 65 73 | 2c 20 74 68 65 6e 0a 20 |ariables|, then. |
|00005240| 20 20 20 20 20 20 79 6f | 75 20 63 6f 75 6c 64 20 | yo|u could |
|00005250| 75 73 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |use the |followin|
|00005260| 67 20 63 6f 64 65 20 74 | 6f 20 66 65 65 64 20 74 |g code t|o feed t|
|00005270| 68 65 20 61 72 67 75 6d | 65 6e 74 73 20 74 6f 20 |he argum|ents to |
|00005280| 41 72 67 73 2e 0a 20 20 | 20 20 20 20 20 0a 5c 62 |Args.. | .\b|
|00005290| 65 67 69 6e 7b 71 75 6f | 74 65 7d 5c 62 65 67 69 |egin{quo|te}\begi|
|000052a0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 46 4f 52 20 |n{verbat|im}.FOR |
|000052b0| 69 3a 3d 30 20 54 4f 20 | 3c 4d 6f 64 75 6c 65 4e |i:=0 TO |<ModuleN|
|000052c0| 61 6d 65 3e 2e 61 72 67 | 63 2d 31 20 44 4f 0a 20 |ame>.arg|c-1 DO. |
|000052d0| 20 20 41 64 64 41 72 67 | 73 28 3c 4d 6f 64 75 6c | AddArg|s(<Modul|
|000052e0| 65 4e 61 6d 65 3e 2e 61 | 72 67 76 5b 69 5d 5e 29 |eName>.a|rgv[i]^)|
|000052f0| 3b 0a 45 4e 44 3b 20 0a | 5c 65 6e 64 7b 76 65 72 |;.END; .|\end{ver|
|00005300| 62 61 74 69 6d 7d 5c 65 | 6e 64 7b 71 75 6f 74 65 |batim}\e|nd{quote|
|00005310| 7d 0a 20 20 20 20 20 20 | 20 0a 20 20 20 20 20 20 |}. | . |
|00005320| 20 53 65 65 20 74 68 65 | 20 69 6e 74 65 72 6e 61 | See the| interna|
|00005330| 6c 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |l docume|ntation |
|00005340| 69 6e 20 41 72 67 73 20 | 66 6f 72 20 6d 6f 72 65 |in Args |for more|
|00005350| 20 64 65 74 61 69 6c 73 | 2e 0a 20 20 20 20 20 20 | details|.. |
|00005360| 20 0a 20 5c 69 74 65 6d | 20 49 4f 20 68 6f 75 73 | . \item| IO hous|
|00005370| 65 73 20 74 68 65 20 66 | 69 6c 65 20 68 61 6e 64 |es the f|ile hand|
|00005380| 6c 69 6e 67 20 73 74 75 | 66 66 2e 20 20 54 68 65 |ling stu|ff. The|
|00005390| 72 65 20 61 72 65 20 74 | 68 72 65 65 20 61 72 65 |re are t|hree are|
|000053a0| 61 73 20 6f 66 0a 20 20 | 20 20 20 20 20 69 6d 70 |as of. | imp|
|000053b0| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 64 65 70 65 |lementat|ion depe|
|000053c0| 6e 64 65 6e 74 20 63 6f | 64 65 2e 0a 20 20 20 20 |ndent co|de.. |
|000053d0| 20 20 20 0a 20 20 20 20 | 20 20 20 5c 62 65 67 69 | . | \begi|
|000053e0| 6e 7b 69 74 65 6d 69 7a | 65 7d 0a 20 20 20 20 20 |n{itemiz|e}. |
|000053f0| 20 20 0a 20 20 20 20 20 | 20 20 20 5c 69 74 65 6d | . | \item|
|00005400| 20 54 68 65 20 74 79 70 | 65 20 64 65 66 69 6e 69 | The typ|e defini|
|00005410| 74 69 6f 6e 20 6f 66 20 | 27 52 65 61 6c 46 69 6c |tion of |'RealFil|
|00005420| 65 54 79 70 65 27 2e 20 | 20 54 68 69 73 20 69 73 |eType'. | This is|
|00005430| 20 61 74 20 74 68 65 0a | 20 20 20 20 20 20 20 20 | at the.| |
|00005440| 20 20 20 20 20 20 74 6f | 70 20 6f 66 20 74 68 65 | to|p of the|
|00005450| 20 49 6d 70 6c 65 6d 65 | 6e 74 61 74 6f 6e 20 6d | Impleme|ntaton m|
|00005460| 6f 64 75 6c 65 2e 0a 20 | 20 20 20 20 20 20 20 20 |odule.. | |
|00005470| 20 20 20 20 20 0a 20 20 | 20 20 20 20 20 20 5c 69 | . | \i|
|00005480| 74 65 6d 20 41 66 74 65 | 72 20 61 6c 6c 20 74 68 |tem Afte|r all th|
|00005490| 65 20 69 6e 74 65 72 66 | 61 63 65 20 70 72 6f 63 |e interf|ace proc|
|000054a0| 65 64 75 72 65 73 2c 20 | 74 68 65 72 65 20 69 73 |edures, |there is|
|000054b0| 20 61 6e 20 0a 20 20 20 | 20 20 20 20 20 20 20 20 | an . | |
|000054c0| 20 20 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f | imple|mentatio|
|000054d0| 6e 20 64 65 70 65 6e 64 | 65 6e 74 20 73 65 63 74 |n depend|ent sect|
|000054e0| 69 6f 6e 20 6f 66 20 63 | 6f 64 65 20 74 68 61 74 |ion of c|ode that|
|000054f0| 20 68 6f 75 73 65 73 0a | 20 20 20 20 20 20 20 20 | houses.| |
|00005500| 20 20 20 20 20 20 61 6c | 6c 20 74 68 65 20 64 69 | al|l the di|
|00005510| 72 74 79 20 73 74 75 66 | 66 2c 20 73 75 63 68 20 |rty stuf|f, such |
|00005520| 61 73 3a 20 20 52 65 61 | 64 49 6e 66 6f 2c 20 46 |as: Rea|dInfo, F|
|00005530| 6c 75 73 68 2c 20 4f 53 | 4f 70 65 6e 2c 0a 20 20 |lush, OS|Open,. |
|00005540| 20 20 20 20 20 20 20 20 | 20 20 20 20 4f 53 43 72 | | OSCr|
|00005550| 65 61 74 65 2c 20 4f 53 | 41 70 70 65 6e 64 2c 20 |eate, OS|Append, |
|00005560| 4f 53 43 6c 6f 73 65 2c | 20 61 6e 64 20 4f 53 47 |OSClose,| and OSG|
|00005570| 6f 6f 64 46 69 6c 65 2e | 0a 20 20 20 20 20 20 20 |oodFile.|. |
|00005580| 20 20 20 20 20 20 20 0a | 20 20 20 20 20 20 20 20 | .| |
|00005590| 5c 69 74 65 6d 20 54 68 | 65 20 73 74 61 6e 64 61 |\item Th|e standa|
|000055a0| 72 64 20 49 2f 4f 20 63 | 68 61 6e 6e 65 6c 73 20 |rd I/O c|hannels |
|000055b0| 61 72 65 20 70 69 63 6b | 65 64 20 75 70 20 69 6e |are pick|ed up in|
|000055c0| 20 74 68 65 20 0a 20 20 | 20 20 20 20 20 20 20 20 | the . | |
|000055d0| 20 20 20 20 69 6e 69 61 | 6c 69 7a 61 74 69 6f 6e | inia|lization|
|000055e0| 20 63 6f 64 65 2e 0a 20 | 20 20 20 20 20 20 20 20 | code.. | |
|000055f0| 20 20 20 20 0a 20 20 20 | 20 20 20 20 5c 65 6e 64 | . | \end|
|00005600| 7b 69 74 65 6d 69 7a 65 | 7d 0a 20 20 20 20 20 20 |{itemize|}. |
|00005610| 20 20 20 20 20 20 20 20 | 0a 20 20 20 20 20 20 20 | |. |
|00005620| 49 20 70 6c 61 6e 20 74 | 6f 20 73 75 62 73 74 69 |I plan t|o substi|
|00005630| 74 75 74 65 20 74 68 65 | 20 73 74 61 6e 64 61 72 |tute the| standar|
|00005640| 64 20 4d 6f 64 75 6c 61 | 2d 32 20 49 2f 4f 20 6c |d Modula|-2 I/O l|
|00005650| 69 62 72 61 72 79 20 0a | 20 20 20 20 20 20 20 66 |ibrary .| f|
|00005660| 6f 72 20 74 68 69 73 20 | 6c 69 62 72 61 72 79 20 |or this |library |
|00005670| 69 6e 20 61 20 66 75 74 | 75 72 65 20 72 65 6c 65 |in a fut|ure rele|
|00005680| 61 73 65 2e 0a 0a 20 5c | 69 74 65 6d 20 54 68 65 |ase... \|item The|
|00005690| 20 45 6e 76 20 6d 6f 64 | 75 6c 65 20 75 73 65 73 | Env mod|ule uses|
|000056a0| 20 74 68 65 20 41 6d 69 | 67 61 20 73 70 65 63 69 | the Ami|ga speci|
|000056b0| 66 69 63 20 45 4e 56 3a | 20 68 61 6e 64 6c 65 72 |fic ENV:| handler|
|000056c0| 2e 20 20 50 6c 65 61 73 | 65 0a 20 20 20 20 20 20 |. Pleas|e. |
|000056d0| 20 69 6e 73 65 72 74 20 | 79 6f 75 72 20 6f 77 6e | insert |your own|
|000056e0| 20 6c 6f 63 61 6c 20 6d | 65 74 68 6f 64 20 66 6f | local m|ethod fo|
|000056f0| 72 20 67 65 74 65 6e 76 | 20 61 6e 64 20 73 65 74 |r getenv| and set|
|00005700| 65 6e 76 2e 0a 0a 20 5c | 69 74 65 6d 20 59 6f 75 |env... \|item You|
|00005710| 20 77 69 6c 6c 20 68 61 | 76 65 20 64 6f 20 73 6f | will ha|ve do so|
|00005720| 6d 65 20 73 69 6d 70 6c | 65 20 62 6f 6f 74 73 74 |me simpl|e bootst|
|00005730| 72 61 70 70 69 6e 67 20 | 74 6f 20 6d 6f 76 65 20 |rapping |to move |
|00005740| 74 68 69 73 20 63 6f 64 | 65 20 74 6f 0a 20 20 20 |this cod|e to. |
|00005750| 20 20 20 20 61 20 74 6f | 74 61 6c 6c 79 20 6e 65 | a to|tally ne|
|00005760| 77 20 70 6c 61 74 66 6f | 72 6d 2e 20 20 54 68 69 |w platfo|rm. Thi|
|00005770| 73 20 69 73 20 62 65 63 | 61 75 73 65 20 61 6c 6c |s is bec|ause all|
|00005780| 20 74 68 65 20 2e 6d 6f | 64 20 66 69 6c 65 73 20 | the .mo|d files |
|00005790| 68 65 72 65 0a 20 20 20 | 20 20 20 20 61 72 65 20 |here. | are |
|000057a0| 2e 6d 70 70 20 66 69 6c | 65 73 20 61 6e 64 20 68 |.mpp fil|es and h|
|000057b0| 61 76 65 20 74 6f 20 62 | 65 20 72 61 6e 20 74 68 |ave to b|e ran th|
|000057c0| 72 6f 75 67 68 20 4d 32 | 50 20 62 65 66 6f 72 65 |rough M2|P before|
|000057d0| 20 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 2e 0a 0a 20 | compila|tion... |
|000057e0| 20 20 20 20 20 20 54 6f | 20 62 6f 6f 74 73 74 72 | To| bootstr|
|000057f0| 61 70 20 4d 32 50 2c 20 | 75 73 65 20 74 68 65 20 |ap M2P, |use the |
|00005800| 2e 6d 6f 64 20 66 69 6c | 65 73 20 69 6e 20 74 68 |.mod fil|es in th|
|00005810| 65 20 27 6d 6f 64 73 27 | 20 73 75 62 64 69 72 65 |e 'mods'| subdire|
|00005820| 63 74 6f 72 79 2e 20 20 | 0a 20 20 20 20 20 20 20 |ctory. |. |
|00005830| 54 68 69 73 20 61 72 65 | 20 74 68 65 20 72 65 73 |This are| the res|
|00005840| 75 6c 74 73 20 73 74 72 | 61 69 67 68 74 20 66 72 |ults str|aight fr|
|00005850| 6f 6d 20 4d 32 50 20 77 | 69 74 68 20 74 68 65 20 |om M2P w|ith the |
|00005860| 66 6c 61 67 73 20 44 45 | 42 55 47 20 61 6e 64 20 |flags DE|BUG and |
|00005870| 0a 20 20 20 20 20 20 20 | 41 4d 49 47 41 2e 20 20 |. |AMIGA. |
|00005880| 4d 61 6b 65 20 74 68 65 | 20 63 68 61 6e 67 65 73 |Make the| changes|
|00005890| 20 6e 65 65 64 65 64 20 | 74 6f 0a 20 20 20 20 20 | needed |to. |
|000058a0| 20 20 67 65 74 20 4d 32 | 50 20 72 75 6e 6e 69 6e | get M2|P runnin|
|000058b0| 67 20 6f 6e 20 79 6f 75 | 72 20 74 61 72 67 65 74 |g on you|r target|
|000058c0| 20 73 79 73 74 65 6d 2c | 20 61 6e 64 20 62 65 20 | system,| and be |
|000058d0| 73 75 72 65 20 74 6f 20 | 77 72 69 74 65 20 74 68 |sure to |write th|
|000058e0| 65 6d 0a 20 20 20 20 20 | 20 20 64 6f 77 6e 2e 20 |em. | down. |
|000058f0| 20 57 68 65 6e 20 79 6f | 75 20 61 72 65 20 64 6f | When yo|u are do|
|00005900| 6e 65 2c 20 69 6e 63 6f | 72 70 6f 72 61 74 65 20 |ne, inco|rporate |
|00005910| 74 68 6f 73 65 20 63 68 | 61 6e 67 65 73 20 69 6e |those ch|anges in|
|00005920| 74 6f 20 74 68 65 20 0a | 20 20 20 20 20 20 20 6f |to the .| o|
|00005930| 72 69 67 69 6e 61 6c 20 | 2e 6d 70 70 20 66 69 6c |riginal |.mpp fil|
|00005940| 65 73 20 61 6e 64 20 72 | 65 6d 61 6b 65 20 74 68 |es and r|emake th|
|00005950| 65 20 73 79 73 74 65 6d | 2e 20 20 59 6f 75 20 77 |e system|. You w|
|00005960| 69 6c 6c 20 70 72 6f 62 | 61 62 6c 79 0a 20 20 20 |ill prob|ably. |
|00005970| 20 20 20 20 68 61 76 65 | 20 74 6f 20 64 65 66 69 | have| to defi|
|00005980| 6e 65 20 73 6f 6d 65 20 | 75 6e 69 71 75 65 20 66 |ne some |unique f|
|00005990| 6c 61 67 20 66 6f 72 20 | 79 6f 75 72 20 63 6f 6d |lag for |your com|
|000059a0| 70 69 6c 65 72 20 61 6e | 64 20 73 79 73 74 65 6d |piler an|d system|
|000059b0| 2e 0a 20 20 20 20 20 20 | 20 44 65 66 69 6e 65 20 |.. | Define |
|000059c0| 74 68 61 74 20 66 6c 61 | 67 20 69 6e 20 74 68 65 |that fla|g in the|
|000059d0| 20 4d 32 46 4c 41 47 53 | 20 76 61 72 69 61 62 6c | M2FLAGS| variabl|
|000059e0| 65 20 69 6e 20 74 68 65 | 20 4d 61 6b 65 66 69 6c |e in the| Makefil|
|000059f0| 65 2e 0a 20 20 20 20 20 | 20 0a 20 5c 69 74 65 6d |e.. | . \item|
|00005a00| 20 4d 6f 73 74 20 6f 66 | 20 74 68 65 20 2e 6d 70 | Most of| the .mp|
|00005a10| 70 20 66 69 6c 65 73 20 | 40 49 4e 43 4c 55 44 45 |p files |@INCLUDE|
|00005a20| 20 74 68 65 20 66 69 6c | 65 20 22 4d 41 43 52 4f | the fil|e "MACRO|
|00005a30| 53 22 20 20 54 68 69 73 | 20 66 69 6c 65 2c 20 61 |S" This| file, a|
|00005a40| 73 0a 20 20 20 20 20 20 | 20 74 68 65 20 6e 61 6d |s. | the nam|
|00005a50| 65 20 69 6d 70 6c 69 65 | 73 20 63 6f 6e 74 61 69 |e implie|s contai|
|00005a60| 6e 73 20 73 6f 6d 65 20 | 6d 61 63 72 6f 73 2e 20 |ns some |macros. |
|00005a70| 20 41 6c 6c 20 6f 66 20 | 74 68 65 73 65 20 6d 61 | All of |these ma|
|00005a80| 63 72 6f 73 20 0a 20 20 | 20 20 20 20 20 69 6e 76 |cros . | inv|
|00005a90| 6f 6c 76 65 20 74 68 65 | 20 69 6e 63 6c 75 73 69 |olve the| inclusi|
|00005aa0| 6f 6e 2f 65 78 63 6c 75 | 73 69 6f 6e 20 6f 66 20 |on/exclu|sion of |
|00005ab0| 63 6f 6d 70 69 6c 65 72 | 20 64 69 72 65 63 74 69 |compiler| directi|
|00005ac0| 76 65 73 20 73 69 6e 63 | 65 0a 20 20 20 20 20 20 |ves sinc|e. |
|00005ad0| 20 74 68 69 73 20 76 61 | 72 69 65 73 20 66 72 6f | this va|ries fro|
|00005ae0| 6d 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |m implem|entation|
|00005af0| 20 74 6f 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 | to impl|ementati|
|00005b00| 6f 6e 2e 20 20 45 64 69 | 74 20 74 68 65 0a 20 20 |on. Edi|t the. |
|00005b10| 20 20 20 20 20 6d 61 63 | 72 6f 73 20 61 73 20 6e | mac|ros as n|
|00005b20| 65 65 64 65 64 20 74 6f | 20 61 64 64 20 74 68 65 |eeded to| add the|
|00005b30| 20 70 72 6f 70 65 72 20 | 64 69 72 65 63 74 69 76 | proper |directiv|
|00005b40| 65 73 20 66 6f 72 20 79 | 6f 75 72 20 73 79 73 74 |es for y|our syst|
|00005b50| 65 6d 2e 0a 20 20 20 20 | 20 20 20 49 66 20 69 6e |em.. | If in|
|00005b60| 20 64 6f 75 62 74 2c 20 | 6e 6f 20 68 61 72 6d 20 | doubt, |no harm |
|00005b70| 69 73 20 64 6f 6e 65 20 | 69 66 20 6e 6f 20 64 69 |is done |if no di|
|00005b80| 72 65 63 74 69 76 65 73 | 20 61 72 65 20 69 6e 63 |rectives| are inc|
|00005b90| 6c 75 64 65 64 2c 0a 20 | 20 20 20 20 20 20 6a 75 |luded,. | ju|
|00005ba0| 73 74 20 73 6f 6d 65 20 | 72 75 6e 74 69 6d 65 20 |st some |runtime |
|00005bb0| 70 65 72 66 6f 72 6d 61 | 6e 63 65 20 6c 6f 73 73 |performa|nce loss|
|00005bc0| 2e 20 20 53 6f 6d 65 20 | 6f 66 20 74 68 65 20 63 |. Some |of the c|
|00005bd0| 6f 64 65 20 69 6e 20 22 | 4d 41 43 52 4f 53 22 0a |ode in "|MACROS".|
|00005be0| 20 20 20 20 20 20 20 61 | 6c 73 6f 20 73 65 72 76 | a|lso serv|
|00005bf0| 65 73 20 74 6f 20 63 6f | 6e 66 69 67 75 72 65 20 |es to co|nfigure |
|00005c00| 4d 32 50 20 64 79 6e 61 | 6d 69 63 61 6c 6c 79 20 |M2P dyna|mically |
|00005c10| 74 6f 20 74 68 65 20 73 | 79 73 74 65 6d 2e 0a 0a |to the s|ystem...|
|00005c20| 5c 65 6e 64 7b 69 74 65 | 6d 69 7a 65 7d 0a 0a 25 |\end{ite|mize}..%|
|00005c30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005c40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005c50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005c60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005c70| 3d 3d 3d 3d 0a 0a 5c 73 | 65 63 74 69 6f 6e 7b 52 |====..\s|ection{R|
|00005c80| 65 66 65 72 65 6e 63 65 | 73 20 61 6e 64 20 54 68 |eference|s and Th|
|00005c90| 61 6e 6b 73 7d 0a 0a 4d | 75 63 68 20 6f 66 20 74 |anks}..M|uch of t|
|00005ca0| 68 65 20 69 64 65 61 73 | 20 62 65 68 69 6e 64 20 |he ideas| behind |
|00005cb0| 4d 32 50 20 77 61 73 20 | 69 6e 73 70 69 72 65 64 |M2P was |inspired|
|00005cc0| 20 66 72 6f 6d 20 74 68 | 65 20 43 2d 50 72 65 70 | from th|e C-Prep|
|00005cd0| 72 6f 63 65 73 73 65 72 | 20 61 6e 64 20 0a 61 6c |rocesser| and .al|
|00005ce0| 73 6f 20 74 68 65 20 4d | 6f 64 75 6c 61 2d 32 20 |so the M|odula-2 |
|00005cf0| 70 72 65 70 72 6f 63 65 | 73 73 6f 72 20 73 75 70 |preproce|ssor sup|
|00005d00| 70 6c 69 65 64 20 77 69 | 74 68 20 74 68 65 20 59 |plied wi|th the Y|
|00005d10| 41 4d 4c 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |AML dist|ribution|
|00005d20| 20 0a 28 62 79 20 4f 6c | 73 65 6e 20 5c 26 20 41 | .(by Ol|sen \& A|
|00005d30| 73 73 6f 63 69 61 74 65 | 73 29 2e 0a 0a 25 3d 3d |ssociate|s)...%==|
|00005d40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005d50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005d60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005d70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005d80| 3d 3d 0a 0a 5c 73 65 63 | 74 69 6f 6e 7b 44 69 73 |==..\sec|tion{Dis|
|00005d90| 63 6c 61 69 6d 65 72 7d | 0a 0a 54 68 69 73 20 70 |claimer}|..This p|
|00005da0| 72 6f 67 72 61 6d 20 69 | 73 20 70 6c 61 63 65 64 |rogram i|s placed|
|00005db0| 20 69 6e 20 74 68 65 20 | 70 75 62 6c 69 63 20 64 | in the |public d|
|00005dc0| 6f 6d 61 69 6e 2c 20 61 | 6e 64 20 6d 61 79 20 62 |omain, a|nd may b|
|00005dd0| 65 20 75 73 65 64 20 6f | 72 20 64 69 73 74 72 69 |e used o|r distri|
|00005de0| 62 75 74 65 64 0a 61 73 | 20 79 6f 75 20 6c 69 6b |buted.as| you lik|
|00005df0| 65 2e 0a 49 66 20 79 6f | 75 20 6d 61 6b 65 20 75 |e..If yo|u make u|
|00005e00| 73 65 66 75 6c 20 63 68 | 61 6e 67 65 73 20 6f 72 |seful ch|anges or|
|00005e10| 20 62 75 67 20 66 69 78 | 65 73 20 74 6f 20 4d 32 | bug fix|es to M2|
|00005e20| 50 2c 20 0a 49 20 77 6f | 75 6c 64 20 6c 69 6b 65 |P, .I wo|uld like|
|00005e30| 20 74 6f 20 6b 6e 6f 77 | 20 61 62 6f 75 74 20 74 | to know| about t|
|00005e40| 68 65 6d 20 73 6f 20 74 | 68 65 79 20 6d 61 79 20 |hem so t|hey may |
|00005e50| 62 65 20 69 6e 63 6f 72 | 70 6f 72 61 74 65 64 20 |be incor|porated |
|00005e60| 69 6e 74 6f 20 66 75 74 | 75 72 65 0a 76 65 72 73 |into fut|ure.vers|
|00005e70| 69 6f 6e 73 2e 20 20 4d | 32 50 20 69 73 20 70 72 |ions. M|2P is pr|
|00005e80| 6f 76 69 64 65 64 20 6f | 6e 20 61 6e 20 61 73 2d |ovided o|n an as-|
|00005e90| 69 73 20 62 61 73 69 73 | 3b 20 20 49 20 61 73 73 |is basis|; I ass|
|00005ea0| 75 6d 65 20 6e 6f 20 72 | 65 73 70 6f 6e 73 69 62 |ume no r|esponsib|
|00005eb0| 69 6c 69 74 79 20 0a 66 | 6f 72 20 47 55 52 55 53 |ility .f|or GURUS|
|00005ec0| 2c 20 73 79 73 74 65 6d | 20 63 72 61 73 68 65 73 |, system| crashes|
|00005ed0| 2c 20 62 65 64 77 65 74 | 74 69 6e 67 73 2c 20 6f |, bedwet|tings, o|
|00005ee0| 72 20 66 61 69 6c 65 64 | 20 6d 61 72 72 69 61 67 |r failed| marriag|
|00005ef0| 65 73 20 64 75 65 20 74 | 6f 20 74 68 65 20 0a 75 |es due t|o the .u|
|00005f00| 73 65 20 6f 66 20 4d 32 | 50 2e 0a 0a 0a 5c 73 65 |se of M2|P....\se|
|00005f10| 63 74 69 6f 6e 7b 57 68 | 6f 41 6d 49 7d 0a 0a 5c |ction{Wh|oAmI}..\|
|00005f20| 62 65 67 69 6e 7b 74 61 | 62 62 69 6e 67 7d 0a 20 |begin{ta|bbing}. |
|00005f30| 20 20 20 20 20 20 20 44 | 65 6e 6e 69 73 20 42 72 | D|ennis Br|
|00005f40| 75 65 6e 69 5c 5c 0a 20 | 20 20 20 20 20 20 20 39 |ueni\\. | 9|
|00005f50| 30 30 20 47 6c 61 64 65 | 20 52 6f 61 64 2c 20 5c |00 Glade| Road, \|
|00005f60| 23 39 20 5c 5c 0a 20 20 | 20 20 20 20 20 20 42 6c |#9 \\. | Bl|
|00005f70| 61 63 6b 73 62 75 72 67 | 2c 20 56 41 20 32 34 30 |acksburg|, VA 240|
|00005f80| 36 30 20 5c 5c 0a 20 20 | 20 20 20 20 20 20 5c 5c |60 \\. | \\|
|00005f90| 0a 20 20 20 20 20 20 20 | 20 45 4d 3a 20 20 62 72 |. | EM: br|
|00005fa0| 75 65 6e 69 40 63 73 67 | 72 61 64 2e 63 73 2e 76 |ueni@csg|rad.cs.v|
|00005fb0| 74 2e 65 64 75 5c 5c 0a | 5c 65 6e 64 7b 74 61 62 |t.edu\\.|\end{tab|
|00005fc0| 62 69 6e 67 7d 0a 0a 49 | 66 20 79 6f 75 20 62 79 |bing}..I|f you by|
|00005fd0| 20 61 6e 79 20 63 68 61 | 6e 63 65 20 66 65 65 6c | any cha|nce feel|
|00005fe0| 20 67 75 69 6c 74 79 20 | 61 62 6f 75 74 20 67 65 | guilty |about ge|
|00005ff0| 74 74 69 6e 67 20 73 6f | 6d 65 74 68 69 6e 67 20 |tting so|mething |
|00006000| 66 6f 72 20 6e 6f 74 68 | 69 6e 67 2c 20 0a 74 68 |for noth|ing, .th|
|00006010| 65 6e 20 73 65 6e 64 20 | 61 20 70 69 63 74 75 72 |en send |a pictur|
|00006020| 65 20 6f 66 20 41 62 65 | 20 4c 69 6e 63 6f 6c 6e |e of Abe| Lincoln|
|00006030| 20 74 6f 20 6d 65 20 61 | 74 20 74 68 65 20 61 62 | to me a|t the ab|
|00006040| 6f 76 65 20 61 64 64 72 | 65 73 73 2c 20 61 6e 64 |ove addr|ess, and|
|00006050| 20 0a 77 65 27 6c 6c 20 | 62 6f 74 68 20 66 65 65 | .we'll |both fee|
|00006060| 6c 20 62 65 74 74 65 72 | 2e 20 20 24 5c 73 6d 69 |l better|. $\smi|
|00006070| 6c 65 24 0a 0a 5c 65 6e | 64 7b 64 6f 63 75 6d 65 |le$..\en|d{docume|
|00006080| 6e 74 7d 0a | |nt}. | |
+--------+-------------------------+-------------------------+--------+--------+