home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / PR03.LIS < prev    next >
File List  |  1992-05-27  |  14KB  |  470 lines

  1. FUNNELWEB LISTING FILE
  2. ======================
  3.  
  4. Dump of mapped file "<<Suppressed>>".
  5.  
  6. MEMORY DUMP OF MAPPED FILE
  7. ==========================
  8.  
  9. +-------------------------------------------------+------------------+
  10. | 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 0123456789ABCDEF |
  11. +-------------------------------------------------+------------------+
  12. | 50 52 30 33 3A 20 54 65 73 74 20 74 68 65 20 70 | PR03: Test the p |
  13. | 61 72 73 69 6E 67 20 61 6E 64 20 73 65 6D 61 6E | arsing and seman |
  14. | 74 69 63 73 20 6F 66 20 73 65 63 74 69 6F 6E 73 | tics of sections |
  15. | 2E 0A 0A 34 2E 20 54 65 73 74 20 66 69 72 73 74 | ...4. Test first |
  16. | 20 73 65 63 74 69 6F 6E 20 6F 66 20 64 6F 63 75 |  section of docu |
  17. | 6D 65 6E 74 20 69 73 20 6E 6F 74 20 3C 73 70 65 | ment is not <spe |
  18. | 63 69 61 6C 3E 41 2E 0A 40 42 40 3C 54 68 69 73 | cial>A..@B@<This |
  19. | 20 73 65 63 74 69 6F 6E 20 69 73 20 6F 75 74 20 |  section is out  |
  20. | 6F 66 20 6F 72 64 65 72 20 28 61 6E 64 20 73 6F | of order (and so |
  21. | 20 69 73 20 74 68 69 73 20 74 65 73 74 21 29 40 |  is this test!)@ |
  22. | 3E 0A 0A 31 2E 20 54 65 73 74 20 73 65 63 74 69 | >..1. Test secti |
  23. | 6F 6E 20 77 69 74 68 20 6E 6F 20 6E 61 6D 65 2E | on with no name. |
  24. | 0A 40 41 20 54 68 69 73 20 73 65 63 74 69 6F 6E | .@A This section |
  25. | 20 68 61 73 20 6E 6F 20 6E 61 6D 65 2E 0A 40 24 |  has no name..@$ |
  26. | 40 3C 54 68 65 20 73 65 63 74 69 6F 6E 20 6E 61 | @<The section na |
  27. | 6D 65 20 69 6E 68 65 72 69 74 73 20 74 68 65 20 | me inherits the  |
  28. | 6E 61 6D 65 20 6F 66 20 74 68 69 73 20 6D 61 63 | name of this mac |
  29. | 72 6F 40 3E 40 7B 57 61 6C 72 75 73 40 7D 0A 0A | ro@>@{Walrus@}.. |
  30. | 32 2E 20 54 65 73 74 20 73 65 63 74 69 6F 6E 20 | 2. Test section  |
  31. | 77 69 74 68 20 61 20 6E 61 6D 65 0A 40 41 40 3C | with a name.@A@< |
  32. | 54 68 69 73 20 73 65 63 74 69 6F 6E 20 68 61 73 | This section has |
  33. | 20 6E 6F 20 6E 61 6D 65 2E 40 3E 0A 0A 33 2E 20 |  no name.@>..3.  |
  34. | 54 65 73 74 20 74 68 65 20 65 6E 74 69 72 65 20 | Test the entire  |
  35. | 68 69 65 72 61 72 63 68 79 2E 0A 40 41 40 3C 4F | hierarchy..@A@<O |
  36. | 6E 65 40 3E 0A 40 42 40 3C 54 77 6F 40 3E 0A 40 | ne@>.@B@<Two@>.@ |
  37. | 43 40 3C 54 68 72 65 65 40 3E 0A 40 44 40 3C 46 | C@<Three@>.@D@<F |
  38. | 6F 75 72 40 3E 0A 40 45 40 3C 46 69 76 65 40 3E | our@>.@E@<Five@> |
  39. | 0A 0A 35 2E 20 54 65 73 74 20 64 65 74 65 63 74 | ..5. Test detect |
  40. | 69 6F 6E 20 6F 66 20 64 69 73 63 6F 6E 74 69 6E | ion of discontin |
  41. | 75 69 74 79 20 69 6E 20 6C 65 76 65 6C 73 2E 0A | uity in levels.. |
  42. | 40 41 40 3C 4F 6E 65 40 3E 0A 40 43 40 3C 54 68 | @A@<One@>.@C@<Th |
  43. | 72 65 65 40 3E 0A 40 45 40 3C 46 69 76 65 40 3E | ree@>.@E@<Five@> |
  44. | 0A 0A 40 41 40 3C 4F 6E 65 40 3E 0A 40 42 40 3C | ..@A@<One@>.@B@< |
  45. | 54 68 72 65 65 40 3E 0A 40 44 40 3C 46 69 76 65 | Three@>.@D@<Five |
  46. | 40 3E 0A                                        | @>.              |
  47. +-------------------------------------------------+------------------+
  48.  
  49.  
  50. =========================== Start of LINE LIST DUMP ============================
  51.  
  52. Globl Local| Text
  53. -----------+--------------------------------------------------------------------
  54. 00001 00001| PR03: Test the parsing and semantics of sections.<010>
  55. 00002 00002| <010>
  56. 00003 00003| 4. Test first section of document is not <special>A.<010>
  57. 00004 00004| @B@<This section is out of order (and so is this test!)@><010>
  58. 00005 00005| <010>
  59. 00006 00006| 1. Test section with no name.<010>
  60. 00007 00007| @A This section has no name.<010>
  61. 00008 00008| @$@<The section name inherits the name of this macro@>@{Walrus@}<010>
  62. 00009 00009| <010>
  63. 00010 00010| 2. Test section with a name<010>
  64. 00011 00011| @A@<This section has no name.@><010>
  65. 00012 00012| <010>
  66. 00013 00013| 3. Test the entire hierarchy.<010>
  67. 00014 00014| @A@<One@><010>
  68. 00015 00015| @B@<Two@><010>
  69. 00016 00016| @C@<Three@><010>
  70. 00017 00017| @D@<Four@><010>
  71. 00018 00018| @E@<Five@><010>
  72. 00019 00019| <010>
  73. 00020 00020| 5. Test detection of discontinuity in levels.<010>
  74. 00021 00021| @A@<One@><010>
  75. 00022 00022| @C@<Three@><010>
  76. 00023 00023| @E@<Five@><010>
  77. 00024 00024| <010>
  78. 00025 00025| @A@<One@><010>
  79. 00026 00026| @B@<Three@><010>
  80. 00027 00027| @D@<Five@><010>
  81. 00028 00028| <End-Of-File><010>
  82. -----------+--------------------------------------------------------------------
  83. Globl Local| Text
  84.  
  85. ============================ End of LINE LIST DUMP =============================
  86.  
  87.  
  88. =========================== Start of TOKEN LIST DUMP ===========================
  89.  
  90. Summary: There are 77 tokens in the token list.
  91.  
  92. Line[Column]: Token Description
  93. -------------------------------
  94.  
  95. 0001[01]: Text. Text scrap[Grey]="PR03: Test the parsing and semantics of sections.<010>
  96. <010>
  97. 4. Test first section of document is not <special>A.<010>
  98. "
  99. 0004[01]: @B New section (Level 2). 
  100. 0004[03]: @< Open name. 
  101. 0004[05]: Text. Text scrap[Grey]="This section is out of order (and so is this test!)"
  102. 0004[56]: @> Close name. 
  103. 0004[58]: Text. Text scrap[Grey]="<010>
  104. <010>
  105. 1. Test section with no name.<010>
  106. "
  107. 0007[01]: @A New section (Level 1). 
  108. 0007[03]: Text. Text scrap[Grey]=" This section has no name.<010>
  109. "
  110. 0008[01]: @$ Macro defn. 
  111. 0008[03]: @< Open name. 
  112. 0008[05]: Text. Text scrap[Grey]="The section name inherits the name of this macro"
  113. 0008[53]: @> Close name. 
  114. 0008[55]: @{ Open defn. 
  115. 0008[57]: Text. Text scrap[Grey]="Walrus"
  116. 0008[63]: @} Close defn. 
  117. 0008[65]: Text. Text scrap[Grey]="<010>
  118. <010>
  119. 2. Test section with a name<010>
  120. "
  121. 0011[01]: @A New section (Level 1). 
  122. 0011[03]: @< Open name. 
  123. 0011[05]: Text. Text scrap[Grey]="This section has no name."
  124. 0011[30]: @> Close name. 
  125. 0011[32]: Text. Text scrap[Grey]="<010>
  126. <010>
  127. 3. Test the entire hierarchy.<010>
  128. "
  129. 0014[01]: @A New section (Level 1). 
  130. 0014[03]: @< Open name. 
  131. 0014[05]: Text. Text scrap[Grey]="One"
  132. 0014[08]: @> Close name. 
  133. 0014[10]: Text. Text scrap[White]="<010>
  134. "
  135. 0015[01]: @B New section (Level 2). 
  136. 0015[03]: @< Open name. 
  137. 0015[05]: Text. Text scrap[Grey]="Two"
  138. 0015[08]: @> Close name. 
  139. 0015[10]: Text. Text scrap[White]="<010>
  140. "
  141. 0016[01]: @C New section (Level 3). 
  142. 0016[03]: @< Open name. 
  143. 0016[05]: Text. Text scrap[Grey]="Three"
  144. 0016[10]: @> Close name. 
  145. 0016[12]: Text. Text scrap[White]="<010>
  146. "
  147. 0017[01]: @D New section (Level 4). 
  148. 0017[03]: @< Open name. 
  149. 0017[05]: Text. Text scrap[Grey]="Four"
  150. 0017[09]: @> Close name. 
  151. 0017[11]: Text. Text scrap[White]="<010>
  152. "
  153. 0018[01]: @E New section (Level 5). 
  154. 0018[03]: @< Open name. 
  155. 0018[05]: Text. Text scrap[Grey]="Five"
  156. 0018[09]: @> Close name. 
  157. 0018[11]: Text. Text scrap[Grey]="<010>
  158. <010>
  159. 5. Test detection of discontinuity in levels.<010>
  160. "
  161. 0021[01]: @A New section (Level 1). 
  162. 0021[03]: @< Open name. 
  163. 0021[05]: Text. Text scrap[Grey]="One"
  164. 0021[08]: @> Close name. 
  165. 0021[10]: Text. Text scrap[White]="<010>
  166. "
  167. 0022[01]: @C New section (Level 3). 
  168. 0022[03]: @< Open name. 
  169. 0022[05]: Text. Text scrap[Grey]="Three"
  170. 0022[10]: @> Close name. 
  171. 0022[12]: Text. Text scrap[White]="<010>
  172. "
  173. 0023[01]: @E New section (Level 5). 
  174. 0023[03]: @< Open name. 
  175. 0023[05]: Text. Text scrap[Grey]="Five"
  176. 0023[09]: @> Close name. 
  177. 0023[11]: Text. Text scrap[White]="<010>
  178. <010>
  179. "
  180. 0025[01]: @A New section (Level 1). 
  181. 0025[03]: @< Open name. 
  182. 0025[05]: Text. Text scrap[Grey]="One"
  183. 0025[08]: @> Close name. 
  184. 0025[10]: Text. Text scrap[White]="<010>
  185. "
  186. 0026[01]: @B New section (Level 2). 
  187. 0026[03]: @< Open name. 
  188. 0026[05]: Text. Text scrap[Grey]="Three"
  189. 0026[10]: @> Close name. 
  190. 0026[12]: Text. Text scrap[White]="<010>
  191. "
  192. 0027[01]: @D New section (Level 4). 
  193. 0027[03]: @< Open name. 
  194. 0027[05]: Text. Text scrap[Grey]="Five"
  195. 0027[09]: @> Close name. 
  196. 0027[11]: Text. Text scrap[White]="<010>
  197. "
  198. 0028[01]: End Of File. 
  199. ============================ End of TOKEN LIST DUMP ============================
  200.  
  201.  
  202. ========================== Start of MACRO TABLE DUMP ===========================
  203.  
  204.  
  205. ------------------- Start of Macro Dump --------------------
  206. Macro Name  : "The section name inherits the name of this macro"
  207. Defined?    : Yes.
  208. Parameters  : 0
  209. Additive?   : No.
  210. Zero Calls? : No.
  211. Many Calls? : No.
  212. Output File?: No.
  213. Call list   :
  214. Macro body  :
  215.  
  216. --Start of List of Body Parts--
  217. This macro has 1 body part.
  218. Body part 1: Seqnum=1, Pos(L,C)=(8,3), Expression follows:
  219.  
  220. ---- Start of Expression ----
  221.  
  222. ----- Start Text Element -----
  223. Text scrap[Grey]="Walrus"
  224. ------ End Text Element ------
  225.  
  226. ----- End of Expression -----
  227.  
  228. ---End of List of Body Parts---
  229.  
  230. -------------------- End of Macro Dump ---------------------
  231.  
  232.  
  233.  
  234. =========================== End of MACRO TABLE DUMP ============================
  235.  
  236.  
  237. ========================= Start of DOCUMENT LIST DUMP ==========================
  238.  
  239.  
  240. TEXT COMPONENT: Pos(L,C)=(1,1). 
  241.  
  242. -- Start of Text Scrap List --
  243. Text scrap[Grey]="PR03: Test the parsing and semantics of sections.<010>
  244. <010>
  245. 4. Test first section of document is not <special>A.<010>
  246. "
  247. --- End of Text Scrap List ---
  248.  
  249.  
  250. TYPESETTER DIRECTIVE COMPONENT: 
  251.    Section "1.2", Section name="This section is out of order (and so is this test!)".
  252.  
  253. TEXT COMPONENT: Pos(L,C)=(4,58). 
  254.  
  255. -- Start of Text Scrap List --
  256. Text scrap[Grey]="<010>
  257. <010>
  258. 1. Test section with no name.<010>
  259. "
  260. --- End of Text Scrap List ---
  261.  
  262.  
  263. TYPESETTER DIRECTIVE COMPONENT: 
  264.    Section "2", Section name="The section name inherits the name of this macro".
  265.  
  266. TEXT COMPONENT: Pos(L,C)=(7,3). 
  267.  
  268. -- Start of Text Scrap List --
  269. Text scrap[Grey]=" This section has no name.<010>
  270. "
  271. --- End of Text Scrap List ---
  272.  
  273.  
  274. MACRO DEFINITION COMPONENT: Pos(L,C)=(8,1). 
  275. Part 1 of macro @<The section name inherits the name of this macro@>.
  276.  
  277. TEXT COMPONENT: Pos(L,C)=(8,65). 
  278.  
  279. -- Start of Text Scrap List --
  280. Text scrap[Grey]="<010>
  281. <010>
  282. 2. Test section with a name<010>
  283. "
  284. --- End of Text Scrap List ---
  285.  
  286.  
  287. TYPESETTER DIRECTIVE COMPONENT: 
  288.    Section "3", Section name="This section has no name.".
  289.  
  290. TEXT COMPONENT: Pos(L,C)=(11,32). 
  291.  
  292. -- Start of Text Scrap List --
  293. Text scrap[Grey]="<010>
  294. <010>
  295. 3. Test the entire hierarchy.<010>
  296. "
  297. --- End of Text Scrap List ---
  298.  
  299.  
  300. TYPESETTER DIRECTIVE COMPONENT: 
  301.    Section "4", Section name="One".
  302.  
  303. TEXT COMPONENT: Pos(L,C)=(14,10). 
  304.  
  305. -- Start of Text Scrap List --
  306. Text scrap[White]="<010>
  307. "
  308. --- End of Text Scrap List ---
  309.  
  310.  
  311. TYPESETTER DIRECTIVE COMPONENT: 
  312.    Section "4.1", Section name="Two".
  313.  
  314. TEXT COMPONENT: Pos(L,C)=(15,10). 
  315.  
  316. -- Start of Text Scrap List --
  317. Text scrap[White]="<010>
  318. "
  319. --- End of Text Scrap List ---
  320.  
  321.  
  322. TYPESETTER DIRECTIVE COMPONENT: 
  323.    Section "4.1.1", Section name="Three".
  324.  
  325. TEXT COMPONENT: Pos(L,C)=(16,12). 
  326.  
  327. -- Start of Text Scrap List --
  328. Text scrap[White]="<010>
  329. "
  330. --- End of Text Scrap List ---
  331.  
  332.  
  333. TYPESETTER DIRECTIVE COMPONENT: 
  334.    Section "4.1.1.1", Section name="Four".
  335.  
  336. TEXT COMPONENT: Pos(L,C)=(17,11). 
  337.  
  338. -- Start of Text Scrap List --
  339. Text scrap[White]="<010>
  340. "
  341. --- End of Text Scrap List ---
  342.  
  343.  
  344. TYPESETTER DIRECTIVE COMPONENT: 
  345.    Section "4.1.1.1.1", Section name="Five".
  346.  
  347. TEXT COMPONENT: Pos(L,C)=(18,11). 
  348.  
  349. -- Start of Text Scrap List --
  350. Text scrap[Grey]="<010>
  351. <010>
  352. 5. Test detection of discontinuity in levels.<010>
  353. "
  354. --- End of Text Scrap List ---
  355.  
  356.  
  357. TYPESETTER DIRECTIVE COMPONENT: 
  358.    Section "5", Section name="One".
  359.  
  360. TEXT COMPONENT: Pos(L,C)=(21,10). 
  361.  
  362. -- Start of Text Scrap List --
  363. Text scrap[White]="<010>
  364. "
  365. --- End of Text Scrap List ---
  366.  
  367.  
  368. TYPESETTER DIRECTIVE COMPONENT: 
  369.    Section "1.1.2", Section name="Three".
  370.  
  371. TEXT COMPONENT: Pos(L,C)=(22,12). 
  372.  
  373. -- Start of Text Scrap List --
  374. Text scrap[White]="<010>
  375. "
  376. --- End of Text Scrap List ---
  377.  
  378.  
  379. TYPESETTER DIRECTIVE COMPONENT: 
  380.    Section "1.1.1.1.2", Section name="Five".
  381.  
  382. TEXT COMPONENT: Pos(L,C)=(23,11). 
  383.  
  384. -- Start of Text Scrap List --
  385. Text scrap[White]="<010>
  386. <010>
  387. "
  388. --- End of Text Scrap List ---
  389.  
  390.  
  391. TYPESETTER DIRECTIVE COMPONENT: 
  392.    Section "2", Section name="One".
  393.  
  394. TEXT COMPONENT: Pos(L,C)=(25,10). 
  395.  
  396. -- Start of Text Scrap List --
  397. Text scrap[White]="<010>
  398. "
  399. --- End of Text Scrap List ---
  400.  
  401.  
  402. TYPESETTER DIRECTIVE COMPONENT: 
  403.    Section "2.1", Section name="Three".
  404.  
  405. TEXT COMPONENT: Pos(L,C)=(26,12). 
  406.  
  407. -- Start of Text Scrap List --
  408. Text scrap[White]="<010>
  409. "
  410. --- End of Text Scrap List ---
  411.  
  412.  
  413. TYPESETTER DIRECTIVE COMPONENT: 
  414.    Section "1.1.1.2", Section name="Five".
  415.  
  416. TEXT COMPONENT: Pos(L,C)=(27,11). 
  417.  
  418. -- Start of Text Scrap List --
  419. Text scrap[White]="<010>
  420. "
  421. --- End of Text Scrap List ---
  422.  
  423.  
  424. ========================== End of DOCUMENT LIST DUMP ===========================
  425.  
  426.  
  427. Global Local| Input File
  428. ------------+-------------------------------------------------------------------
  429.      1     1| PR03: Test the parsing and semantics of sections.
  430.      2     2| 
  431.      3     3| 4. Test first section of document is not <special>A.
  432.      4     4| @B@<This section is out of order (and so is this test!)@>
  433.        Error|.^The first section in a document must be an @A section.
  434.      5     5| 
  435.      6     6| 1. Test section with no name.
  436.      7     7| @A This section has no name.
  437.      8     8| @$@<The section name inherits the name of this macro@>@{Walrus@}
  438.      9     9| 
  439.     10    10| 2. Test section with a name
  440.     11    11| @A@<This section has no name.@>
  441.     12    12| 
  442.     13    13| 3. Test the entire hierarchy.
  443.     14    14| @A@<One@>
  444.     15    15| @B@<Two@>
  445.     16    16| @C@<Three@>
  446.     17    17| @D@<Four@>
  447.     18    18| @E@<Five@>
  448.     19    19| 
  449.     20    20| 5. Test detection of discontinuity in levels.
  450.     21    21| @A@<One@>
  451.             |.^The next section (at line 22) is too deep.
  452.     22    22| @C@<Three@>
  453.        Error|.^This section is more than one level deeper than the last
  454.             |.^section (at line 21). Example: @B followed by @D is not allowed.
  455.             |.^The next section (at line 23) is too deep.
  456.     23    23| @E@<Five@>
  457.        Error|.^This section is more than one level deeper than the last
  458.             |.^section (at line 22). Example: @B followed by @D is not allowed.
  459.     24    24| 
  460.     25    25| @A@<One@>
  461.     26    26| @B@<Three@>
  462.             |.^The next section (at line 27) is too deep.
  463.     27    27| @D@<Five@>
  464.        Error|.^This section is more than one level deeper than the last
  465.             |.^section (at line 26). Example: @B followed by @D is not allowed.
  466.             | <End-Of-File>
  467. ------------+-------------------------------------------------------------------
  468.  
  469. There were 4 Errors.
  470.