Find value from longfill
bennettdan
Posts: 614
Hello,
What I want to know is how to loop through say three longs that i have used the "LONGFILL" instruction to enter the values to see if they match a know value then execute a function if they match.
What I want to know is how to loop through say three longs that i have used the "LONGFILL" instruction to enter the values to see if they match a know value then execute a function if they match.
Comments
You have to pass the addresses of the arrays you want to check, as well as the length. If they match, you get true back, otherwise false.
Andy
Let me see if I understand you gentlemen right if I have the Pointer name and Length of the long I am looking for then Jon's example will return true it if it is match. If I want to scan each Value in an array of longs then Andy's example will look at each Value not just the name and length. Is this Correct?