PC-Dmis 2010 MR1 Object Library | Send comments on this topic. | See Object Hierarchy Chart
ReadCommBlock Method
See Also

Collapse All Expand All

port
  The comm port from which to read. Required.

buffer
  The string in which to put the read characters. Required.

Count
  The maximum number of characters to read from the port. Required.

# Description

Reads data from an opened communications port Reads characters from the comm port specified.

# Syntax

Visual Basic

    Public Function ReadCommBlock( _
       ByVal port As Long, _
       ByRef buffer As String, _
       ByVal Count As Long _
    ) As Long

# Parameters

port
  The comm port from which to read. Required.
buffer
  The string in which to put the read characters. Required.
Count
  The maximum number of characters to read from the port. Required.

# See Also

OldBasic Object

© Wilcox Associates, Inc. All Rights Reserved.

© 2010 All Rights Reserved.