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

preserving orig data while adding new elements

I want to build a static array of 10 elements, then while sitting in a while loop choose which element to over write but keep all other elements unchanged.  I can change element 4 for example, but everytime I change an element, the other elements are reset back to 0.
0 件の賞賛
メッセージ1/3
2,738件の閲覧回数
Most likely, you need a shift register. Feed the modified array to the right shift terminal and read it back from the left shift register.
 
If you don't, you continue to read from the plain tunnel at each iteration, which of course is always all zeroes.
0 件の賞賛
メッセージ2/3
2,737件の閲覧回数
Here's a simple draft image...

Message Edited by altenbach on 01-31-2007 01:06 PM

0 件の賞賛
メッセージ3/3
2,734件の閲覧回数