Hi All,
I write a UDF to change context but it is not working properly
can any please guide me. code is ,
for (int i = 0 ; i<Plant.length ; i ++)
{
int b = 0;
for (int j = 0 ; j<Plant.length ; j++)
{
if (i!=j)
{
if (Plant<i>.equals(Plant[j]) )
{
b++;
}
}
}
if (b > 0 )
{
result.addValue(ResultList.CC);
}
else
{
result.addValue ("true") ;
}
}
In this code it is working for 'result.addValue ("true")' but not for 'result.addValue(ResultList.CC)'
Can any one tell me where is a problem?
---Rohit