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 Error

Former Member
0 Likes
731

Hi frinds,

My program i have one standard include getting syntex error.. it says ' constants has already been declared'. But its declared one time only. four program facing same problem.Give me need full solution for me.

thanks

Prabu

Moderator message: please use a more descriptive subject line next time.

Edited by: Thomas Zloch on Apr 13, 2010 1:12 PM

6 REPLIES 6
Read only

Former Member
0 Likes
701

Maybe the same constants are declared in the INCLUDE also.

Go to the include and search for the constant using FIND and select 'In main program' option in the Programs to be included tab in the Find dialog box

This will help you see where the constants have been declared.

regards,

Anoop

Read only

Former Member
0 Likes
701

Do a global search on the constant in the main porgram. You will find all the occurences where the constant is declared and used

Read only

Rocky1
Product and Topic Expert
Product and Topic Expert
0 Likes
701

Hi,

Which standard include are you using? For which constant does it saay like that? Try to exccute after deleting the explicit declaration of that constant in your program(if any). If the problem persist, please provide the above mentioned details.

Thanks & Regards

Rocky

Read only

Former Member
0 Likes
701

Hi friends,

i search all way it vil declared only once..

include name: EMSG_CONSTANTS

only one constants used all the all the place... i dont why it says already declared.

please let me know need full solution

Read only

0 Likes
701

Hi,

Place this include statement in the Top of your program (Just after the report statement) and activate all the objects at once. Error might be at some other place.

Thanks,

Vinod.

Read only

Former Member
0 Likes
701

Its solved... Thanks