| 1 |
This is MetaPost, version 1.203 (kpathsea version 3.5.7dev) (INIMP) 25 MAY 2009 12:47 |
| 2 |
**\input trap |
| 3 |
(./trap.mp |
| 4 |
>> << == >> ::: ||`` ''--!! ??## && @@ $$[[]]{{ }}((5.5 0.5)) |
| 5 |
>> ".." |
| 6 |
! Not implemented: (unknown numeric)++(string). |
| 7 |
<to be read again> |
| 8 |
; |
| 9 |
l.4 ...&& @@ $$ [[ ]] {{ }} . (( 5.5.5 )) ++ ".."; |
| 10 |
|
| 11 |
I'm afraid I don't know how to apply that operation to that |
| 12 |
combination of types. Continue, and I'll return the second |
| 13 |
argument (see above) as the result of the operation. |
| 14 |
|
| 15 |
.. |
| 16 |
! Missing `=' has been inserted. |
| 17 |
<to be read again> |
| 18 |
, |
| 19 |
l.5 begingroup save =; let=, |
| 20 |
; save,; newinternal $=,; let ):=, endgroup; |
| 21 |
You should have said `let symbol = something'. |
| 22 |
But don't worry; I'll pretend that an equals sign |
| 23 |
was present. The next token I read will be `something'. |
| 24 |
|
| 25 |
> errorstopmode=errorstopmode |
| 26 |
> readstring=readstring |
| 27 |
> 2 |
| 28 |
> "2" |
| 29 |
> ,=, |
| 30 |
> (=tag |
| 31 |
> )=, |
| 32 |
<< == >> ::: ||`` ''--!! ??## && @@ $$[[]]{{ }}(([][]))=numeric |
| 33 |
<< == >> ::: ||`` ''--!! ??## && @@ $$[[]]{{ }}((5.5 0.5))=<< == >> ::: ||`` '' |
| 34 |
--!! ??## && @@ $$[[]]{{ }}((5.5 0.5)) |
| 35 |
> year=month |
| 36 |
! OK. |
| 37 |
l.6 ...rorstopmode,readstring,2,"2",,,(,),<<,year; |
| 38 |
|
| 39 |
|
| 40 |
! Missing `:' has been inserted. |
| 41 |
<to be read again> |
| 42 |
; |
| 43 |
l.8 ...acingcommands:=if not cycle "":1.1 forever; |
| 44 |
fi; |
| 45 |
The next thing in this loop should have been a `:'. |
| 46 |
So I'll pretend that a colon was present; |
| 47 |
everything from here to `endfor' will be iterated. |
| 48 |
|
| 49 |
{fi} |
| 50 |
{exitif} |
| 51 |
{[repeat the loop]} |
| 52 |
{false} |
| 53 |
{fi} |
| 54 |
{exitif} |
| 55 |
{[repeat the loop]} |
| 56 |
{(2.1)>(2)} |
| 57 |
{true} |
| 58 |
{tracingcommands:=2.1} |
| 59 |
{showtoken} |
| 60 |
> |=:|>=|=:|> |
| 61 |
! OK. |
| 62 |
l.9 ... tracingcommands>2 endfor; showtoken |=:|>; |
| 63 |
|
| 64 |
|
| 65 |
! Arithmetic overflow. |
| 66 |
l.10 tracinglostchars:=1/.00001 |
| 67 |
; tracingequations:=$+1; p~=tracinglostchar... |
| 68 |
Uh, oh. A little while ago one of the quantities that I was |
| 69 |
computing got too large, so I'm afraid your answers will be |
| 70 |
somewhat askew. You'll probably have to adopt different |
| 71 |
tactics next time. But I shall try to carry on anyway. |
| 72 |
|
| 73 |
{tracinglostchars:=32767.99998} |
| 74 |
{(0)+(1)} |
| 75 |
{tracingequations:=1} |
| 76 |
{(32767.99998)+(0.00002)} |
| 77 |
! Arithmetic overflow. |
| 78 |
l.10 ...quations:=$+1; p~=tracinglostchars+.00001; |
| 79 |
|
| 80 |
Uh, oh. A little while ago one of the quantities that I was |
| 81 |
computing got too large, so I'm afraid your answers will be |
| 82 |
somewhat askew. You'll probably have to adopt different |
| 83 |
tactics next time. But I shall try to carry on anyway. |
| 84 |
|
| 85 |
{(p~)=(32767.99998)} |
| 86 |
## p~=32767.99998 |
| 87 |
{interim} |
| 88 |
{tracingmacros:=1} |
| 89 |
{tracingoutput:=1} |
| 90 |
{warningcheck:=1} |
| 91 |
{tracingstats:=1} |
| 92 |
{tracingchoices:=1} |
| 93 |
{tracingspecs:=1} |
| 94 |
{ASCII("")} |
| 95 |
{$:=-1} |
| 96 |
{$:=x} |
| 97 |
>> x |
| 98 |
! Internal quantity `$' must receive a known numeric or string. |
| 99 |
<to be read again> |
| 100 |
; |
| 101 |
l.12 ...utput:=tracingmacros:=1; $:=ASCII""; $:=x; |
| 102 |
p~:=p~; |
| 103 |
I can't set an internal quantity to anything but a known string |
| 104 |
or known numeric value, so I'll have to ignore this assignment. |
| 105 |
|
| 106 |
{p~:=32767.99998} |
| 107 |
## p~=32767.99998 |
| 108 |
! Value is too large (32767.99998). |
| 109 |
l.12 ...racingmacros:=1; $:=ASCII""; $:=x; p~:=p~; |
| 110 |
|
| 111 |
The equation I just processed has given some variable |
| 112 |
a value of 4096 or more. Continue and I'll try to cope |
| 113 |
with that big value; but it might be dangerous. |
| 114 |
(Set warningcheck:=0 to suppress this message.) |
| 115 |
|
| 116 |
{delimiters} |
| 117 |
{delimiters} |
| 118 |
{vardef} |
| 119 |
{def} |
| 120 |
|
| 121 |
foo(TEXT2)->begingroup(TEXT2)endgroup |
| 122 |
(SUFFIX0)<- |
| 123 |
(SUFFIX1)<-foo |
| 124 |
(TEXT2)<-interim.tracinglostchars:=(0.5;show.urcorner("flubo"infont"trapf"),2+2 |
| 125 |
{begingroup} |
| 126 |
{interim} |
| 127 |
! Missing `)' has been inserted. |
| 128 |
<to be read again> |
| 129 |
; |
| 130 |
<argument> interim.tracinglostchars:=(0.5; |
| 131 |
show.urcorner("flubo"infont"trapf"... |
| 132 |
|
| 133 |
foo->begingroup(TEXT2) |
| 134 |
endgroup |
| 135 |
l.17 ),2+2endtext |
| 136 |
; for n=tracingspecs step 1 until $:fi endfor showstats; |
| 137 |
I found no right delimiter to match a left one. So I've |
| 138 |
put one in, behind the scenes; this may fix the problem. |
| 139 |
|
| 140 |
{tracinglostchars:=0.5} |
| 141 |
{show} |
| 142 |
{("flubo")infont("trapf")} |
| 143 |
Missing character: There is no f in font trapf! |
| 144 |
Missing character: There is no l in font trapf! |
| 145 |
Missing character: There is no o in font trapf! |
| 146 |
{urcorner(picture)} |
| 147 |
>> (2.9888,7.97011) |
| 148 |
{(2)+(2)} |
| 149 |
|
| 150 |
>> 4 |
| 151 |
! OK. |
| 152 |
<to be read again> |
| 153 |
endgroup |
| 154 |
l.17 ),2+2endtext |
| 155 |
; for n=tracingspecs step 1 until $:fi endfor showstats; |
| 156 |
|
| 157 |
{restoring tracinglostchars=32767.99998} |
| 158 |
{endgroup} |
| 159 |
{for} |
| 160 |
{showstats} |
| 161 |
Memory usage 283&42 (3927 still untouched) |
| 162 |
String usage 25&72 (78&7709 now untouched) |
| 163 |
! OK. |
| 164 |
l.17 ...gspecs step 1 until $:fi endfor showstats; |
| 165 |
|
| 166 |
|
| 167 |
{let} |
| 168 |
{path} |
| 169 |
{-(15)} |
| 170 |
{-(12)} |
| 171 |
Path at line 18, before choices: |
| 172 |
(0,0)..controls (15,4) and (-15,-12) |
| 173 |
..(4,0) |
| 174 |
|
| 175 |
Path at line 18, after choices: |
| 176 |
(0,0)..controls (15,4) and (-15,-12) |
| 177 |
..(4,0) |
| 178 |
|
| 179 |
{(unknown path p~)=(path)} |
| 180 |
{everyjob} |
| 181 |
{vardef} |
| 182 |
{let} |
| 183 |
{vardef} |
| 184 |
{def} |
| 185 |
{begingroup} |
| 186 |
{errorstopmode} |
| 187 |
|
| 188 |
{endgroup} |
| 189 |
{elseif} |
| 190 |
{endinput} |
| 191 |
{\} |
| 192 |
) |
| 193 |
*dump |
| 194 |
Beginning to dump on file trap.mem |
| 195 |
(mem=trap 2009.05.25) |
| 196 |
at most 553 strings of total length 2302 |
| 197 |
391 memory locations dumped; current usage is 311&68 |
| 198 |
308 symbolic tokens |