[metapost] metapost 1.999 Semicolon Weirdness

Hartmut Henkel hartmut_henkel at gmx.de
Wed May 14 00:27:05 CEST 2014

On Tue, 13 May 2014, Hartmut Henkel wrote:

>   pickup pencircle scaled 0.010000   draw (z1--z2--z3--z4) withcolor red;
> Now i wonder why, since by accident there is no semicolon in line 14
> between "pickup pencircle scaled 0.010000" and "draw (z1--z2...".
> Shouldn't this give an error?

...seems not so, it's fine also with METAFONT, maybe since there is a
semicolon at the end inside the pen_pickup_ macro definition. So it
somehow works with a following draw, but it crashes if the pickup line
is duplicated, so anyway it's safest to type a semicolon there.

Regards, Hartmut

More information about the metapost mailing list