[metapost] Maximum length of a text argument

Taco Hoekwater taco at elvenkind.com
Thu Jun 23 19:17:21 CEST 2011


Hi,

On 23 jun. 2011, at 17:56, Nicola <nvitacolonna at gmail.com> wrote:

> Hi,
> I am writing some macros that take potentially long text arguments, e.g.,
> 
> def eat text food =
>  % Do something with food
> enddef;
> 
> eat begingroup
>  % Very long list of instructions
> endgroup;
> 
> What is, approximately, the maximum length of such an argument? 

With metapost 1.504, the limit should be somewhere close to (available memory / 24).

Best wishes,
Taco


More information about the metapost mailing list