[stringtemplate-interest] Template-Operator []

Dreyer Ulf (CR/APA3) Ulf.Dreyer at de.bosch.com
Tue Jun 6 04:06:01 PDT 2006


Hi!

    The [] operator in a template concatenates 2 lists (enumerables).
    so that  
    A = [1,2,3]
    B = [a,b,c]
    $[A,B]$  = [1,2,3,a,b,c]

    is there a way to get the following list out of A and B?
    [ [1,2,3] , [a,b,c] ]


Thanks,

Ulf

    

-- 
Dipl. Inf. Ulf Dreyer
Robert Bosch GmbH
Zentralbereich Forschung und Vorausentwicklung
Software und Systemengineering in der Fertigungsautomatisierung CR/APA3
Postfach 30 02 40  D-70442 Stuttgart
Tel.: 0711/811- 34365
Fax:  0711/811-518 34365
eMail: ulf.dreyer at de.bosch.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20060606/d290001c/attachment.html


More information about the stringtemplate-interest mailing list