NOTS Function

Generates the logical inverse of each element in a dynamic array.

Syntax

NOTS(dynArray)

Syntax Elements

dynArray A DataBasic expression that evaluates to a dynamic array.

Return Value

A dynamic array with the same structure as dynArray, but with each numeric value replaced by its logical inverse.

Comments

For details of the logical values of different types of element, refer to Logical Expressions.

If the array contains non-numeric data, the following error message appears:

Non-numeric data when numeric required; zero used.

See Also

NOT function.

Example

ARY = @TRUE:@VM:@FALSE:@VM:0:@VM:1:@AM:"-2.7"
NEWARY = NOTS(ARY)

Sets NEWARY to "0VM1VM1VM0AM0".