DataBasic Reference > Statements and Intrinsic Functions > N > NOTS Function

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

NOTS Function (DataBasic) (m618703+nots_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

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".

RealityV15.1 (MoTW) Revision 7Comment on this topic