NumSerial() Returns the number of serial ports Syntax: NumSerial() -> nPorts Description: Returns the number of serial ports of system. Return: A numeric value with the number of serial ports. Example: Warning( "You have " + Str ( NumSerial() ) + " serial ports" )