ph_combuffercount PowerHome formula function
Description
Returns the total number of characters in the specified COM control's incoming buffer. The buffer is automatically reset when the bufferptr (the number of characters read from the port) = buffercount.
Syntax
ph_combuffercount ( comnum )
Argument Description
comnum The number of the COM control you are referencing. Valid values are 1 thru 5.
Return value
Long. Returns the total number of characters 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.