[metapost] Passing macro as macro's argument

Peng Yu pengyu.ut at gmail.com
Sat Jun 16 04:32:07 CEST 2007


Hi,

I want to pass macro as another macro's argument. But it doesn't work.
Would you please let me know if it is possible?

Thanks,
Peng

vardef g(expr f, x) =
  f(x)
enddef;

show g(sind, 0);


More information about the metapost mailing list