| 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 31 36 3A 20 54 65 73 74 20 3C 73 70 65 63 | SC16: Test <spec | |
| 13 |
| 69 61 6C 3E 5E 20 73 65 71 75 65 6E 63 65 2E 0A | ial>^ sequence.. | |
| 14 |
| 0A 31 2E 20 54 65 73 74 20 74 68 61 74 20 61 6C | .1. Test that al | |
| 15 |
| 6C 20 62 61 73 65 20 63 68 61 72 61 63 74 65 72 | l base character | |
| 16 |
| 73 20 77 6F 72 6B 20 28 69 6E 20 62 6F 74 68 20 | s work (in both | |
| 17 |
| 63 61 73 65 73 29 2E 0A 20 20 20 54 68 65 73 65 | cases).. These | |
| 18 |
| 20 73 68 6F 75 6C 64 20 70 72 6F 76 6F 6B 65 20 | should provoke | |
| 19 |
| 6E 6F 20 65 72 72 6F 72 73 2E 0A 0A 20 20 20 40 | no errors... @ | |
| 20 |
| 5E 42 28 30 30 30 30 30 30 30 30 29 20 20 20 40 | ^B(00000000) @ | |
| 21 |
| 5E 62 28 30 30 30 30 30 30 30 30 29 0A 20 20 20 | ^b(00000000). | |
| 22 |
| 40 5E 4F 28 30 30 30 29 20 20 20 40 5E 6F 28 30 | @^O(000) @^o(0 | |
| 23 |
| 30 30 29 0A 20 20 20 40 5E 51 28 30 30 30 29 20 | 00). @^Q(000) | |
| 24 |
| 20 20 40 5E 71 28 30 30 30 29 0A 20 20 20 40 5E | @^q(000). @^ | |
| 25 |
| 44 28 30 30 30 29 20 20 20 40 5E 64 28 30 30 30 | D(000) @^d(000 | |
| 26 |
| 29 0A 20 20 20 40 5E 48 28 30 30 29 20 20 20 20 | ). @^H(00) | |
| 27 |
| 40 5E 68 28 30 30 29 0A 20 20 20 40 5E 58 28 30 | @^h(00). @^X(0 | |
| 28 |
| 30 29 20 20 20 20 40 5E 78 28 30 30 29 0A 0A 32 | 0) @^x(00)..2 | |
| 29 |
| 2E 20 54 65 73 74 20 74 68 61 74 20 73 6F 6D 65 | . Test that some | |
| 30 |
| 20 6F 74 68 65 72 20 62 61 73 65 20 63 68 61 72 | other base char | |
| 31 |
| 61 63 74 65 72 73 20 67 65 6E 65 72 61 74 65 20 | acters generate | |
| 32 |
| 61 6E 20 65 72 72 6F 72 2E 0A 0A 20 20 20 40 5E | an error... @^ | |
| 33 |
| 75 28 30 29 0A 20 20 20 40 5E 79 0A 20 20 20 40 | u(0). @^y. @ | |
| 34 |
| 5E 23 0A 20 20 20 40 5E 28 0A 0A 33 2E 20 54 65 | ^#. @^(..3. Te | |
| 35 |
| 73 74 20 74 68 61 74 20 61 6E 20 65 72 72 6F 72 | st that an error | |
| 36 |
| 20 69 73 20 67 65 6E 65 72 61 74 65 64 20 69 66 | is generated if | |
| 37 |
| 20 70 61 72 65 6E 74 68 65 73 69 73 20 69 73 20 | parenthesis is | |
| 38 |
| 6D 69 73 73 69 6E 67 2E 0A 0A 20 20 20 40 5E 44 | missing... @^D | |
| 39 |
| 33 34 29 0A 0A 34 2E 20 54 65 73 74 20 6C 65 67 | 34)..4. Test leg | |
| 40 |
| 61 6C 20 64 69 67 69 74 73 20 69 6E 20 65 61 63 | al digits in eac | |
| 41 |
| 68 20 62 61 73 65 2E 0A 0A 20 20 20 40 5E 42 28 | h base... @^B( | |
| 42 |
| 30 30 30 30 31 31 31 31 29 0A 20 20 20 40 5E 4F | 00001111). @^O | |
| 43 |
| 28 30 31 32 29 20 20 40 5E 4F 28 30 33 34 29 20 | (012) @^O(034) | |
| 44 |
| 40 5E 4F 28 30 35 36 29 20 40 5E 4F 28 30 37 37 | @^O(056) @^O(077 | |
| 45 |
| 29 0A 20 20 20 40 5E 44 28 30 31 32 29 20 20 40 | ). @^D(012) @ | |
| 46 |
| 5E 44 28 30 33 34 29 20 40 5E 44 28 30 35 36 29 | ^D(034) @^D(056) | |
| 47 |
| 20 40 5E 44 28 30 37 38 29 20 40 5E 44 28 30 39 | @^D(078) @^D(09 | |
| 48 |
| 39 29 0A 20 20 20 40 5E 48 28 30 31 29 20 40 5E | 9). @^H(01) @^ | |
| 49 |
| 48 28 32 33 29 20 40 5E 48 28 34 35 29 20 40 5E | H(23) @^H(45) @^ | |
| 50 |
| 48 28 36 37 29 0A 20 20 20 40 5E 48 28 38 39 29 | H(67). @^H(89) | |
| 51 |
| 20 40 5E 48 28 41 42 29 20 40 5E 58 28 43 44 29 | @^H(AB) @^X(CD) | |
| 52 |
| 20 40 5E 58 28 45 46 29 20 20 40 5E 78 28 61 66 | @^X(EF) @^x(af | |
| 53 |
| 29 0A 0A 35 2E 20 54 65 73 74 20 69 6C 6C 65 67 | )..5. Test illeg | |
| 54 |
| 61 6C 20 64 69 67 69 74 73 20 69 6E 20 65 61 63 | al digits in eac | |
| 55 |
| 68 20 62 61 73 65 2E 0A 0A 20 20 20 40 5E 42 28 | h base... @^B( | |
| 56 |
| 30 30 30 30 30 30 30 32 29 0A 20 20 20 40 5E 4F | 00000002). @^O | |
| 57 |
| 28 30 30 38 29 0A 20 20 20 40 5E 44 28 30 30 41 | (008). @^D(00A | |
| 58 |
| 29 0A 20 20 20 40 5E 48 28 30 47 29 0A 0A 36 2E | ). @^H(0G)..6. | |
| 59 |
| 20 54 65 73 74 20 77 68 61 74 20 68 61 70 70 65 | Test what happe | |
| 60 |
| 6E 73 20 69 66 20 74 68 65 72 65 20 61 72 65 20 | ns if there are | |
| 61 |
| 74 68 65 20 77 72 6F 6E 67 20 6E 75 6D 62 65 72 | the wrong number | |
| 62 |
| 20 6F 66 20 64 69 67 69 74 73 0A 20 20 20 28 74 | of digits. (t | |
| 63 |
| 6F 6F 20 66 65 77 2C 20 74 6F 6F 20 6D 61 6E 79 | oo few, too many | |
| 64 |
| 29 2E 0A 0A 20 20 20 40 5E 42 28 31 29 0A 20 20 | )... @^B(1). | |
| 65 |
| 20 40 5E 4F 28 31 29 0A 20 20 20 40 5E 44 28 31 | @^O(1). @^D(1 | |
| 66 |
| 29 0A 20 20 20 40 5E 48 28 31 29 0A 0A 20 20 20 | ). @^H(1).. | |
| 67 |
| 40 5E 42 28 30 30 30 30 30 30 30 30 31 29 0A 20 | @^B(000000001). | |
| 68 |
| 20 20 40 5E 4F 28 30 30 30 34 29 0A 20 20 20 40 | @^O(0004). @ | |
| 69 |
| 5E 44 28 30 30 30 31 29 0A 20 20 20 40 5E 48 28 | ^D(0001). @^H( | |
| 70 |
| 30 30 35 29 0A 0A 37 2E 20 54 65 73 74 20 74 68 | 005)..7. Test th | |
| 71 |
| 61 74 20 61 6E 20 65 72 72 6F 72 20 69 73 20 67 | at an error is g | |
| 72 |
| 65 6E 65 72 61 74 65 64 20 66 6F 72 20 61 20 6D | enerated for a m | |
| 73 |
| 69 73 73 69 6E 67 20 63 6C 6F 73 69 6E 67 20 70 | issing closing p | |
| 74 |
| 61 72 65 6E 74 68 65 73 69 73 2E 0A 0A 20 20 40 | arenthesis... @ | |
| 75 |
| 5E 42 28 30 30 30 30 30 30 30 30 0A 20 20 40 5E | ^B(00000000. @^ | |
| 76 |
| 44 28 30 34 35 28 0A 0A 38 2E 20 54 65 73 74 20 | D(045(..8. Test | |
| 77 |
| 77 68 61 74 20 68 61 70 70 65 6E 73 20 69 6E 20 | what happens in | |
| 78 |
| 6E 75 6D 62 65 72 20 69 73 20 6F 75 74 20 6F 66 | number is out of | |
| 79 |
| 20 74 68 65 20 72 61 6E 67 65 20 5B 30 2C 32 35 | the range [0,25 | |
| 80 |
| 35 5D 2E 0A 0A 20 20 40 5E 44 28 32 35 35 29 0A | 5]... @^D(255). | |
| 81 |
| 20 20 40 5E 44 28 32 35 36 29 0A 20 20 40 5E 44 | @^D(256). @^D | |
| 82 |
| 28 39 39 39 29 0A 0A | (999).. | |
| 83 |
+-------------------------------------------------+------------------+ |
| 84 |
|
| 85 |
|
| 86 |
=========================== Start of LINE LIST DUMP ============================ |
| 87 |
|
| 88 |
Globl Local| Text |
| 89 |
-----------+-------------------------------------------------------------------- |
| 90 |
00001 00001| SC16: Test <special>^ sequence.<010> |
| 91 |
00002 00002| <010> |
| 92 |
00003 00003| 1. Test that all base characters work (in both cases).<010> |
| 93 |
00004 00004| These should provoke no errors.<010> |
| 94 |
00005 00005| <010> |
| 95 |
00006 00006| @^B(00000000) @^b(00000000)<010> |
| 96 |
00007 00007| @^O(000) @^o(000)<010> |
| 97 |
00008 00008| @^Q(000) @^q(000)<010> |
| 98 |
00009 00009| @^D(000) @^d(000)<010> |
| 99 |
00010 00010| @^H(00) @^h(00)<010> |
| 100 |
00011 00011| @^X(00) @^x(00)<010> |
| 101 |
00012 00012| <010> |
| 102 |
00013 00013| 2. Test that some other base characters generate an error.<010> |
| 103 |
00014 00014| <010> |
| 104 |
00015 00015| @^u(0)<010> |
| 105 |
00016 00016| @^y<010> |
| 106 |
00017 00017| @^#<010> |
| 107 |
00018 00018| @^(<010> |
| 108 |
00019 00019| <010> |
| 109 |
00020 00020| 3. Test that an error is generated if parenthesis is missing.<010> |
| 110 |
00021 00021| <010> |
| 111 |
00022 00022| @^D34)<010> |
| 112 |
00023 00023| <010> |
| 113 |
00024 00024| 4. Test legal digits in each base.<010> |
| 114 |
00025 00025| <010> |
| 115 |
00026 00026| @^B(00001111)<010> |
| 116 |
00027 00027| @^O(012) @^O(034) @^O(056) @^O(077)<010> |
| 117 |
00028 00028| @^D(012) @^D(034) @^D(056) @^D(078) @^D(099)<010> |
| 118 |
00029 00029| @^H(01) @^H(23) @^H(45) @^H(67)<010> |
| 119 |
00030 00030| @^H(89) @^H(AB) @^X(CD) @^X(EF) @^x(af)<010> |
| 120 |
00031 00031| <010> |
| 121 |
00032 00032| 5. Test illegal digits in each base.<010> |
| 122 |
00033 00033| <010> |
| 123 |
00034 00034| @^B(00000002)<010> |
| 124 |
00035 00035| @^O(008)<010> |
| 125 |
00036 00036| @^D(00A)<010> |
| 126 |
00037 00037| @^H(0G)<010> |
| 127 |
00038 00038| <010> |
| 128 |
00039 00039| 6. Test what happens if there are the wrong number of digits<010> |
| 129 |
00040 00040| (too few, too many).<010> |
| 130 |
00041 00041| <010> |
| 131 |
00042 00042| @^B(1)<010> |
| 132 |
00043 00043| @^O(1)<010> |
| 133 |
00044 00044| @^D(1)<010> |
| 134 |
00045 00045| @^H(1)<010> |
| 135 |
00046 00046| <010> |
| 136 |
00047 00047| @^B(000000001)<010> |
| 137 |
00048 00048| @^O(0004)<010> |
| 138 |
00049 00049| @^D(0001)<010> |
| 139 |
00050 00050| @^H(005)<010> |
| 140 |
00051 00051| <010> |
| 141 |
00052 00052| 7. Test that an error is generated for a missing closing parenthesis.<010> |
| 142 |
00053 00053| <010> |
| 143 |
00054 00054| @^B(00000000<010> |
| 144 |
00055 00055| @^D(045(<010> |
| 145 |
00056 00056| <010> |
| 146 |
00057 00057| 8. Test what happens in number is out of the range [0,255].<010> |
| 147 |
00058 00058| <010> |
| 148 |
00059 00059| @^D(255)<010> |
| 149 |
00060 00060| @^D(256)<010> |
| 150 |
00061 00061| @^D(999)<010> |
| 151 |
00062 00062| <010> |
| 152 |
00063 00063| <End-Of-File><010> |
| 153 |
-----------+-------------------------------------------------------------------- |
| 154 |
Globl Local| Text |
| 155 |
|
| 156 |
============================ End of LINE LIST DUMP ============================= |
| 157 |
|
| 158 |
|
| 159 |
=========================== Start of TOKEN LIST DUMP =========================== |
| 160 |
|
| 161 |
Summary: There are 87 tokens in the token list. |
| 162 |
|
| 163 |
Line[Column]: Token Description |
| 164 |
------------------------------- |
| 165 |
|
| 166 |
0001[01]: Text. Text scrap[Grey]="SC16: Test <special>^ sequence.<010> |
| 167 |
<010> |
| 168 |
1. Test that all base characters work (in both cases).<010> |
| 169 |
These should provoke no errors.<010> |
| 170 |
<010> |
| 171 |
" |
| 172 |
0006[04]: Text. Text scrap[Grey]="<000>" |
| 173 |
0006[17]: Text. Text scrap[White]=" " |
| 174 |
0006[20]: Text. Text scrap[Grey]="<000>" |
| 175 |
0006[33]: Text. Text scrap[White]="<010> |
| 176 |
" |
| 177 |
0007[04]: Text. Text scrap[Grey]="<000>" |
| 178 |
0007[12]: Text. Text scrap[White]=" " |
| 179 |
0007[15]: Text. Text scrap[Grey]="<000>" |
| 180 |
0007[23]: Text. Text scrap[White]="<010> |
| 181 |
" |
| 182 |
0008[04]: Text. Text scrap[Grey]="<000>" |
| 183 |
0008[12]: Text. Text scrap[White]=" " |
| 184 |
0008[15]: Text. Text scrap[Grey]="<000>" |
| 185 |
0008[23]: Text. Text scrap[White]="<010> |
| 186 |
" |
| 187 |
0009[04]: Text. Text scrap[Grey]="<000>" |
| 188 |
0009[12]: Text. Text scrap[White]=" " |
| 189 |
0009[15]: Text. Text scrap[Grey]="<000>" |
| 190 |
0009[23]: Text. Text scrap[White]="<010> |
| 191 |
" |
| 192 |
0010[04]: Text. Text scrap[Grey]="<000>" |
| 193 |
0010[11]: Text. Text scrap[White]=" " |
| 194 |
0010[15]: Text. Text scrap[Grey]="<000>" |
| 195 |
0010[22]: Text. Text scrap[White]="<010> |
| 196 |
" |
| 197 |
0011[04]: Text. Text scrap[Grey]="<000>" |
| 198 |
0011[11]: Text. Text scrap[White]=" " |
| 199 |
0011[15]: Text. Text scrap[Grey]="<000>" |
| 200 |
0011[22]: Text. Text scrap[Grey]="<010> |
| 201 |
<010> |
| 202 |
2. Test that some other base characters generate an error.<010> |
| 203 |
<010> |
| 204 |
" |
| 205 |
0015[07]: Text. Text scrap[Grey]="(0)<010> |
| 206 |
" |
| 207 |
0016[07]: Text. Text scrap[White]="<010> |
| 208 |
" |
| 209 |
0017[07]: Text. Text scrap[White]="<010> |
| 210 |
" |
| 211 |
0018[07]: Text. Text scrap[Grey]="<010> |
| 212 |
<010> |
| 213 |
3. Test that an error is generated if parenthesis is missing.<010> |
| 214 |
<010> |
| 215 |
" |
| 216 |
0022[08]: Text. Text scrap[Grey]="4)<010> |
| 217 |
<010> |
| 218 |
4. Test legal digits in each base.<010> |
| 219 |
<010> |
| 220 |
" |
| 221 |
0026[04]: Text. Text scrap[Grey]="<015>" |
| 222 |
0026[17]: Text. Text scrap[White]="<010> |
| 223 |
" |
| 224 |
0027[04]: Text. Text scrap[Grey]="<010> |
| 225 |
" |
| 226 |
0027[12]: Text. Text scrap[White]=" " |
| 227 |
0027[14]: Text. Text scrap[Grey]="<028>" |
| 228 |
0027[22]: Text. Text scrap[White]=" " |
| 229 |
0027[23]: Text. Text scrap[Grey]="." |
| 230 |
0027[31]: Text. Text scrap[White]=" " |
| 231 |
0027[32]: Text. Text scrap[Grey]="?" |
| 232 |
0027[40]: Text. Text scrap[White]="<010> |
| 233 |
" |
| 234 |
0028[04]: Text. Text scrap[Grey]="<012>" |
| 235 |
0028[12]: Text. Text scrap[White]=" " |
| 236 |
0028[14]: Text. Text scrap[Grey]=""" |
| 237 |
0028[22]: Text. Text scrap[White]=" " |
| 238 |
0028[23]: Text. Text scrap[Grey]="8" |
| 239 |
0028[31]: Text. Text scrap[White]=" " |
| 240 |
0028[32]: Text. Text scrap[Grey]="N" |
| 241 |
0028[40]: Text. Text scrap[White]=" " |
| 242 |
0028[41]: Text. Text scrap[Grey]="c" |
| 243 |
0028[49]: Text. Text scrap[White]="<010> |
| 244 |
" |
| 245 |
0029[04]: Text. Text scrap[Grey]="<001>" |
| 246 |
0029[11]: Text. Text scrap[White]=" " |
| 247 |
0029[12]: Text. Text scrap[Grey]="#" |
| 248 |
0029[19]: Text. Text scrap[White]=" " |
| 249 |
0029[20]: Text. Text scrap[Grey]="E" |
| 250 |
0029[27]: Text. Text scrap[White]=" " |
| 251 |
0029[28]: Text. Text scrap[Grey]="g" |
| 252 |
0029[35]: Text. Text scrap[White]="<010> |
| 253 |
" |
| 254 |
0030[04]: Text. Text scrap[Grey]="<137>" |
| 255 |
0030[11]: Text. Text scrap[White]=" " |
| 256 |
0030[12]: Text. Text scrap[Grey]="<171>" |
| 257 |
0030[19]: Text. Text scrap[White]=" " |
| 258 |
0030[20]: Text. Text scrap[Grey]="<205>" |
| 259 |
0030[27]: Text. Text scrap[White]=" " |
| 260 |
0030[28]: Text. Text scrap[Grey]="<239>" |
| 261 |
0030[35]: Text. Text scrap[White]=" " |
| 262 |
0030[37]: Text. Text scrap[Grey]="<175>" |
| 263 |
0030[44]: Text. Text scrap[Grey]="<010> |
| 264 |
<010> |
| 265 |
5. Test illegal digits in each base.<010> |
| 266 |
<010> |
| 267 |
" |
| 268 |
0034[16]: Text. Text scrap[Grey]=")<010> |
| 269 |
" |
| 270 |
0035[11]: Text. Text scrap[Grey]=")<010> |
| 271 |
" |
| 272 |
0036[11]: Text. Text scrap[Grey]=")<010> |
| 273 |
" |
| 274 |
0037[10]: Text. Text scrap[Grey]=")<010> |
| 275 |
<010> |
| 276 |
6. Test what happens if there are the wrong number of digits<010> |
| 277 |
(too few, too many).<010> |
| 278 |
<010> |
| 279 |
" |
| 280 |
0042[10]: Text. Text scrap[White]="<010> |
| 281 |
" |
| 282 |
0043[10]: Text. Text scrap[White]="<010> |
| 283 |
" |
| 284 |
0044[10]: Text. Text scrap[White]="<010> |
| 285 |
" |
| 286 |
0045[10]: Text. Text scrap[White]="<010> |
| 287 |
<010> |
| 288 |
" |
| 289 |
0047[17]: Text. Text scrap[Grey]=")<010> |
| 290 |
" |
| 291 |
0048[12]: Text. Text scrap[Grey]=")<010> |
| 292 |
" |
| 293 |
0049[12]: Text. Text scrap[Grey]=")<010> |
| 294 |
" |
| 295 |
0050[11]: Text. Text scrap[Grey]=")<010> |
| 296 |
<010> |
| 297 |
7. Test that an error is generated for a missing closing parenthesis.<010> |
| 298 |
<010> |
| 299 |
" |
| 300 |
0055[01]: Text. Text scrap[White]=" " |
| 301 |
0055[11]: Text. Text scrap[Grey]="<010> |
| 302 |
<010> |
| 303 |
8. Test what happens in number is out of the range [0,255].<010> |
| 304 |
<010> |
| 305 |
" |
| 306 |
0059[03]: Text. Text scrap[Grey]="<255>" |
| 307 |
0059[11]: Text. Text scrap[White]="<010> |
| 308 |
" |
| 309 |
0060[11]: Text. Text scrap[White]="<010> |
| 310 |
" |
| 311 |
0061[11]: Text. Text scrap[White]="<010> |
| 312 |
<010> |
| 313 |
" |
| 314 |
0063[01]: End Of File. |
| 315 |
============================ End of TOKEN LIST DUMP ============================ |
| 316 |
|
| 317 |
Macro table dump skipped (Parser was not invoked). |
| 318 |
Document list dump skipped (Parser was not invoked). |
| 319 |
|
| 320 |
Global Local| Input File |
| 321 |
------------+------------------------------------------------------------------- |
| 322 |
1 1| SC16: Test <special>^ sequence. |
| 323 |
2 2| |
| 324 |
3 3| 1. Test that all base characters work (in both cases). |
| 325 |
4 4| These should provoke no errors. |
| 326 |
5 5| |
| 327 |
6 6| @^B(00000000) @^b(00000000) |
| 328 |
7 7| @^O(000) @^o(000) |
| 329 |
8 8| @^Q(000) @^q(000) |
| 330 |
9 9| @^D(000) @^d(000) |
| 331 |
10 10| @^H(00) @^h(00) |
| 332 |
11 11| @^X(00) @^x(00) |
| 333 |
12 12| |
| 334 |
13 13| 2. Test that some other base characters generate an error. |
| 335 |
14 14| |
| 336 |
15 15| @^u(0) |
| 337 |
Error|......^Expecting one of 'B', 'Q', 'D', 'H'. |
| 338 |
|......^(For Binary, Octal, Decimal, and Hexadecimal). |
| 339 |
|......^A decimal character representation takes the form "@^D(ddd)". |
| 340 |
|......^(exactly 3 digits) where each digit d is in the range 0..9. |
| 341 |
16 16| @^y |
| 342 |
Error|......^Expecting one of 'B', 'Q', 'D', 'H'. |
| 343 |
|......^(For Binary, Octal, Decimal, and Hexadecimal). |
| 344 |
|......^A decimal character representation takes the form "@^D(ddd)". |
| 345 |
|......^(exactly 3 digits) where each digit d is in the range 0..9. |
| 346 |
17 17| @^# |
| 347 |
Error|......^Expecting one of 'B', 'Q', 'D', 'H'. |
| 348 |
|......^(For Binary, Octal, Decimal, and Hexadecimal). |
| 349 |
|......^A decimal character representation takes the form "@^D(ddd)". |
| 350 |
|......^(exactly 3 digits) where each digit d is in the range 0..9. |
| 351 |
18 18| @^( |
| 352 |
Error|......^Expecting one of 'B', 'Q', 'D', 'H'. |
| 353 |
|......^(For Binary, Octal, Decimal, and Hexadecimal). |
| 354 |
|......^A decimal character representation takes the form "@^D(ddd)". |
| 355 |
|......^(exactly 3 digits) where each digit d is in the range 0..9. |
| 356 |
19 19| |
| 357 |
20 20| 3. Test that an error is generated if parenthesis is missing. |
| 358 |
21 21| |
| 359 |
22 22| @^D34) |
| 360 |
Error|.......^Expecting '('. |
| 361 |
|.......^A decimal character representation takes the form "@^D(ddd)". |
| 362 |
|.......^(exactly 3 digits) where each digit d is in the range 0..9. |
| 363 |
23 23| |
| 364 |
24 24| 4. Test legal digits in each base. |
| 365 |
25 25| |
| 366 |
26 26| @^B(00001111) |
| 367 |
27 27| @^O(012) @^O(034) @^O(056) @^O(077) |
| 368 |
28 28| @^D(012) @^D(034) @^D(056) @^D(078) @^D(099) |
| 369 |
29 29| @^H(01) @^H(23) @^H(45) @^H(67) |
| 370 |
30 30| @^H(89) @^H(AB) @^X(CD) @^X(EF) @^x(af) |
| 371 |
31 31| |
| 372 |
32 32| 5. Test illegal digits in each base. |
| 373 |
33 33| |
| 374 |
34 34| @^B(00000002) |
| 375 |
Error|...............^Illegal digit. |
| 376 |
|...............^A binary character representation takes the form "@^B(dddddddd)". |
| 377 |
|...............^(exactly 8 digits) where each digit d is either 0 or 1. |
| 378 |
35 35| @^O(008) |
| 379 |
Error|..........^Illegal digit. |
| 380 |
|..........^An octal character representation takes the form "@^Q(ddd)" (or "@^O(ddd)"). |
| 381 |
|..........^(exactly 3 digits) where each digit d is in the range 0..7. |
| 382 |
36 36| @^D(00A) |
| 383 |
Error|..........^Illegal digit. |
| 384 |
|..........^A decimal character representation takes the form "@^D(ddd)". |
| 385 |
|..........^(exactly 3 digits) where each digit d is in the range 0..9. |
| 386 |
37 37| @^H(0G) |
| 387 |
Error|.........^Illegal digit. |
| 388 |
|.........^A hexadecimal character representation takes the form "@^X(dd)" (or "@^H(dd)"). |
| 389 |
|.........^(exactly 2 digits) where each digit d is in the range 0..9,A..F. |
| 390 |
38 38| |
| 391 |
39 39| 6. Test what happens if there are the wrong number of digits |
| 392 |
40 40| (too few, too many). |
| 393 |
41 41| |
| 394 |
42 42| @^B(1) |
| 395 |
Error|.........^Illegal digit. |
| 396 |
|.........^A binary character representation takes the form "@^B(dddddddd)". |
| 397 |
|.........^(exactly 8 digits) where each digit d is either 0 or 1. |
| 398 |
43 43| @^O(1) |
| 399 |
Error|.........^Illegal digit. |
| 400 |
|.........^An octal character representation takes the form "@^Q(ddd)" (or "@^O(ddd)"). |
| 401 |
|.........^(exactly 3 digits) where each digit d is in the range 0..7. |
| 402 |
44 44| @^D(1) |
| 403 |
Error|.........^Illegal digit. |
| 404 |
|.........^A decimal character representation takes the form "@^D(ddd)". |
| 405 |
|.........^(exactly 3 digits) where each digit d is in the range 0..9. |
| 406 |
45 45| @^H(1) |
| 407 |
Error|.........^Illegal digit. |
| 408 |
|.........^A hexadecimal character representation takes the form "@^X(dd)" (or "@^H(dd)"). |
| 409 |
|.........^(exactly 2 digits) where each digit d is in the range 0..9,A..F. |
| 410 |
46 46| |
| 411 |
47 47| @^B(000000001) |
| 412 |
Error|................^Expecting ')'. |
| 413 |
|................^A binary character representation takes the form "@^B(dddddddd)". |
| 414 |
|................^(exactly 8 digits) where each digit d is either 0 or 1. |
| 415 |
48 48| @^O(0004) |
| 416 |
Error|...........^Expecting ')'. |
| 417 |
|...........^An octal character representation takes the form "@^Q(ddd)" (or "@^O(ddd)"). |
| 418 |
|...........^(exactly 3 digits) where each digit d is in the range 0..7. |
| 419 |
49 49| @^D(0001) |
| 420 |
Error|...........^Expecting ')'. |
| 421 |
|...........^A decimal character representation takes the form "@^D(ddd)". |
| 422 |
|...........^(exactly 3 digits) where each digit d is in the range 0..9. |
| 423 |
50 50| @^H(005) |
| 424 |
Error|..........^Expecting ')'. |
| 425 |
|..........^A hexadecimal character representation takes the form "@^X(dd)" (or "@^H(dd)"). |
| 426 |
|..........^(exactly 2 digits) where each digit d is in the range 0..9,A..F. |
| 427 |
51 51| |
| 428 |
52 52| 7. Test that an error is generated for a missing closing parenthesis. |
| 429 |
53 53| |
| 430 |
54 54| @^B(00000000 |
| 431 |
Error|...............^Expecting ')'. |
| 432 |
|...............^A binary character representation takes the form "@^B(dddddddd)". |
| 433 |
|...............^(exactly 8 digits) where each digit d is either 0 or 1. |
| 434 |
55 55| @^D(045( |
| 435 |
Error|..........^Expecting ')'. |
| 436 |
|..........^A decimal character representation takes the form "@^D(ddd)". |
| 437 |
|..........^(exactly 3 digits) where each digit d is in the range 0..9. |
| 438 |
56 56| |
| 439 |
57 57| 8. Test what happens in number is out of the range [0,255]. |
| 440 |
58 58| |
| 441 |
59 59| @^D(255) |
| 442 |
60 60| @^D(256) |
| 443 |
Error|..........^Character number is too large. |
| 444 |
|..........^Character number must be in the range [0,255] (decimal). |
| 445 |
|..........^A decimal character representation takes the form "@^D(ddd)". |
| 446 |
|..........^(exactly 3 digits) where each digit d is in the range 0..9. |
| 447 |
61 61| @^D(999) |
| 448 |
Error|..........^Character number is too large. |
| 449 |
|..........^Character number must be in the range [0,255] (decimal). |
| 450 |
|..........^A decimal character representation takes the form "@^D(ddd)". |
| 451 |
|..........^(exactly 3 digits) where each digit d is in the range 0..9. |
| 452 |
62 62| |
| 453 |
| <End-Of-File> |
| 454 |
------------+------------------------------------------------------------------- |
| 455 |
|
| 456 |
There were 21 Errors. |