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

Syntax ...urgent

Former Member
0 Likes
1,049

Hi,

I need syntax for

If X not equal to <= 2004.

delete x.

endif.

Can someone help me in putting the IF statement proper.

Thank You,

Sai.

Hi,

I need syntax for

If X not equal to <= 2004.

delete x.

endif.

Can someone help me in putting the IF statement proper.

Thank You,

Sai.

8 REPLIES 8
Read only

Former Member
0 Likes
1,023

Sai,

Dont you think,

If X>2004.
delete x.
endif.

works??

Regards

Aneesh.

Read only

Former Member
0 Likes
1,023

IF X > 2004.

CLEAR X.

ENDIF.

That will work.

Regards

Nishant

Read only

naimesh_patel
Active Contributor
0 Likes
1,023
if X > 2004.
delete x.
endif.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
1,023

Hi,

Guess it should be


If  X GT 2004.
delete x. OR CLEAR X.    " if its a variable.
endif.

Cheers

VJ

Read only

Former Member
0 Likes
1,023

Try:

IF NOT x <= 2004.
  CLEAR x.
ENDIF.

Rob

Read only

Former Member
0 Likes
1,023

Hi,

If X>2004.
delete x.
endif.

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
1,023

Hi,

If X > 2004.

delete x.

endif.

trythis,

KC

Read only

Former Member
0 Likes
1,023

Try:

IF Not X LE 2004.

Clear X.

ENDIF.

Thanks,

Suresh Ganti