|
|
hi,
I am trying to initialise an array via an '#include', as described in clipka's
message <http://news.povray.org/52dab911%40news.povray.org>. but, no dice with
the three versions I tried: v3.8 alpha.9945627 and beta.2, and v3.7.0.8.
the test data:
$ cat tst.csv
1,2,3,4,
5,6,7,8,
9,10,11,12,
13,14,15,16
$
in the scene I use:
#declare arr_ = array [16] { #include "tst.csv" };
I get two different error messages, v3.7.0.8: "Parse Error: Insufficent number
of initializers". and for the v3.8 POV-Ray's: "Parse Error: Expected 'array
initializer element', # found instead".
regards, jr.
Post a reply to this message
|
|