Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. scottjn

    Difficulty resolving "can not find channel number" error in my code

    Bob, thank you so much for your help, your method is so much simpler and more straightforward than what I was trying to do. My outer while loop *was* in fact working to read in the correct file data, but my clunky attempt to start creating the data list at the 2nd line wasn't working at all (as...
  2. scottjn

    Difficulty resolving "can not find channel number" error in my code

    By the way, here are the first few lines of one of the sorts of files I need to read, so you can see the format I am dealing with. The column I want to store in the trpshift list is the 4th one, the pdif column. #0 pdifc4: indx,amino,rave,pdif,runsum,segid,resid 1 LYS 32.66...
  3. scottjn

    Difficulty resolving "can not find channel number" error in my code

    Hi there all, I have the below code, which is to be interpreted in the software package VMD, and I am having some basic Tcl problems with it. Basically what I want to do is to open a file, discard the first line of that file, and then store the numerical value of the 4th column of the file in a...
  4. scottjn

    Reading in data in columns and splitting it correctly

    feherke, thank you!! This was exactly what I needed! It never occurred to me to treat each element of the $data list as a list itself, and then just retrieve the second element of it. This is perfect, thanks so much for your patience and help!
  5. scottjn

    Reading in data in columns and splitting it correctly

    Hi feherke, thanks very much for your help. OK, now I see that data is indeed a list and can be accessed using the suite of list commands. The problem I still have though is that I now have a list "data" with entries being something like: 22.97 -10.03061 36.35 20.01254 35.59 0.00575...
  6. scottjn

    Reading in data in columns and splitting it correctly

    Hello there! I would sincerely appreciate any advice you folks can offer, I've been trying to figure all this out for a while now with little luck. Though I have experience in C++ and FORTRAN I am pretty new to Tcl and am still trying to wrap my head around some of its features. I have a series...

Part and Inventory Search

Back
Top