simlogo1

 

 

 

SimQuest 6.4 help

 

 

NotEqual

 

When applied to two scalar values or two arrays of values, NotEqual produces either a boolean which indicates whether or not the two scalar values are not equal or an array of booleans indicating whether or not each component of the first array is not equal to the corresponding component of the second array, respectively.
It has three variables: in1, in2 and out.

 

Structure (for scalars):

       if in1 = in2 then out becomes false

       if not(in1 = in2) then out becomes true

 

Examples:

       2 = 2 becomes false

       3 = 7 becomes true

       (2, 3) = (2, 7) becomes (false, true)

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011