SBM ModScript Reference → Programming SBM ModScript → Extension Functions → Ext.WriteStream()
Writes to the current output stream.
| 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.  | 
 
            
| Type | Description | 
|---|---|
|  
                 bool  | 
 
               
                 Returns true if the write operation succeeded; false otherwise.  | 
 
            
SBM ModScript version: 11.3.
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().
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.