ShiftStream
(Engine-Level Function)
Description: |
Inserts or deletes characters from a stream and returns its own error code. |
Returns: |
Nothing |
Usage:  |
Script or steady state. |
Function Groups: |
Stream and Socket |
Related to: |
Seek | StreamEnd |
Format:  |
ShiftStream(Stream, Pos, Offset) |
Parameters: |
|
Stream |
Required. Any expression giving the stream to shift. |
Pos |
Required. Any numeric expression giving the stream position to seek to before beginning the shift. |
Offset |
Required. Any numeric expression giving the number of characters to insert. If this is negative, characters will be deleted. |
Comments: |
The returned value is true if successful, false if not. |
Trihedral and VTScada are registered trade marks of Trihedral Engineering Limited
© Trihedral Engineering Limited 1983- 2025 All rights reserved.