Programming Reference Manual
 
Syntax
 
Data = object.ReadString([Count])
 
Description
Read data from the current poistion as a string . Reading starts at the Position property. Set Position to change the position
 
Part
Description
object
Evaluates to a DartStream object.
Count
Optional Long. Specifies how much data is to be read.
Data
Returned String. Indicates how much data was read.
 

Remarks

Some environments, such as JavaScript, do not support the passing of parameters by reference. Consequently, such methods as Receive cannot be used by passing in a String. You can use the DartStream Object to circumvent this limitation.
 

Error Codes

The Clear method may generate the following error codes (refer to the ErrorConstants topic for a complete list of error codes):
  • ptInvalidParam1
  • ptInvalidParam2
  • ptNoBufferSpace 
 
See Also