DataBasic Reference > Statements and Intrinsic Functions > N > NES 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

NES Function (DataBasic) (m618703+nes_f.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

NES Function

Compares the elements in two dynamic arrays for inequality.

Syntax

NES(dynArray1, dynArray2)

Syntax Elements

dynArray1, dynArray2
DataBasic expressions that evaluate to dynamic arrays.

Return Value

A dynamic array with a structure formed by combining dynArray1 and dynArray2. Each element contains the result of comparing the corresponding elements in the original arrays. If the elements are the different, the element is set to 1 (true); otherwise it is set to 0 (false).

See Also

EQS function, GES function, LES function.

Example

ARY1 = 1:@VM:1:@AM:"Fred":@VM:"Fred"
ARY2 = 1:@VM:0:@AM:"Fred":@VM:"Bert"
NEWARY = NES(ARY1, ARY2)

Sets NEWARY to "0VM1AM0VM1".

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