any

This function returns the scalar value True if any of the values of its parameter are True.


Synopsis

	function any(
		logical_array : logical
	)

Arguments

logical_array
An array of logical values that are either a result of a conditional expression or a variable that references logical values.

Description

The any function is one way to condense a multidimensional result of a relational operation into a single scalar logical value for an if statement. any returns True if any of the elements in the multidimensional input are True.

Reference Manual Control Panel

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


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