[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New function proposal
From: |
Paul Kienzle |
Subject: |
Re: New function proposal |
Date: |
Tue, 13 Feb 2007 19:54:40 -0500 |
On Feb 13, 2007, at 1:08 PM, John W. Eaton wrote:
We could also return two separate values, but a
vector is more like the Unix pipe system call.
One of my favourite features of Tcl is that added
features are Tcl-like rather than faithfully
reflecting the constraints of C into the scripting
environment. For example, much of the complexity
of using sockets disappears and creating/using
web services is a breeze.
For popen2 I think
[in, out] = popen2('echo');
fprintf(in,"hello");
response = fgets(out);
disp response
is more readable than
p = popen2('echo');
fprintf(p(1),"hello");
response = fgets(p(2));
disp response
so I would prefer the former interface.
- Paul
- Re: New function proposal, (continued)
- RE: Re: New function proposal, michael . goffioul, 2007/02/13
- Re: New function proposal, David Bateman, 2007/02/13
- Re: New function proposal, John W. Eaton, 2007/02/13
- Re: New function proposal,
Paul Kienzle <=
- Re: New function proposal, John W. Eaton, 2007/02/14
- Re: New function proposal, Michael Goffioul, 2007/02/15
- Re: New function proposal, David Bateman, 2007/02/15
- Re: New function proposal, John W. Eaton, 2007/02/15
- Re: New function proposal, David Bateman, 2007/02/15
RE: Re: New function proposal, michael . goffioul, 2007/02/13
RE: Re: New function proposal, michael . goffioul, 2007/02/15
RE: Re: New function proposal, michael . goffioul, 2007/02/15