Dan, Try this: procedure(CCFlxCheck(cv) let(((port outstring())) ; might not want to capture the warnings - if not, miss out the (woport port) bit let(((woport port) (poport port)) lxCheck(cv) ) prog1( getOutstring(port) close(port) ) ) ) Then you can do: report=CCFlxCheck(cv) You'll get the text in a string - you could then use parseString(report "\n") to get a list of lines at the newline separators and so on. The above works by opening an output port which writes into a string, and then temporary redirects poport/woport to write to that port (this uses dynamic scoping so that when the stack unwinds the ports are correctly restored). No temporary files were harmed in the execution of this function ;-) Regards, Andrew.
↧