home *** CD-ROM | disk | FTP | other *** search
/ Mega Top 1 / os2_top1.zip / os2_top1 / APPS / TEKST / FUNNEL_S / ANSWERS / SC27.LIS < prev    next >
File List  |  1992-05-27  |  6KB  |  146 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 37 3A 20 54 65 73 74 20 73 79 6E 74 61 | SC27: Test synta |
  13. | 78 20 63 68 65 63 6B 69 6E 67 20 6F 66 20 76 73 | x checking of vs |
  14. | 6B 69 70 20 74 79 70 65 73 65 74 74 69 6E 67 20 | kip typesetting  |
  15. | 64 69 72 65 63 74 69 76 65 2E 0A 0A 31 2E 20 54 | directive...1. T |
  16. | 65 73 74 20 6E 6F 74 20 65 78 61 63 74 6C 79 20 | est not exactly  |
  17. | 74 68 72 65 65 20 61 72 67 75 6D 65 6E 74 73 20 | three arguments  |
  18. | 28 69 6E 63 6C 75 64 65 73 20 76 73 6B 69 70 29 | (includes vskip) |
  19. | 2E 0A 40 74 20 76 73 6B 69 70 0A 40 74 20 76 73 | ..@t vskip.@t vs |
  20. | 6B 69 70 20 6F 6E 65 0A 40 74 20 76 73 6B 69 70 | kip one.@t vskip |
  21. | 20 6F 6E 65 20 74 77 6F 20 74 68 72 65 65 20 66 |  one two three f |
  22. | 6F 75 72 0A 0A 32 2E 20 54 65 73 74 20 74 68 69 | our..2. Test thi |
  23. | 72 64 20 61 72 67 75 6D 65 6E 74 20 6E 6F 74 20 | rd argument not  |
  24. | 22 6D 6D 22 2E 0A 40 74 20 76 73 6B 69 70 20 33 | "mm"..@t vskip 3 |
  25. | 32 20 78 78 0A 0A 33 2E 20 54 65 73 74 20 73 65 | 2 xx..3. Test se |
  26. | 63 6F 6E 64 20 61 72 67 75 6D 65 6E 74 20 68 61 | cond argument ha |
  27. | 73 20 62 61 64 20 64 69 67 69 74 2E 0A 40 74 20 | s bad digit..@t  |
  28. | 76 73 6B 69 70 20 33 66 20 6D 6D 0A 0A 34 2E 20 | vskip 3f mm..4.  |
  29. | 54 65 73 74 20 6E 75 6D 62 65 72 20 68 61 73 20 | Test number has  |
  30. | 6D 6F 72 65 20 74 68 61 6E 20 74 68 72 65 65 20 | more than three  |
  31. | 64 69 67 69 74 73 0A 0A 40 74 20 76 73 6B 69 70 | digits..@t vskip |
  32. | 20 34 33 35 35 20 6D 6D 0A 0A 35 2E 20 54 65 73 |  4355 mm..5. Tes |
  33. | 74 20 61 20 6C 65 67 61 6C 20 6F 6E 65 20 74 6F | t a legal one to |
  34. | 6F 2E 0A 40 74 20 76 73 6B 69 70 20 32 30 20 6D | o..@t vskip 20 m |
  35. | 6D 0A 0A                                        | m..              |
  36. +-------------------------------------------------+------------------+
  37.  
  38.  
  39. =========================== Start of LINE LIST DUMP ============================
  40.  
  41. Globl Local| Text
  42. -----------+--------------------------------------------------------------------
  43. 00001 00001| SC27: Test syntax checking of vskip typesetting directive.<010>
  44. 00002 00002| <010>
  45. 00003 00003| 1. Test not exactly three arguments (includes vskip).<010>
  46. 00004 00004| @t vskip<010>
  47. 00005 00005| @t vskip one<010>
  48. 00006 00006| @t vskip one two three four<010>
  49. 00007 00007| <010>
  50. 00008 00008| 2. Test third argument not "mm".<010>
  51. 00009 00009| @t vskip 32 xx<010>
  52. 00010 00010| <010>
  53. 00011 00011| 3. Test second argument has bad digit.<010>
  54. 00012 00012| @t vskip 3f mm<010>
  55. 00013 00013| <010>
  56. 00014 00014| 4. Test number has more than three digits<010>
  57. 00015 00015| <010>
  58. 00016 00016| @t vskip 4355 mm<010>
  59. 00017 00017| <010>
  60. 00018 00018| 5. Test a legal one too.<010>
  61. 00019 00019| @t vskip 20 mm<010>
  62. 00020 00020| <010>
  63. 00021 00021| <End-Of-File><010>
  64. -----------+--------------------------------------------------------------------
  65. Globl Local| Text
  66.  
  67. ============================ End of LINE LIST DUMP =============================
  68.  
  69.  
  70. =========================== Start of TOKEN LIST DUMP ===========================
  71.  
  72. Summary: There are 8 tokens in the token list.
  73.  
  74. Line[Column]: Token Description
  75. -------------------------------
  76.  
  77. 0001[01]: Text. Text scrap[Grey]="SC27: Test syntax checking of vskip typesetting directive.<010>
  78. <010>
  79. 1. Test not exactly three arguments (includes vskip).<010>
  80. "
  81. 0007[01]: Text. Text scrap[Grey]="<010>
  82. 2. Test third argument not "mm".<010>
  83. "
  84. 0010[01]: Text. Text scrap[Grey]="<010>
  85. 3. Test second argument has bad digit.<010>
  86. "
  87. 0013[01]: Text. Text scrap[Grey]="<010>
  88. 4. Test number has more than three digits<010>
  89. <010>
  90. "
  91. 0017[01]: Text. Text scrap[Grey]="<010>
  92. 5. Test a legal one too.<010>
  93. "
  94. 0019[01]: @t.. Vertical skip. Vertical space skipped=20mm.
  95. 0020[01]: Text. Text scrap[White]="<010>
  96. "
  97. 0021[01]: End Of File. 
  98. ============================ End of TOKEN LIST DUMP ============================
  99.  
  100. Macro table dump skipped (Parser was not invoked).
  101. Document list dump skipped (Parser was not invoked).
  102.  
  103. Global Local| Input File
  104. ------------+-------------------------------------------------------------------
  105.      1     1| SC27: Test syntax checking of vskip typesetting directive.
  106.      2     2| 
  107.      3     3| 1. Test not exactly three arguments (includes vskip).
  108.      4     4| @t vskip
  109.        Error|.^This directive has the wrong number of arguments.
  110.             |.^The correct format is: "@t vskip <num> mm".
  111.             |.^Directive ignored.
  112.      5     5| @t vskip one
  113.        Error|.^This directive has the wrong number of arguments.
  114.             |.^The correct format is: "@t vskip <num> mm".
  115.             |.^Directive ignored.
  116.      6     6| @t vskip one two three four
  117.        Error|.^This directive has the wrong number of arguments.
  118.             |.^The correct format is: "@t vskip <num> mm".
  119.             |.^Directive ignored.
  120.      7     7| 
  121.      8     8| 2. Test third argument not "mm".
  122.      9     9| @t vskip 32 xx
  123.             |.^The correct format is: "@t vskip <num> mm".
  124.             |.^Directive ignored.
  125.        Error|.............^Expecting "mm".
  126.     10    10| 
  127.     11    11| 3. Test second argument has bad digit.
  128.     12    12| @t vskip 3f mm
  129.        Error|...........^Illegal digit.
  130.             |...........^Value must consist entirely of decimal digits.
  131.             |...........^Directive ignored.
  132.     13    13| 
  133.     14    14| 4. Test number has more than three digits
  134.     15    15| 
  135.     16    16| @t vskip 4355 mm
  136.        Error|..........^Too many digits. The maximum is three.
  137.             |..........^Directive ignored.
  138.     17    17| 
  139.     18    18| 5. Test a legal one too.
  140.     19    19| @t vskip 20 mm
  141.     20    20| 
  142.             | <End-Of-File>
  143. ------------+-------------------------------------------------------------------
  144.  
  145. There were 6 Errors.
  146.