simlogo1

 

 

 

SimQuest 6.4 help

       

 

Equal

 

When applied to two scalar values or two arrays of values, Equal produces either a boolean which indicates whether or not the two scalar values are equal or an array of booleans indicating whether or not each component of the first array is 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 true

       if not(in1 = in2) then out becomes false

 

Examples:

       2 = 2 becomes true

       3 = 7 becomes false

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

 

 

 

Related topics:

 

 

 

Copyright University of Twente 2011