Name

string_output_flush — resets the state of the string_output object

Synopsis

string_output_flush ( inout stream any );

Description

This function resets the state of the string output object. The string associated with the string output is dropped and is of 0 characters after this call.

Parameters

stream

stream to clear, must have been created by the string_output function.

Examples

Example24.408.Flush the String Output Stream

  <?vsp
    declare ses nay;
    ses := string_output ();
    http ('this text never be displayed' , ses);
    string_output_flush (ses);
    http ('stream test' , ses);
    http (string_output_string (ses));
  ?>