Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
The number of characters to read. If 0 is specified an empty string is returned
Time in seconds to wait for the specified number of characters
ReadChars(Int32,Int32) Method
In This Topic
Reads a specified number of characters from the host.
Syntax
'Declaration
Overloads Function ReadChars( _ ByVal count As Integer, _ ByVal timeout As Integer _ ) As String
Parameters
- count
- The number of characters to read. If 0 is specified an empty string is returned
- timeout
- Time in seconds to wait for the specified number of characters
Return Value
a string containing the requested number of characters or all characters received
prior to a timeout.
See Also