Kojekude Posted May 28, 2021 Report Share Posted May 28, 2021 I need help, I want to know if two arrays have identical values. What are possible outputs values of this function (F - Result index) and what is the meaning of these values? Thank you Link to comment Share on other sites More sharing options...
NoamM Posted June 3, 2021 Report Share Posted June 3, 2021 Dear Kojekude, From Help section:Use this to compare sections of an array of bits or registers. Compare returns the location of the first array element that differs where the given arrays differ, and -1 when they are equal. Parameter Name Purpose A First Array Select the Array to compare to B Start Index in first Array Set the start member for the compare operation C Second Array Select the Array to compare D Start Index in second Array Set the start member for the compare operation E Compare Length This is the number of registers for the compare operation. F Result This is the tag that contains the result - The location, in the second array, of the first element that differs from the first - -1 if the array values are identical - -2 if the index values, or length, exceed the length of the array. Link to comment Share on other sites More sharing options...
Kojekude Posted June 9, 2021 Author Report Share Posted June 9, 2021 Thank you so much! It was my fault for not looking carefully enough in Help section. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now