TERMNO - get the terminal line id.

Usage:

call termno(lineid)

Where:

lineid
is a character*2 variable where the terminal line id is returned.

Description:

TERMNO returns the line id of the current terminal. In batch or a drun, "lineid" will be set to 2 blanks.

Notes:

The real line number is 2 BCD characters. If the program is in ASCII (the normal case), the 2 BCD characters are translated to ASCII.

Copyright © 1996, Thinkage Ltd.