![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: retrieve "puts" command result from C
From: Michael Schlenker <schlenk@uni-oldenburg.de>
Date: Wed Mar 08 2006 - 17:56:51 CET
fabrice.dufour@gmail.com wrote:
So the simplest way would be to redefine puts to return its argument and
rename puts ::tcl::puts
# The value is the last element of args
Now you have a puts that returns what it prints...
>
Thats what memchan does. It provides channel types that write to
Michael
|