[metapost] uinsg z1, z2, ... in more than one macros caused 'Inconsistent equation'
horakk at math.cas.cz
Sun Sep 16 13:54:06 CEST 2007
and all temprorarily used pairs z in body of your
definitions would be saved.
Steven Woody napsal(a):
> in my mp file, i defined two macros, say foo, bar, using def ...
> enddef; then in the main figure, i call foo followed by bar. And, i
> used z1, z2 in both foo and bar as temporarily. but the metapost
> reported "Inconsistent equation" when it processed in calling of bar.
> i think i need to make z1, z2 local in foo and bar respectively, but i
> failed, because "save z1, z2" will cause another errors. what's the
> thanks in advance.
More information about the metapost