Hello tcl wizards,
I am not a tcl wizard and am trying to port over some code I found on the internet to my application. I am just creating a simple inputbox process that takes the root window and text message as inputs. The user then populates a text box and hits okay. At that point the...
The regular expression worked. I must have a problem with our interpreter. After the regular expression, the variable data was set to macmenu_source files. However, it still did not work. So, I am at a loss...
source $data (where data = "macmenu_source_files")
doesn't work, but
source...
I will have to look up the map command. I am getting this error: bad option "map": should be compare, first, index, last, length, match, range, tolower, toupper, trim, trimleft, trimright, wordend, or wordstart
No - it won't work if I have ./macmenu_source_files in data. It fails with file not found.
If however I have "macmenu_source_files" by itself it DOES work.
Sorry - you lost me there. Is there a flag we need to use to determine the return code for each line being executed? I have never needed to use it. **Actually it's been like 5 years since I modified TCL code**
Yes - this is code that we used back in 1998 to produce menus for running several other programs. The unix command which just returns the path to the executable you want to execute. So "which macmenu_source_files" returns: "/conv1/bin/macmenu_source_files". I assign the returned value to...
Hello all,
I am trying to get some of our old code to work, and have been having some troubles this morning. I was wondering if someone could help me.
My environment is HPUX running under ksh. I am having problems with the following statements:
set data [exec which macmenu_source_files]...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.