Skip to Content
0
Dec 07, 2014 at 11:52 AM

UDF (Queue), help me with this error.

28 Views

Hi All,

I am trying to convert an array of values to integers an i want to add a constant value to each value in the queue .Below is my code please help me.

Input :- 10 values from the source

output : each value + some constant.

int input[] = new int[10];

int k=10;

int j[]= new int[10];

for(int i=0; i<10; i++)

{

input[i] = Integer.parseInt(var1[i]);

result.addValue(j[i]=input[i]+k);

result.addContextChange();

}

Error :

Source text of object Message Mapping: MM_Test | http://cmstran.com has syntax errors: