ph_combufferptr PowerHome formula function
Description
Returns the number of characters read in the specified COM control's incoming buffer. As characters are read from the incoming buffer, this value is incremented to show how many characters have been read. The buffercount and bufferptr are automatically reset to 0 when the bufferptr = buffercount.
Syntax
ph_combufferptr ( comnum )
Argument Description
comnum The number of the COM control you are referencing. Valid values are 1 thru 5.
Return value
Long. Returns the number of characters read in the COM control's incoming buffer. Returns - 1 if a comnum < 1 or > 5 is specified. Returns - 2 if the specified COM control is not valid.