For Programmers: Free Programming Magazines  


Home > Archive > Tcl > May 2006 > Re: can menu or a menubutton have a command associated with it ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: can menu or a menubutton have a command associated with it ?
maura.monville@gmail.com

2006-05-26, 10:03 pm

It works ! Eureka !
I copied your lines as a trained monkey and only now I
figured out there were a couple of typos.
In fact the if statement should not have a "(" and there is a "]"
missing.

if ([catch {check_hist_aint_option} results != 0} {

Well, being adicted to C/C++ the "(" enclosing the if-statement clause
looked perfect to me ....
Thaks.
Have a nice wend.
Maura

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com