"Check Syntax" error in OpenEdge Architect

razmig

New Member
I am using preprocessors while defining class names:

Example:

Code:
&GLOBAL-DEFINE CLASS_ROOT       path.to.class
CLASS {&CLASS_ROOT}.ClassName:
...

While working in the procedure editor, "Check Syntax" does not give any errors, and I can run the class without any problems. But, in the OpenEdge Architect, "Check Syntax" gives errors, although compile does not, I can also run the classes normally.

Is there any workaround for this issue, because I really prefer using the Architect.

Progress Version: 10.1B

Thank You,
 

razmig

New Member
Yes, I have used "USING" without any problems.

But, the issue is in defining the class name, where USING does not have any effect.

Instead of writing:
CLASS path.to.class.ClassName:
END CLASS.

I would like to write:
CLASS {&CLASS_ROOT}.ClassName:
END CLASS.

I cannot use "USING" at this stage.

Anyway, my problem is in the "Check Syntax" of the OpenEdge Architect only. Because, if I open the classes in the Procedure Editor "Check Syntax" works, so there are no syntax errors in this code.
 
Top