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. infi1nity

    Random numbers in TCL

    Thanks for that, really useful.
  2. infi1nity

    Random numbers in TCL

    I need to generate some random numbers everytime my TCL application is invoked and the value sent to the external system for some kind of auditing purpose. The format of the number must be integer. Is there any command within TCL to this. (The rand command gives random floating point numbers...
  3. infi1nity

    Searching only the first element of list

    Thanks Bob ! It worked !!
  4. infi1nity

    Searching only the first element of list

    Hi Bob, Let me explain it a bit more. Let's say we have the list: set L {{A RED 1} {B BLACK 2} {C GREEN 3} {D PINK 4}} Then I also have an array set arrayA(A.RED.idx) 20 set arrayA(B.BLACK.idx) 50 set arrayB(C.BLUE.idx) 70 My aim is to build an array i.e., the output of the code is to have an...
  5. infi1nity

    Searching only the first element of list

    Hi, I am quite new to TCL and get confused a lot with lists and arrays. I have a problem wherein I need to search for a particular pattern in a list, extract the values from the list (The list has three elements) and build an array. The patterns to search are stored in an array. E.g List L= {A...

Part and Inventory Search

Back
Top