Max number of line into a procedure with section editor ?

Borowsky2

New Member
Hi ! :)

I'm using the Section Editor of the AppBuilder (v10.0B) to create a ".r" file.
I wanna know if there is a maximum number of line for a "procedure" ? because i have a problem with my indentation and moreover I can't add more line of code in my procedure.

With "Tools -> New Procedure Window" my query works. But i have to re-write it with the structured method.

Thanks for your reply.
 
The section editor's capacity for one code section ( internal procedure or internal function ) is limited. The underlying issue is that the AppBuilder stores all information while you're editing a program with the section editor in temp-tables and variables. When you hit the limit you will see exactly the issues you experience. There is no way to change this behavior. A solution when you blow the section editor limit is to put the code of the offending internal procedure or internal function into an include file. I know that's not nice, but at least it will work and you don't need to edit the procedure in the procedure editor.

Another solution, of course, would be to upgrade to a more recent version of OpenEdge 10 and use the OpenEdge Architect.


Heavy Regards, RealHeavyDude.
 
Another solution is to ensure you don't write procedures that long and break them up into more manageable chunks. In particular look out for repeated logic that could become a function. Or sections that will nicely go to a separate procedure. It's one of the challenges of writing in the AB.
 
The AppBuilder is programmed in the same language that it is used to develop for. Therefore the same restrictions that apply to the 4GL all apply for the AppBuilder too. Plus, somebody correct me, but it hasen't really changed much since the good ole V8 days. In V9 it still contained the code for Motif ( if anybody knows what that is ) - which was supported by Progress in V7 ...

That means it doesn't make use of all the good stuff that came into the language with OpenEdge 10 as Progress put all their development efforts into the OpenEdge Architect.

Heavy Regards, RealHeavyDude.
 
Back
Top