Is it possible to create a new command that is callable via "eval" in a test case?
What I would like to do is collect data during my test case, then turn around and feed it through some code that I have written in java that formats it in a specific way whcih is then returned to the test case. I have read about creating a process/application session type and tying in code that way, but I was really curious to know if I could "extend the command set" of the built in tcl command set. Is this possible?
An example of use would be doing some "lappend"s to a list in the test case, then feeding the list to my function that then runs the java code underneath to format the data. This command then returns the formatted data to the test case.