Community
Participate
Working Groups
Build Identifier: M20100909-0800 Hello, I just started using the Eclipse DLTK Env for writing Tcl-programs and stumbled over a number of oddities or maybe bugs. 1. In my code I write: set app "c:/tcl/lib/kit/snodbc.kit" source $app Eclipce then puts a warning saying "Could not locate sourced file $app" Giving the path directly works: source c:/tcl/lib/kit/snodbc.kit The next line reads: package require snodbc Independly from how I deal with path to the kit file above, I always get a warning 'Unknown package snodbc'. How does package resolving work in DLTK-Tcl? 2. The 'catch' command has the general form: catch script ?resultVarName? ?optionsVarName? However when I give both optional args, Eclipse puts a warning saying: Optional argument(s) 3. In Tcl 8.5, there is a new expand operator '{*}', formerly known as '{expand}', e.g.: return -code error {*}$options $result When I use this syntax, Eclipse puts an error, saying: Extra characters after close-brace The good message is, it doesn't prevent me from executing the code, so it is just sort of misleading, because I know the code is right. If someone may give a hint how to start in the DLTK framework, I may be able to look for the errors by myself, however any help appreciated. Regards Oliver Reproducible: Always