CHANOPT() Function - Get Channel Options

Syntax

CHANOPT(channelno{,ERR=lineref})

Description

The CHANOPT() function returns the current settings (general or specific information about the file or device) that are accessible using the CHANOPT verb for the specified channel.

Parameter

Description

channelno

Valid channel number.

ERR=lineref

Branch to be taken if an error occurs during execution.

Examples

>PRINT CHANOPT(0)
device,devtype=terminal

See Also

Functions - Alphabetical Listing