Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IF condition

Former Member
0 Likes
492

Hi,

I want to write something only if itabA[] or itabB[] is not initial.

I tried:

If not ( itabA[] or itabB[] ) is initial.

write: etc etc.

endif.

Giving me syntax error, can you plz correct the above?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
465
if not itaba[] is initial or
   not itabb[] is initial.
  do something
endif.
4 REPLIES 4
Read only

Former Member
0 Likes
466
if not itaba[] is initial or
   not itabb[] is initial.
  do something
endif.
Read only

0 Likes
465
data: itaba type table of string.
data: itabb type table of string.


if ( not itaba[] is initial )
  or  ( not itabb[] is initial ).

*  do something

endif.

Regards,

Rich Heilman

Read only

0 Likes
465

hi Nuren

do this way

if ( not itaba[] is initial ) or

( not itabb[] is initial ).

do something

endif.

Regards,

santosh

Read only

Former Member
0 Likes
465

if not itabA[] is initial.

write:/ etc.

else if not itabB[] is initial.

write:/ etc.

else.

write:/ 'both are initial'.

endif.

thanks,

kiran.M