ph_comrecvchar PowerHome formula function
Description
Retrieves a single byte of information from an open COM control
Syntax
ph_comrecvchar ( comnum )
Argument Description
comnum The number of the COM control you are referencing. Valid values are 1 thru 5.
Return value
Integer. Returns the ascii value of the byte received from the COM control. Returns - 1 if a comnum < 1 or > 5 is specified. Returns - 2 if the specified COM control is not valid. Returns - 3 if no characters are waiting to be read.