Hi guys.
Some moths ago I started to use DLTK for my Tcl work projects, and all works fine until i use tcl script evaluation.
When i write a code like this:
grid $variablename {*}$arguments
The $arguments variable gets marked as an sintax error. But it's not such an error int Tcl. It's a part of Tcl specification:
www.tcl.tk/man/tcl8.5/TclCmd/eval.htmNote that in the most common case (where the script fragment is actually just a list of words forming a command prefix), it is better to use {*}$script when doing this sort of invocation pattern. It is less general than the eval command, and hence easier to make robust in practice. The following procedure acts in a way that is analogous to the lappend command, except it inserts the argument values at the start of the list in the variable:
So, is there a way to add an exception to marking rules? Because it's quite anoying some times having an error you know it isn't.
Hope I explained well my problem.
Ros.
[Updated on: Fri, 20 April 2012 10:30] by Moderator