# all

This function returns True if all the elements of the input parameter can be
evaluated as True.

## Synopsis

function all(
logical_array : logical
)

## Arguments

*logical_array*
- A logical array of any dimension.

## Description

The **all** function returns a single logical scalar value only
if all of the non-missing value elements of the logical input parameter are True, or can be evaluated as True. This function
is useful for changing multidimensional logical results from logical
expressions into a single scalar value, which is required by the if statement. All numeric values can be
coerced to a logical value. Values that are 0 are interpreted as False and values that are non-zero are interpreted as True.

### Reference Manual Control Panel

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

* $Revision: 1.8 $ $Date: 1998/06/15 21:28:54 $ *