Skip to content

OCH

Open Channel

This system variable returns a string indicating all OPEN channel numbers (except channel 0) in two-byte binary code.

OCH

This system variable is available starting with release level 8.0.

If no channels are OPEN except 0, OCH returns a null (empty) string.

Channel numbers within OCH are in ascending order.

OPEN (1) FID (0)
OPEN (32764) FID (0)
OPEN (4) FID (0)
PRINT HTA(OCH)

prints

000100047FFC

which represents the values for channels 1, 4, and 32764.

UNT system variable

From the Thoroughbred Basic Language Reference, Volume II: F–Q, version 8.9.1. Open this page in the PDF