ReadVariant Method

The ReadVariant method reads data from serial port input buffer and stores it in array of VARIANT type which could be further processed by ASP technology.  

VARIANT ReadVariant(
  LONG Count // number of bytes to read from buffer
);


Parameters
  Count     [in] Is the number of bytes to be read from the port.
Return Values
  The ReadVariant method returns VARIANT which points to the array of VARIANT


See also

Write method, WriteStr method, ReadStr method, WriteVariant method