lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Reuben Thomas wrote:
> 
> I suppose really I just don't like the string special case.

Maybe I should have made made previous example better:

 a = polyline {
   point { x=1, y=1 },
   point { x=1, y=5 },
   point { x=5, y=5 },
   ...;
-  color = "green",
-  style = "dotted",
+  color = color "green",
+  style = linestyle "dotted"
 }

;-)

Ciao, ET.