on 12-10-2007 10:59 AM
Hi,
I am writing very basic UDF in java - The code is
for (int i=0; i<a.length; i++)
{
for(int j=0; j><b.length; j++)
{
if(b[j] == a<i>)
result.addValue(c<i>);
}
}
But when i look at the queue of this function the output is suppressed and no element is created. The values for array a,b, and c are as follows -
a = 000010,000020 b = 000020, 000010,000010,000010,000010,000010,000010,000010
c = 2100,2100
When i try and execute same program in standalone java application with above constant array values i get the desired output. The same code dosent work in XI.
Anything wrong that you see here?
Thank you.
Pavan
Message was edited by:
pavan sodani
Message was edited by:
pavan sodani
Message was edited by:
pavan sodani
Sorry i missed out on some part while posting
Hi,
I am writing very basic UDF in java - The code is
for (int i=0; i<a.length; i++)
{
for(int j=0; j><b.length; j++)
{
if(b[j] == a<i>)
result.addValue(c<i>);
}
}
But when i look at the queue of this function the output is suppressed and no element is created. The values for array a,b, and c are as follows -
a = 000010,000020 b = 000020, 000010,000010,000010,000010,000010,000010,000010
c = 2100,2100
When i try and execute same program in standalone java application with above constant array values i get the desired output. The same code dosent work in XI.
Anything wrong that you see here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.