This group is for topics on coding in ABL (formerly known as Progress 4GL). Topics include code snippets, code examples, utility programs, tricks, techniques, and patterns. There are other groups for other more specific topics like Win32 API, OO programming, and specific programming tools.
In the SaaS world, often customers will want their own customizations into the source code specific to how they want to do business with your software.
Here is a point where object oriented programming stands out. By crafting your programming in such a way that basic functionality is enhanced - you can use different classes specific to particular customers for enhanced implementation.
Since we are going to potentially be using one of multiple classes, we need to have an interface describing the methods available in the class.
Hi to all,
Can anybody direct me where I can browse for Webspeed tutorials? Any links?
I found some pdf files but just like an introductory.
I want to know how to use speedscript in updating records.
Thanx in Advance.
Updated to work with OpenEdge 10.2A
OEUnit is a unit testing framework for Object Oriented ABL (OOABL). OEUnit is intended to help write and run repeatable unit tests. OEUnit is similar to JUnit and other xUnit-based unit testing frameworks.
Make sure that the PROPATH in use at the time you use the COMPILE statement have the source code folders available as the first folders. That's also true for the PROPATH used by OE Architect's syntax analysis.
I use the sax-reader to get information about geocoding an address. I is very usefull because correct the address, check it and give my the geoposition ( lat/long ).
The problen is that in Spanish there are tilde in vocals line "José" and the SAC-READER don´t retrive it.
I give a simple example to check whay I meen, just run in the Procedure Editor, I would appreciate any help.
/*****************************************/
DEFINE VARIABLE hParser AS HANDLE NO-UNDO.
define variable hhandler as handle no-undo.
define variable clee as char no-undo.
A new library of Amduus Classes I am putting together includes some code for sending email in Progress 10.1a or better programs.
Example call in HTML with embedded images and an attachment.
define variable M as com.amduus.mail.MailBySendmail no-undo.
define variable HTML as character no-undo.
M = new com.amduus.mail.MailBySendmail().
M:ToEmail = "sauge@localhost".
M:FromEmail = "root@localhost".
M:BCCEmail = "root@localhost".
M:Subject = "Test 1".
HTML = "<html><body>"
+ 'This is a <b>test</b> <img src="cid:y1"> email'
I have a video up on amduus.com on how to call out to web services with example coding.
The video can be seen at http://amduus.com/training/Using_bprowsdldoc.html
I have a book on object oriented programming in the ABL language available at http://www.lulu.com/content/paperback_book/discussions_of_object_oriente...
Since it is asked quite often in the Progess community how to set up a broker in the MS Widnows environment, here is a little video on how to accomplish this.
View the video at http://amduus.com/training/WebspeedBrokerOnWindows.html
One of the important things in software development is to do unit testing - that is a set of tests the programmer can do on a piece of code to be assured it is most likely working the way one wants it to.
Surprisingly it is rare to find unit test code as part of a source code file. If it is created at all (horror), it is usually tucked away on some developers disk someplace or simply thrown away!
What I have found helpful for myself as well as others working the same code, is to place a comment at the end of the program with the unit test code.
Hi,
Can anyone please help me with the sample 4GL Code to create charts in star Office.
Cheers
Prashant
Does anyone know something more how about you can connect, send data,... in progress too an SFTP-server?
I need some trigonometrics function and 4GL don´t include any one.
Have anyone any dll to solve this? This is for the windows environment.
Thanks in advance.
Hi All.
I'm trying to write a new Web Service.
It is a order contained in the body of the soap message.
How do I read the data within the soap message?
Below is a extract from the soap message.
TEST
SECRET
MSG-123
4012345500004
5412345000013
5412345000013
I have an application that had a combo-box in drop-down mode ( allow editting like fill-in) and use triger "ANY-KEY" for processing. I need the CURSOR-OFFSET to set the cursor position, but i get and error.
Is this a bug?, any work around perhaphs an API call ?.