on 10-26-2007 11:09 AM
Hi,
I am working with one UDF. which giving me error "required: boolean if ( i = 2)"
my UDF Is
-
UDF to get 2nd value
for (int i =0 ; i <a.length; i++)
{
if ( i = 1)
result.addValue(a<i> );
}
Here I need to check when i=1 then only i need to add value in result.
Can you advice me...
regards,
Ansar.
use "==" with single "=" it will assign the value niot check....
for (int i =0 ; i <a.length; i++)
{
if ( i == 1)
result.addValue(a );
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It should == instead of =
for (int i =0 ; i <a.length; i++)
{
if ( i == 1)
result.addValue(a );
}
Regards,
Shabari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.