- This topic has 2 replies, 2 voices, and was last updated 14 years, 9 months ago by .
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?
- The forum ‘Tcl Library’ is closed to new topics and replies.