(CVAL('PORTS'))
Returns the list of all available printer ports, separated by comma, on that workstation.
Example:
Will return the text string with a list of all printer ports that are available on that workstation. Each item in the list will be separated by comma (or the database character settings for comma).