getOutstring
getOutstring(s_port) =>t_string/nil
Description
Retrieves the content of the outstring port (while it is open).
Arguments
|
Specifies the outstring port from which the content needs to be retrieved |
Value Returned
Examples
s = outstring()
= >port:"*string*"
fprintf(s "Quick brown")
getOutstring(s)
=>"Quick brown"
fprintf(s " fox jumps")
getOutstring(s)
=> "Quick brown fox jumps"
fprintf(s " over the lazy dog")
getOutstring(s)
=> "Quick brown fox jumps over the lazy dog"
close(s)
getOutstring(s)
=> nil
Return to top