05-14-2007 08:46 PM
05-14-2007 08:50 PM
05-15-2007 01:46 AM
I must confess that I could not quite understand your problem
are you telling that you are not able to modify a particular entry/element in an array using replace subset array function??
Also in the pic attached, why are you passing the array through the 2 nested for loops????
did you want to modify the array elements inside for Lop using the 'i' value of the for loop as the row/column index value??
If yes, pass the 2D array through a shift register and modify the array on each iteration of your 'for' loop
05-15-2007 04:13 AM
Hi,
Thanks for your reply.Sorry for the confusion.
I manage to change the array element by changing the row and column value. But, what i want is to allow the program to change the array element at a specified row and column value, where the new value is generated automatically by the program.
Atatched is the diagram. I've detailed out the program . you may refer to the comments in the formula node. There are 2 arrays going into the loop. If a >3, then the program will switch to b, where if b =0, then the program will check on the value of the next element which is in the same row with b but in the next column. But if b =45, another set of checking will be done at a dufferent value of row and column.
I hope that I have made the problem clear. Sorry if it is still confusing.
Hope you can help me. Thank you!!!!
05-15-2007 04:28 AM
05-15-2007 04:45 AM - edited 05-15-2007 04:45 AM
05-15-2007 05:21 AM