Jun 24, 2010 #1 jgoeders Programmer Jun 24, 2010 1 CA I want to use a string as an option. For example: set x "-weight bold" font configure my_font $x This errors with: bad option "-weight bold" must be ...
I want to use a string as an option. For example: set x "-weight bold" font configure my_font $x This errors with: bad option "-weight bold" must be ...
Jun 24, 2010 #2 Bong Programmer Dec 22, 1999 2,063 US That's just what eval is for: Code: set x "-weight bold" eval "font configure my_font $x" _________________ Bob Rashkin Upvote 0 Downvote
That's just what eval is for: Code: set x "-weight bold" eval "font configure my_font $x" _________________ Bob Rashkin