Search results

  1. peterjudge

    Releasing memory

    As @Cringer says, you should clean up on each iteration of the loop. Right now there are n - 1 blobs of memory leaking. That entails adding a ON ERROR UNDO, THROW phrase to the DO block and moving the FINALLY block inside the DO. I would also be careful of buffer scope with the static method...
  2. peterjudge

    Answered How to "prodict" without 4GL Development Kit?

    Extracting the PL files that Progress ships is perfectly legal - Progress supplies tools (in $DLC/src) to help you do just that. The requirement for the development license on the server is due to how the data dictionary was written, a very long time ago. It uses named arguments - not...
  3. peterjudge

    Some questions about Developer Studio

    I think (but am most certainly not an expert on licenses) a developer studio license gives you everything you need for development on Windows. It comes with a bundled db, AppServer, etc . ABL R-code is platform portable and there is an _progres executable shipped on Windows. If you use the...
  4. peterjudge

    Some questions about Developer Studio

    One thing to note: PDSOE is a Windows-only product. PDSOE detects which OE versions you have installed, and can present them to you as Rob showed, for a run or launch configuration. The compilation/syntax highlighting etc capabilities it presents in the editor is for the installed version only...
  5. peterjudge

    3rd party tool to scan the code

    I don't know the details on the CABL implementation, but why would you expect the report output - that's in SonarQube - to be in an OpenEdge format?
  6. peterjudge

    Changes being made to the Proedit section in ini file

    Oh Tom. You know you love GUI programming ....
  7. peterjudge

    Changes being made to the Proedit section in ini file

    It looks (based on the ADE sourcecode, see ADE-Sourcecode/src/adeedit/psystem.i at 9fa598ef448ac6cf16e7e300b94ffac68a819382 · consultingwerk/ADE-Sourcecode ) that these values are set from the procedure editor.
  8. peterjudge

    is developer studio part of the standard openedge package or a paid add-on ?

    I believe it's an etra license. It is definitely something that needs to be selected at install time, and it's only available on Windows.
  9. peterjudge

    PUG Challenge Americas 2023 Conference

    Apparently the Force has taken me to the Dark Side. Or marketing was somehow involved ...
  10. peterjudge

    PUG Challenge Americas 2023 Conference

    And if you're really lucky, you'll get a propeller hat. Or at the very least get to see Tom wearing his. Jokes aside though - the speakers are always knowledgeable, the sessions usually thought-provoking (allegedly even the DBA sessions ;), and the hallways full of interesting conversations...
  11. peterjudge

    Progress editor

    One feature that the OEAG (OE Authentication Gateway) added was the ability to control which users can connect to a database (using RBAC). This is not specific to the procedure editor (or any particular client for that matter), but rather to the DB connection. This functionality is however only...
  12. peterjudge

    Answered How to expand include files content in a procedure file

    To add to @WinningJr 's answer, PDSOE can do the same, via the Preprocessor view. You can also jump to a debug line using the ALT-L shortcut. The debug line number is the line number given in the message box's help (-debugalert). This will take you to the correct line, regardless of whether...
  13. peterjudge

    Chilkat

    Take a look at the -assemblies switch. That, and the XML file in it tell the runtime which DLLs to use.
  14. peterjudge

    Chilkat

    You should be able to convert C# examples into ABL reasonably easily. There are a few things that won't work at all, but generally-speaking, it should all work in ABL. The page at...
  15. peterjudge

    Determine LOG-MANAGER STREAM

    tl;dr : you can't. The LOG-MANAGER is built-in to the AVM and does not expose how it writes to disk, to the ABL. It does expose where (via the LOG-MANAGER:LOGFILE-NAME attribute). What are you trying to write the the LOG-MANAGER that you cannot write using the WRITE-MESSAGE() method? I would...
  16. peterjudge

    Coding styles.

    I ask myself whether >"" includes ? every single time I see it. There are so many functions and statements that return ? when ? is just in the same neighborhood. Clearly my brain does not accept this as valid :D
  17. peterjudge

    Avoid First Line of Import

    Add a line like the below before before the REPEAT block . That imports a line and the caret means the field is skipped. IMPORT STREAM sInput UNFORMATTED ^.
  18. peterjudge

    Coding styles.

    I thought at the time that IF NOT String:IsNullOrEmpty("foo") THEN . was adequate for both cases. But "not" methods are definitely good. Some of this is API design style, some is "we only needed a positive check at that time". The Consultingwerk stuff is not typically publicly visible; I...
  19. peterjudge

    Coding styles.

    This kind of stuff is a perfect use-case for static methods. Progress has , in OpenEdge.Core.String, /* Indicates whether a string is null or empty: empty having no non-whitespace characters @param longchar The value being checked @return logical TRUE if the...
  20. peterjudge

    "Query"

    And I may have to steal your name-idea: judge.p ;)
Back
Top