Codeparse group

Welcome to the Code Parse Group! Be sure to subscribe, and don't forget to click "my subscription" if you want to subscribe to the mailing list.


ANT + OE Architect

Hi All,
Is anybody know how to integrate ANT with openedge Architect.


Intigrated Development Environment

Hi Guys,
I'm looking to Implement the integrated Development environment using progress Openedge Architect (Common environment to develop test and deploy).
Im puzzle on how to do this. Anybody have Idea to how to achieve this.


Progress DB access via VM

Hi,

I'm using Progress 10.1c in Linux(ubuntu 10.04) which runs on a Windows machine via VM. The databases are running in Linux as local databases i.e. without specifying any port numbers. How can I access the DB's running on Linux from Windows.
Is i possible at all?

Regards,
Akshay


Retired (historical) pages

Parent page for retired (no longer used) Codeparse pages.


GET does not require parens

Autodox is including internal procedure parameters

Hi there. I am altering autodox2.p to not show internal procedure parameters in the Html page for the procedure. So I comment out getParams in getProcedures yet I still get its parameters showing? For example I get this snippet from the Html:

Parameters:

INPUT internalprocedureparm1 AS CHARACTER
INPUT internalprocedureparm2 AS CHARACTER
INPUT internalprocedureparm3 AS INTEGER
INPUT-OUTPUT proceduredataset
OUTPUT procedurechar AS CHARACTER
OUTPUT procedureint AS INTEGER

I should not see the internalprocedureparm's above right?


Dynamic Transaction (record write,delete.create)

have two procedures that work that can called from trigger level within trigger. They passed a number of paramters including one temp-table containing create/delete information , the 2nd program accepts the current new record and the old record

WRITE TRIGGER

DEF TEMP-TABLE ttnewCustomer LIKE Customer.
CREATE ttnewcustomer.
BUFFER-COPY customer TO ttnewcustomer.
DEF TEMP-TABLE ttoldCustomer LIKE customer.
CREATE ttoldcustomer.
BUFFER-COPY oldcustomer TO ttoldCustomer.


Temp-table to COM Excel

This is a procedure i wrote some years ago now. want to do the same for xml csv , then seperate one for pdf and rtf templates if you want full details of project let me know


Support for Open Edge 10.1C new keywords

Currently i'm getting a parsing error when using ProLint on code with a new 10.1C keyword (FINALLY). I suppose that other keywords aren't supported either yet. I would like to have these added to the parser.


GuiBom - from ABL+Proparse

The new ABL interface to Proparse is getting there!

Output:

Frame: DEFAULT-FRAME
  VARIABLE EDITOR-1
  RECTANGLE RECT-42
  BUTTON BUTTON-8

Code:

FOR EACH symbolRecord
    WHERE symbolRecord.progressType EQ NodeTypes:Frame#:
  frame% = CAST(symbolRecord.symbol, Frame).
  PUT UNFORMATTED
      SKIP(1)
      "Frame: " frame%:getName()
      SKIP
      .
  list = frame%:getAllFieldsAndWidgets().
  DO counter = 1 TO list:size():
    symbol = CAST(list:getNthElement(counter), Symbol).
    PUT UNFORMATTED
        SPACE(2)

Groovy script download

This Groovy script was the original prototype, proof of concept. It generates lots of useful XML, but we decided rather than go from Proparse+Groovy through XML into ABL programs, it would be better to work on the new Proparse ABL API so that we are working with Proparse+ABL right off the bat.

Download the zip file (attached below), unzipping creates a directory called 'guibom'.

Download proparse.jar and put it in that guibom directory.


support smart objects

Would it be hard to support smartobjects like smartframes, smartviewers,... in a smartwindow with PRO/Dox?


duplicate variables

When a window has a variable defined in the definitions section, and an internal procedure defines that same variable internally, PRO/Dox results in a duplicate variable being found in the generated pdx file. Any suggestion for a fix? (other than running through our 14000 files to fix these duplicate variables that may or may not be intentional.)


GUI BoM

Gooey bomb?!

This project is for building a Bill of Materials of frames and widgets. Such a BoM may have many uses, but the immediate goal is for assistance in conversion of existing ABL to use new .Net UI.

The GuiBom is composed of lists of frames, fields, and widgets in a given compile unit, as well as their attributes and links to nodes in the syntax tree where the frames and widgets are referenced. A proof of concept script has already accomplished much of this. The BoM goals appear to be straightforward to achieve by using the new version of Proparse.


Of char and longchars

Came across an interesting thing today. The following code works fine in 10.1C, but not in 10.1B:


FUNCTION Test RETURNS LOGICAL (p_Data AS LONGCHAR):
RETURN YES.
END FUNCTION.

MESSAGE Test("data") VIEW-AS ALERT-BOX INFORMATION.

looks as if 10.1C can mix and match char with longchar, something that I've always wanted to do since longchar became available.

Seems as if Progress are making changes to the language for the better. Now, if only they had a 4GL way to deal with sockets, instead of all this READ-RESPONSE-PROCEDURE and memory pointers etc !


#
Syndicate content