06-07-2012 03:29 AM
Hi
I'm trying to insert a row of 1d array into 2d array but it has to be placed at the desired index as the starting point.
For example, row 1 , column 2. = starting point.
I already wrote the program but the result is not that i want.
As shown in the picture, a number 6 in (0,2) , it should be placed in a yellow highlight.
Please help and guide me.
Solved! Go to Solution.
06-07-2012 04:34 AM
06-07-2012 04:51 AM - edited 06-07-2012 04:52 AM
06-07-2012 06:42 AM
Many thanks GerdW
So, it's mean that I have to replace an element at a time right?
Can I replace an entire row at a time?
06-07-2012 06:46 AM - edited 06-07-2012 06:47 AM
Hi fatty,
yes, you can replace a complete row - when you only wire the "row"! input of ReplaceArraySubset. But you wanted to replace only some elements of a complete row...
Otherwise that operation would be not properly defined: in a 2D-array you can replace rows and columns. When you wire both row and column index, you have no option to define "replace row" or "replace column"...