266 of 307
ZBasic System Library 256 ZX Microcontroller Family StatusCom Type Function returning Byte Invocation StatusCom(chan) Parameter Method Type Description chan ByVal Byte The serial channel of interest. Discussion This function returns a set of flag bits that indicate the status of the specified serial channel. The bits and their meanings are shown in the table below. Serial Channel Status Bit Values Value Meaning &H01 The channel number is valid but may or may not be open. &H02 The channel is open. &H04 The channel has data yet to be transmitted. The remaining bits are currently undefined but may convey additional information in the future. Compatibility This function is not available in BasicX compatibility mode. See Also CloseCom, ComChannels, DefineCom, OpenCom