# NhlIsAllocatedColor

This function queries a workstation to to determine whether or not a given
color index has been allocated. (See NhlIsAllocatedColor.)

## Synopsis

function NhlIsAllocatedColor(
work[*]:graphic,
ci[*]:integer
)

## Arguments

*work*
- One or more HLU Workstation instances.
*ci*
- An array of one or more color indexes. Valid range is 0-255.

## Description

The Workstation instances referenced by *work* are queried to see whether
each of the elements of *ci* is an allocated color or not. This function returns
and array of logical values. If an element of *ci* is a missing value,
then the corresponding output value is a missing value. The output is dimension *m x n*
where m is the dimension size of the *work* parameter and n is the dimension of
the *ci* parameter.

### Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?

* $Revision: 1.10 $ $Date: 1998/06/15 21:28:41 $ *