08-28-2024 04:00 AM
had use for loop create origin multi table
want change multi index form 3 to 100
to ahieve modify multi table how to use for loop to achieve it
thanks a lots
Solved! Go to Solution.
08-28-2024 04:37 AM
Hi Aaron,
@ironaaron wrote:
had use for loop create origin multi table
want change multi index form 3 to 100
to ahieve modify multi table how to use for loop to achieve it
Both "tables" look like ordinary 2D arrays…
You just need to use ReplaceArraySubset to replace the 3rd row of the input array with a 1D array to achieve your desired output!
What have you tried and where are you stuck?
08-28-2024 10:03 AM - edited 08-28-2024 10:05 AM
@ironaaron wrote:
had use for loop create origin multi table
want change multi index form 3 to 100
to ahieve modify multi table how to use for loop to achieve it
You need to explain your terms ("multi table", "multi index", "origin"). (For example there is a program called origin, are you trying to interface?)
The index of an array element just points to a cell, it does not contain data that can be changed. You want to change the array value, not the index.
So please explain what you want to to. Where does the 2D array come from? Where does the new data row come from? Where does the result go? (and please don't tell us how it needs to be done. Most likely a FOR loop is not even needed!)