Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

UDF (Queue), help me with this error.

$
0
0

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:  

Viewing all articles
Browse latest Browse all 8808

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>