Ext.WriteStream()

Writes to the current output stream.

Function Signature

 bool Ext.WriteStream( value )

Parameters

Parameter Type Description

value

Variant

The value should be properly encoded, depending on the context. For instance, if the context is pre-transition script, the output is the transition form; therefore, the value should be HTML or potentially JavaScript.

Return

Type Description

bool

Returns true if the write operation succeeded; false otherwise.

Technical Details

SBM ModScript version: 11.3.

Notes

If a user has executed a transition in a browser, then an output stream exists for the pre-transition script. However, if an external program initiates a transition using the SBM API, there is no browser connection and thus no output stream. For details, refer to Ext.OutputStreamExists().

Related Topics

Extension Functions