I would very strongly suggest to
loose the formula node for these kinds of operations, it is clumsy and inefficient. Use wires!!!
🙂Your code makes very little sense, for example your loop count is determined by the value of the biggest array element, which might or might not have any relation to the array dimension. You could well index into vacuum in many cases. Shouldn't it run for each row once???
In the case of the formula in your example code (result=X1+X2+X3+X4+X5+X6+X7+X8), you could use a very simple autoindexing construct such as in this picture. It can easily be modified for more complex arithmetic.
How many possible formulas do you need? Couldn't you predefine a set to be selected via a ring and case structure?
Message Edited by altenbach on 06-03-2005 10:29 AM