Quantcast
Viewing all articles
Browse latest Browse all 8852

UDF (Queue), help me with this error.

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 :

Image may be NSFW.
Clik here to view.
Source text of object Message Mapping: MM_Test | http://cmstran.com has syntax errors:  

Viewing all articles
Browse latest Browse all 8852

Trending Articles