[stringtemplate-interest] (no subject)
Terence Parr
parrt at cs.usfca.edu
Sun Nov 21 08:37:21 PST 2010
Hi Jon, probably time for a formal object def in the model.
Ter
On Nov 20, 2010, at 10:08 PM, Jon Nilsson wrote:
> It looks like setAttribute() can handle only up to 5 arguments in StringTemplate C# 3.2.
>
> It is causing a problem when I need to do the following:
> rect.SetAttribute("rectangle.{arrayname, index, x, y, width, height}", "MyArray", 0, 100, 100, 32, 34);
>
> What do you recommend?
>
> According the the documentation:
> "The various overloads of the setAttribute() method can handle from 1 to 5 arguments.
> The C# version uses variable-length argument list (using params keyword)."
> http://www.stringtemplate.org/wiki/display/ST/Expressions
>
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20101121/45532bbb/attachment.html
More information about the stringtemplate-interest
mailing list