Quantcast
Channel: The OpenEdge Hive - Code Samples
Browsing all 10 articles
Browse latest View live

Testing character values to see if they are integer, decimal or character...

This set of examples show various methods to test for character, integer, and decimal values. The various test methods came from a discussion on the PEG and suggestions by members and myself.Typical...

View Article



Example function to return various date formats. YYYYMMDD

In this example function you pass to it the format you want YYYYMMDD YYMMDD ISO etc. along with date and time delimiters you wish to use. This does use the NOW statement which is not in older...

View Article

Video on calling web services from the 4GL/ABL

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.htmlDevelopment Tools Group

View Article

How to add a colored square in the titlebar through api

Sometimes it's neccessary to add a Caption in the titlebar to give extra information to the user of your application. The attached file does this, and makes sure the window got redrawn when windows...

View Article

GUI OpenEdge Password Meter

A password meter written in ABL. It is database independent and uses the first connected database for the session. By default it has 2 levels of strength that can be easily checked for and/or required:...

View Article


Introduction to the parameter object

I'm reading Martin Fowler's refactoring and will work out some of his methods (which also apply to building new software) in this blog. Read this to get some background...

View Article

New Version of base64encode.p

Dries Feys was good enough to send out a new base64encode.p file over the peg. I am posting it here for further distribution (and use!)(Note: Some have said they have had problems with this.)ABL(4GL)...

View Article

Haversine implementation in ABL

This is the Haversine formula translated into an ABL procedure. The Haversine formula is used for determining the Great-Circle distance in km between two latitude/longitude references.The formula is...

View Article


Marginal Tiete - progress game

Greetings, I made this game to emulate Atari's Grand Prix. You can use this code to view how to use dynamic objects and other functions like includes, and methods.Running: 1. Extract all files, 2....

View Article


Using .net user control with 4GL (adm2) container

The sample shows how a .net user control can be used with an ADM2 container. There is no specific support for ADM2 otherwise (links, etc) but it should be quite possible to modify the window super-proc...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images