next up previous contents index
Next: tclindex Up: tcl++ Previous: tclcmd   Contents   Index


tclreturn

The tclreturn class is used to supply a return value to a TCL command. It inherits from eco_strstream, so has exactly the same behaviour as that class. When this variable goes out of scope, the contents of the stream buffer is written as the TCL return value. It is an error to have more than one tclreturn in a TCL command, the result is undefined in this case.



Russell Standish 2016-09-02