Table of Contents

# $EPIC: levelwindow.txt,v 1.3 2006/08/01 04:11:44 sthalik Exp $

Synopsis:

$levelwindow(<server refnum> <lastlog level descriptions>)

Technical:

Practical:

This function can be used to figure out which window that an /xecho -level <level> …. will go to.

Returns:

The refnum for the window that claims any of the lastlog level descriptions for the server specified. -1 if no window can be found that claims the level(s).

Examples:

$levelwindow(1 NOTICE)         Returns the NOTICE window for server 1
$levelwindow(0 MSGS,PUBLIC)    Would return either the MSGS window
                               or the PUBLIC window, but you can't
                               be sure which.

History:

This function first appeared in EPIC4-1.1.12