ASPL Guide to Operations v 1.00
© 2024 by SetSphere.COM
3. 2aequal determines if two binned sets are equal
aequal a1 a2 where a1 a2 are two binned set variables
aequal context 2 commu ins:H_H_AH ret:context
Use the set operator aequal to determine if two binned set variables are equal.
aequal EXAMPLEIn this example we will load the sample workspace WS1 and show how
to check if two binned variables are equal.
aequal OPERATION# aspl WS1
(start ASPL loading the sample workspace WS1)
① aspl>
v
(print the set variables symbol table)
② aspl>
aau12 = cU a1 a2
(get the checksum union of a1 and a2 into aau12)
③ aspl>
aau21 = cU a2 a1
(get the checksum union of a2 and a1 into aau21)
④ aspl>
av
(print the augmented symbol table)
⑤ aspl>
aequal aau12 aau21
(check if set binned variables aau12 and aau21 are equal )