[Swift-devel] readData

Ben Clifford benc at hawaga.org.uk
Thu Oct 11 09:40:02 CDT 2007



On Wed, 10 Oct 2007, Ben Clifford wrote:

> Its probably desirable for print to wait for its parameter to be closed.

r1343 introduces a trace procedure. Use it in a similar fashion to print. 
It will wait for all of its arguments to be marked closed, and then send 
them through the logging mechanism so that the end up both on the stdout 
of the executing process and also in the log file.

For example:

  (string r) p() { r="foo"; }
  string s;
  trace(s);
  s=p();

-- 




More information about the Swift-devel mailing list