An open call is returning an ivalid fileid on the following line:
set fileid [open $fileName r]
if I try set catchval [catch {set fileid [open fieleName r]}]
catchval will be set to 1. Where can I find the definitions of the error codes?
The following code works most of the time, but ocasionally returns an error. I have a C function that generates a report (ascii text) and returns the filename (absolute path). 11 out of 13 reports return fine and I am able to open them without a failure but 2 of the reports return the filename...
I am new to Tcl/TK and am trying to build a GUI with two frames The first frame is a text frame to view files, and a second frame of config options. They will both be visible all the time with one on the right, and the other on the left. I can build the pieces separately, but am having trouble...
I am new to Tcl/Tk. I have been a C++/C programmer for 10+ years and have to learn Tcl/Tk quickly. All I need is a simple text viewer with some menubar options. I looked at the incr_Tk extensions and it looked promising. I see how to invoke the objects, but I don't understand how to tie them...
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.