home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / SC23.LIS < prev    next >
File List  |  1992-05-27  |  9KB  |  189 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. | 53 43 32 33 3A 20 54 65 73 74 20 73 79 6E 74 61 | SC23: Test synta |
  13. | 78 20 63 68 65 63 6B 69 6E 67 20 6F 66 20 6F 75 | x checking of ou |
  14. | 74 70 75 74 20 6C 69 6E 65 20 6C 65 6E 67 74 68 | tput line length |
  15. | 20 70 72 61 67 6D 61 2E 0A 0A 31 2E 20 54 65 73 |  pragma...1. Tes |
  16. | 74 20 6E 6F 74 20 74 68 72 65 65 20 61 72 67 75 | t not three argu |
  17. | 6D 65 6E 74 73 2E 0A 40 70 20 6D 61 78 69 6D 75 | ments..@p maximu |
  18. | 6D 5F 6F 75 74 70 75 74 5F 6C 69 6E 65 5F 6C 65 | m_output_line_le |
  19. | 6E 67 74 68 0A 40 70 20 6D 61 78 69 6D 75 6D 5F | ngth.@p maximum_ |
  20. | 6F 75 74 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 | output_line_leng |
  21. | 74 68 20 3D 0A 40 70 20 6D 61 78 69 6D 75 6D 5F | th =.@p maximum_ |
  22. | 6F 75 74 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 | output_line_leng |
  23. | 74 68 20 3D 20 78 78 78 20 79 79 79 0A 0A 32 2E | th = xxx yyy..2. |
  24. | 20 54 65 73 74 20 73 65 63 6F 6E 64 20 61 72 67 |  Test second arg |
  25. | 75 6D 65 6E 74 20 6E 6F 74 20 22 3D 22 2E 0A 40 | ument not "="..@ |
  26. | 70 20 6D 61 78 69 6D 75 6D 5F 6F 75 74 70 75 74 | p maximum_output |
  27. | 5F 6C 69 6E 65 5F 6C 65 6E 67 74 68 20 78 20 73 | _line_length x s |
  28. | 6C 6F 74 68 0A 0A 33 2E 20 54 65 73 74 20 76 61 | loth..3. Test va |
  29. | 6C 75 65 20 6F 66 20 69 6E 66 69 6E 69 74 79 2E | lue of infinity. |
  30. | 0A 40 70 20 6D 61 78 69 6D 75 6D 5F 6F 75 74 70 | .@p maximum_outp |
  31. | 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 68 20 3D | ut_line_length = |
  32. | 20 69 6E 66 69 6E 69 74 79 0A 0A 34 2E 20 54 65 |  infinity..4. Te |
  33. | 73 74 20 6E 6F 6E 2D 64 65 63 69 6D 61 6C 20 64 | st non-decimal d |
  34. | 69 67 69 74 20 69 6E 20 6E 75 6D 62 65 72 2E 0A | igit in number.. |
  35. | 40 70 20 6D 61 78 69 6D 75 6D 5F 6F 75 74 70 75 | @p maximum_outpu |
  36. | 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 68 20 3D 20 | t_line_length =  |
  37. | 32 65 66 0A 0A 35 2E 20 54 65 73 74 20 6E 75 6D | 2ef..5. Test num |
  38. | 62 65 72 20 69 73 20 6D 6F 72 65 20 74 68 61 6E | ber is more than |
  39. | 20 65 69 67 68 74 20 64 69 67 69 74 73 20 6C 6F |  eight digits lo |
  40. | 6E 67 2E 0A 40 70 20 6D 61 78 69 6D 75 6D 5F 6F | ng..@p maximum_o |
  41. | 75 74 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 | utput_line_lengt |
  42. | 68 20 3D 20 31 32 33 34 35 36 37 38 39 0A 0A 36 | h = 123456789..6 |
  43. | 2E 20 54 65 73 74 20 6E 75 6D 62 65 72 20 69 73 | . Test number is |
  44. | 20 65 78 61 63 74 6C 79 20 65 69 67 68 74 20 64 |  exactly eight d |
  45. | 69 67 69 74 73 20 6C 6F 6E 67 2E 0A 37 2E 20 54 | igits long..7. T |
  46. | 65 73 74 20 70 72 61 67 6D 61 20 6F 70 70 6F 73 | est pragma oppos |
  47. | 69 6E 67 20 65 61 72 6C 69 65 72 20 70 72 61 67 | ing earlier prag |
  48. | 6D 61 2E 0A 40 70 20 6D 61 78 69 6D 75 6D 5F 6F | ma..@p maximum_o |
  49. | 75 74 70 75 74 5F 6C 69 6E 65 5F 6C 65 6E 67 74 | utput_line_lengt |
  50. | 68 20 3D 20 31 32 33 34 35 36 37 38 0A 0A 38 2E | h = 12345678..8. |
  51. | 20 54 65 73 74 20 70 72 61 67 6D 61 20 6E 6F 74 |  Test pragma not |
  52. | 20 6F 70 70 6F 73 69 6E 67 20 65 61 72 6C 69 65 |  opposing earlie |
  53. | 72 20 70 72 61 67 6D 61 2E 0A 40 70 20 6D 61 78 | r pragma..@p max |
  54. | 69 6D 75 6D 5F 6F 75 74 70 75 74 5F 6C 69 6E 65 | imum_output_line |
  55. | 5F 6C 65 6E 67 74 68 20 3D 20 69 6E 66 69 6E 69 | _length = infini |
  56. | 74 79 0A 0A                                     | ty..             |
  57. +-------------------------------------------------+------------------+
  58.  
  59.  
  60. =========================== Start of LINE LIST DUMP ============================
  61.  
  62. Globl Local| Text
  63. -----------+--------------------------------------------------------------------
  64. 00001 00001| SC23: Test syntax checking of output line length pragma.<010>
  65. 00002 00002| <010>
  66. 00003 00003| 1. Test not three arguments.<010>
  67. 00004 00004| @p maximum_output_line_length<010>
  68. 00005 00005| @p maximum_output_line_length =<010>
  69. 00006 00006| @p maximum_output_line_length = xxx yyy<010>
  70. 00007 00007| <010>
  71. 00008 00008| 2. Test second argument not "=".<010>
  72. 00009 00009| @p maximum_output_line_length x sloth<010>
  73. 00010 00010| <010>
  74. 00011 00011| 3. Test value of infinity.<010>
  75. 00012 00012| @p maximum_output_line_length = infinity<010>
  76. 00013 00013| <010>
  77. 00014 00014| 4. Test non-decimal digit in number.<010>
  78. 00015 00015| @p maximum_output_line_length = 2ef<010>
  79. 00016 00016| <010>
  80. 00017 00017| 5. Test number is more than eight digits long.<010>
  81. 00018 00018| @p maximum_output_line_length = 123456789<010>
  82. 00019 00019| <010>
  83. 00020 00020| 6. Test number is exactly eight digits long.<010>
  84. 00021 00021| 7. Test pragma opposing earlier pragma.<010>
  85. 00022 00022| @p maximum_output_line_length = 12345678<010>
  86. 00023 00023| <010>
  87. 00024 00024| 8. Test pragma not opposing earlier pragma.<010>
  88. 00025 00025| @p maximum_output_line_length = infinity<010>
  89. 00026 00026| <010>
  90. 00027 00027| <End-Of-File><010>
  91. -----------+--------------------------------------------------------------------
  92. Globl Local| Text
  93.  
  94. ============================ End of LINE LIST DUMP =============================
  95.  
  96.  
  97. =========================== Start of TOKEN LIST DUMP ===========================
  98.  
  99. Summary: There are 9 tokens in the token list.
  100.  
  101. Line[Column]: Token Description
  102. -------------------------------
  103.  
  104. 0001[01]: Text. Text scrap[Grey]="SC23: Test syntax checking of output line length pragma.<010>
  105. <010>
  106. 1. Test not three arguments.<010>
  107. "
  108. 0007[01]: Text. Text scrap[Grey]="<010>
  109. 2. Test second argument not "=".<010>
  110. "
  111. 0010[01]: Text. Text scrap[Grey]="<010>
  112. 3. Test value of infinity.<010>
  113. "
  114. 0013[01]: Text. Text scrap[Grey]="<010>
  115. 4. Test non-decimal digit in number.<010>
  116. "
  117. 0016[01]: Text. Text scrap[Grey]="<010>
  118. 5. Test number is more than eight digits long.<010>
  119. "
  120. 0019[01]: Text. Text scrap[Grey]="<010>
  121. 6. Test number is exactly eight digits long.<010>
  122. 7. Test pragma opposing earlier pragma.<010>
  123. "
  124. 0023[01]: Text. Text scrap[Grey]="<010>
  125. 8. Test pragma not opposing earlier pragma.<010>
  126. "
  127. 0026[01]: Text. Text scrap[White]="<010>
  128. "
  129. 0027[01]: End Of File. 
  130. ============================ End of TOKEN LIST DUMP ============================
  131.  
  132. Macro table dump skipped (Parser was not invoked).
  133. Document list dump skipped (Parser was not invoked).
  134.  
  135. Global Local| Input File
  136. ------------+-------------------------------------------------------------------
  137.      1     1| SC23: Test syntax checking of output line length pragma.
  138.      2     2| 
  139.      3     3| 1. Test not three arguments.
  140.      4     4| @p maximum_output_line_length
  141.        Error|.^This pragma has the wrong number of arguments.
  142.             |.^The correct format is: "@p maximum_output_line_length = <num>|infinity".
  143.             |.^Pragma ignored.
  144.      5     5| @p maximum_output_line_length =
  145.        Error|.^This pragma has the wrong number of arguments.
  146.             |.^The correct format is: "@p maximum_output_line_length = <num>|infinity".
  147.             |.^Pragma ignored.
  148.      6     6| @p maximum_output_line_length = xxx yyy
  149.        Error|.^This pragma has the wrong number of arguments.
  150.             |.^The correct format is: "@p maximum_output_line_length = <num>|infinity".
  151.             |.^Pragma ignored.
  152.      7     7| 
  153.      8     8| 2. Test second argument not "=".
  154.      9     9| @p maximum_output_line_length x sloth
  155.             |.^The correct format is: "@p maximum_output_line_length = <num>|infinity".
  156.             |.^Pragma ignored.
  157.        Error|...............................^Expecting "=".
  158.     10    10| 
  159.     11    11| 3. Test value of infinity.
  160.     12    12| @p maximum_output_line_length = infinity
  161.             |.^This pragma is opposed by the pragma at line 22.
  162.     13    13| 
  163.     14    14| 4. Test non-decimal digit in number.
  164.     15    15| @p maximum_output_line_length = 2ef
  165.        Error|..................................^Illegal digit. Value must consist entirely of decimal digits.
  166.             |..................................^You can also use the value "infinity".
  167.             |..................................^Pragma ignored.
  168.     16    16| 
  169.     17    17| 5. Test number is more than eight digits long.
  170.     18    18| @p maximum_output_line_length = 123456789
  171.        Error|.................................^Too many digits. The maximum is eight.
  172.             |.................................^Pragma ignored.
  173.     19    19| 
  174.     20    20| 6. Test number is exactly eight digits long.
  175.     21    21| 7. Test pragma opposing earlier pragma.
  176.     22    22| @p maximum_output_line_length = 12345678
  177.        Error|.^This pragma opposes the pragma at line 12.
  178.             |.^You can have as many output line length pragmas
  179.             |.^as you like, but they all have to be the same!
  180.             |.^Pragma ignored.
  181.     23    23| 
  182.     24    24| 8. Test pragma not opposing earlier pragma.
  183.     25    25| @p maximum_output_line_length = infinity
  184.     26    26| 
  185.             | <End-Of-File>
  186. ------------+-------------------------------------------------------------------
  187.  
  188. There were 7 Errors.
  189.