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 gkittelson 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. notmeatleast

    exec output problem

    Hi guys, Suppose a.tcl contains puts "Hi" and b.tcl contains exec tclsh a.tcl Now, when I run tclsh b.tcl, it just retruns to the % prompt without giving any output. Why's that? How can I achive that. I don't want to use source command, as I'll have a different interpreter than the one I'm...
  2. notmeatleast

    How to use reglar expressions in sub-string search

    It does help to some extent. But I need somthing like this: set str "abcd d " set patrn "d" regexp { ($patrn)(" ")*) $str res and regexp { (" $patrn")(" ")*} $str res But regexp is not able to substitute $patrn to d until I use "", and if I use "", it doensn't allow me to search for a...
  3. notmeatleast

    How to use reglar expressions in sub-string search

    Hi, I want to use regular expressions to find the index in the string that matches the pattern. someting like: string first <regular expresion> <string> e.g. string first {^abc(" ")*$} "abc rf" blah blah blah Could you giude me through this. Thanks
  4. notmeatleast

    Accesssing Excel sheets through tcl?

    Somehow I missed this reply of yours. Yes. That's exactly what I need. Deoes it work? And how? I've already thaked you for the posts of yours though.
  5. notmeatleast

    Accesssing Excel sheets through tcl?

    Somehow I missed thie reply of yours. Yes. That's exactly what I need. Deoes it work? And how? I've already thaked you for the posts of yours though.
  6. notmeatleast

    Accesssing Excel sheets through tcl?

    Hi, I went to the VB pages at MSDN, and got this feeling of replacing [$cell Item] with [$cell Value]. AND IT WORKED!. I do thank you. But just a little question. If I open a excel sheet through tcom, can I know how many rows and cloumns are existing in that excel sheet? Thanks.
  7. notmeatleast

    Accesssing Excel sheets through tcl?

    Thanks a lot. The links have been very helpful in making a excel file. But the topic is still not very clear to me. There's this example: ---------------------------------------------------------- # Extract some cells from an Excel file # package require tcom set app [::tcom::ref getobject...
  8. notmeatleast

    Accesssing Excel sheets through tcl?

    Hi, I wish to read an excel sheet table from tcl version 8.3. Is it possible to do so. I've not worked very extensively in tcl though. It's an urgent requirement. If not in excel, then reading tables from .doc files? I would be heartly greateful to you all. Thanks in advance. :-) Adi

Part and Inventory Search

Back
Top