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

help in if

Former Member
0 Likes
731

hallow

i wont to now how i can do if statment in this logic

if a and b and c and d is not initial.

end if.

regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
710

Hi,

data : a type i,
 b type i,
 c type i,
 d type i.
 
 if a ne ' ' and b ne ' ' and c ne ' ' and d ne ' '.
 endif.

Regards

Aneesh.

hallow

i wont to now how i can do if statment in this logic

if a and b and c and d is not initial.

end if.

regards

5 REPLIES 5
Read only

Former Member
0 Likes
711

Hi,

data : a type i,
 b type i,
 c type i,
 d type i.
 
 if a ne ' ' and b ne ' ' and c ne ' ' and d ne ' '.
 endif.

Regards

Aneesh.

Read only

Former Member
0 Likes
710

HI,

Try this..

if a is not initial and b is not initail and c is not initail and d is not initial.

endif.

Regards,

kamal

Read only

0 Likes
710

There are a few ways to do this.



if a <> space
 and b <> space
 and c <> space
 and d <> space.


endif.



Read only

Former Member
0 Likes
710

Hi,

Try like this:

if (a is not initial) and (b is not initial) and (c is not initial) and (d is not initial).

...

endif.

Regards,

Bhaskar

Read only

Former Member
0 Likes
710

Hi,

IF NOT ( a IS INITIAL OR

b IS INITIAL OR

c IS INITIAL OR

d IS INITIAL ).

ENDIF.

Regards,

Ranjit Thakur.

<b>Please Mark The Helpful Answer.</b>