07-29-2016 01:01 PM
Okay. I see what you are saying. I wasn't following, mainly because it was an answer to a question by the OP, which really wasn't a clear enough question and a question that getting the answer to wouldn't help them understand the underlying problem they were having.
07-29-2016 01:09 PM
Agreed, apologize for the confusion. I think theyre on the right path now though.
08-01-2016 09:25 AM
I'm having a little trouble incorperating the Get File Position into my code. How do I hook it up? I don't think this is correct. Thanks, Andrea
08-01-2016 10:36 AM
Andrea,
If you post the code i can rewrite it for you, but im pretty sure you no longer need the file position because you are not reading back the array from the file. You should take the index of element from the search array and use that to index the hex integer string array. Then have an indicator for the output of the index array.
08-01-2016 10:49 AM
Here's my code so far
Thanks,
Andrea
08-01-2016 11:00 AM
Hi andrea,
I just rewrote this, im assuming this is what youre looking for. I made 2 revisions. The first i added the element at the index of A5, i also gave you the option for a subset of the array starting at A5 because i remember seeing something like that in an earlier post.
Let me know if this works.
08-01-2016 12:54 PM
Can you save it as 2013? I can't open it as 2015
Thanks,
Andrea
08-01-2016 12:56 PM
2013 version attached.
08-01-2016 01:23 PM
Thank you, it works!
Question - why does the index of element jump to -1?
Thanks, Andrea
08-01-2016 01:39 PM
If the search 1d array does not find the element, in your case A5 is not in the array, the response will be -1.
You can look in the detailed help for seach 1d array if youre interested in its functionality.
Also, good habits for the forums are to mark solutions to your posts and then start new posts for new questions