all

This function returns True if all the elements of the input parameter are set to True.


Synopsis

	function all(
		logical_array : logical
	)

Arguments

logical_array
Any logical array or scalar of any number of dimensions.

Description

The all function returns a single logical scalar value only if all of the elements of the logical input parameter are True. This function is useful for changing multidimensional logical results from conditional expressions into a single scalar value, which is required by the if statement.

Reference Manual Control Panel

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


$Revision: 1.5 $ $Date: 1995/07/26 23:32:47 $