[metapost] strings with > 4000 characters

Nicola nvitacolonna at gmail.com
Tue Sep 13 08:56:49 CEST 2011

In article <0LRF00I7Y31MRIEG at mailhost.uark.edu>,
 Dan Luecking <luecking at uark.edu> wrote:

> >for i = 1 upto 5 : s := substring(2000,infinity) of s; endfor
> >s := substring(0,6) of s;
> Note that infinity is a plain.mp variable that still
> equals 4095.99998 so the above code would only see
> the first 4096 characters of s.

Yep, silly advice. Sorry.
The other points you've made are very interesting, too.

@Mojca: warningcheck:=0 would allow you to use indexes less than 16383.9999 
(please someone correct me if I'm wrong).


More information about the metapost mailing list