11-27-2009 09:47 PM
I must be overlooking something here, but I cannot seem to build a 1D array from scalar elements, here's an example of what I'm trying to do...
Instead of having the scalar element appended to the first element of the array I would like each scalar element to be added to each element of the array (the array should read: {0,1,2,3,4}). The help file is a little misleading here... "If all the inputs are scalar elements, Concatenate Inputs is automatically deselected and cannot be selected, and the output is a 1D array containing the elements in order", but instead of putting them in order it just writes over the previous one.
Any help is greatly appreciated!
Solved! Go to Solution.
11-27-2009 10:08 PM
Try this.
Note you have to enable indexing
11-27-2009 10:36 PM
11-28-2009 07:09 AM
Hi all..
Does anyone know how to build an array, from a set of scalar values, in the same way, but without the knowledge of how big the array is going to be?
I have a routing that will create values, from a formula, and place them one by one into the array. But, the number of values changes each time, so I can't write a value to 'N' in the for loop.
How can I get around this?
Cheers!
Paul..
11-28-2009 07:39 AM
Use a while loop and determine when to exit the while loop.
Per default indexing is disabled on a while loop but you can activate it (right click on the tunnel)
Ton