David Arnold wrote:
Hi,

Is there a way to read an entire data set into an array in Metpost, something like:

numeric coeffs[];
coeffs:=[1,2,3,4,5];

Not like this. You need to write a loop.  Metaposts variables are
not really arrays, merely objects with composite names of which
the sub-parts are allowed to be numeric expressions.

Taco

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to