CHN Variable - Get Open Channels

Syntax

CHN

Description

For BBj-specific information, see CHN Variable - BBj.

The CHN variable returns a string of 2-byte binary values corresponding to the channels currently opened by the PRO/5 task. The channel numbers are returned in numeric order.

Examples

1000 LET C$=CHN
1010 FOR C=1 TO LEN(C$) STEP 2
1020 PRINT DEC(C$(C,2))
1030 NEXT C

See Also

Variables - Alphabetical Listing