UNT Variable - BBj

For this topic's original documentation, see the UNT Variable- Get Unused Channel Number.

BBj-Specific Information

By default, the UNT Variable looks for an unused channel starting at 1. In BBj 14 and higher, the !UNT_START global can be set to an integer value that causes the search to start at a higher value.  For example:

READY
>OPEN (9)FID(0)
>OPEN (10)"X0"
>PRINT UNT
1
>PRINT STBL("!UNT_START","9")
9
>PRINT UNT
11
>

See Also

Variables - Alphabetical Listing