KNIME Snippet iterate over variables

Hello,

it is possible to iterate over output variables?

These are my output variables:

public Integer out_var_0;

public Integer out_var_1;

public Integer out_var_2;

I want with a for loop to iterate over the variables. As example:

for(int i = 0 ; i < list.size(); i++)
{
   out_var_+i = list.getBit();
}

Is this possible?

Thanks in advance!

 

 

 

Hi,

have you tried writing the variables to a table and then using a Table Row To Variable Loop Start node?

Cheers
Marten