On 02/15/2012 03:08 PM, Werner Almesberger wrote:
imagefiles = file name 1, file name 2,
   file name 3
   , file name 4

Drawback: commas inside file names would have to be escaped.

Or, more radical, don't play scanner games and just require
double quotes:

imagefiles = "file name 1", "file name 2",
   "file name 3";

What about making the double quotes optional? ie one would use them if there's a comma in the filename, otherwise they can omit them.

And what about the possibility of naming images, e.g.:
imagefiles = foo:"file name 1", bar:"file name 2",
    xyz:"file name 3";
(the default names can be 1/2/3...)
so they can later be addressed like:
image_foo_a=1.0
image_foo_x=0.7
image_bar_a=0.5

Also, we should keep in mind that one "imagefile" will be able to contain several pictures later (animated GIFs, short movie sequences). We could do it easily with an additional per-imagefile variable that defines the time position in the sequence.

Sébastien
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode

Reply via email to