- This topic has 2 replies, 2 voices, and was last updated 15 years, 7 months ago by .
-
Topic
-
Hello Everyone, I am a TCL and Cloverleaf noob. I have a question about using a table in a tcl script.
I want the script to search a table and return the value if it is found on the table. Otherwise I want the script to return something saying that the value was not found in the table. The problem is I dont know what this code returns when the value is not found in the table. Here is the code.
Code:set logicianDoc2 [tbllookup $table2 $docId2]
Can you please tell me what this returns if the value is not found in the table?
Thank you,
Garrett[/code]
Viewing 1 reply thread
Viewing 1 reply thread
- The forum ‘Tcl Library’ is closed to new topics and replies.