キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Index Array for running data

解決済み
解決策を見る

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.

0 件の賞賛
メッセージ21/30
2,455件の閲覧回数

Agreed, apologize for the confusion. I think theyre on the right path now though.



-Matt
メッセージ22/30
2,453件の閲覧回数

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 

GetFilePosition.png

0 件の賞賛
メッセージ23/30
2,430件の閲覧回数

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.



-Matt
0 件の賞賛
メッセージ24/30
2,420件の閲覧回数

Here's my code so far 

 

Thanks, 

Andrea 

0 件の賞賛
メッセージ25/30
2,415件の閲覧回数

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.



-Matt
0 件の賞賛
メッセージ26/30
2,410件の閲覧回数

Can you save it as 2013? I can't open it as 2015 

 

Thanks, 

Andrea 

0 件の賞賛
メッセージ27/30
2,404件の閲覧回数
解決策
受理者 AndreaD

2013 version attached.



-Matt
メッセージ28/30
2,402件の閲覧回数

Thank you, it works! 

 

Question - why does the index of element jump to -1? 

 

Thanks, Andrea 

0 件の賞賛
メッセージ29/30
2,395件の閲覧回数

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 スマイリー ウインク

 

 

 



-Matt
0 件の賞賛
メッセージ30/30
2,391件の閲覧回数