[Hecl-devel] "{" as a content of list or string ?
Brought to you by:
davidw
From: Martin M. <DO...@gm...> - 2008-01-16 10:07:09
|
Hi, I've a prog that gets list as paramter. The list could looks like this: heclGrid button .toolbar {-style Toolbutton -padding 0 -space 0 -takefocus 0} { {.add :actitemadd16 "?Add Part"} {.delete :actitemdelete16 "?Delete Part"} | \ {.process :filenew16 "?Process Order"} {.cancel :fileclose16 "?Cancel Update"} | \ {.exit :actexit16 "?Exit Customer Order"} } Than i've to find out, how the list is build of. I simple split the list and normally i get what i want. But, unfortunately not in case of "{" [split $params {] or [split $params \{] ends as a exception. V/hecl onitemclick callback(605): {PARSE_ERROR {Unbalanced {}}} {foreach 2} {foreach 4} {if 4} {heclGrid 81} {Spinner 2} {if 3} {SelectDemo -1} Is it not allowed to use this character ? Thanks in advance! BR, Martin -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail |