logic:present checks for null: whether the bean or bean
property exists. it works fine with arrays.
c
At 03:08 PM 5/3/2001 -0400, Alex Colic wrote:
Hi, I have a class which has a method 'Columns' which is a one dim array of
Strings. How can I check to see if that method returns null. I want to
Hi, I have a class which has a method 'Columns' which is a one dim array of
Strings. How can I check to see if that method returns null. I want to write
out one message if it is null another if it is not.
Thanks for the help.
Regards
Alex
if(classinstance.Columns()==null)
//do something
else
//do something
NOTE: There is a difference between checking if an
array is null and checking if the elements within the
array are null. The above example checks the array
itself.
scott.
--- Alex Colic [EMAIL PROTECTED] wrote:
Hi, I
3 matches
Mail list logo