Tutorial by Examples

/* These variables are declared with `NO-UNDO`. That state...
Progress supports one dimensional arrays, but they are called EXTENTS. /* Define a character array with the length 5, and display it's length */ DEFINE VARIABLE a AS CHARACTER EXTENT 5 NO-UNDO. DISPLAY EXTENT(a). Individual positions i the array is accessed using "standard" c-style b...
Using LIKE you can base the definition of you variable on another variable or a field in a database or temp-table. Defining a variable LIKE a database field requiers the database to always be connected. This might not always be what you want. DEFINE VARIABLE i AS INTEGER NO-UNDO LABEL "Nr&quo...

Page 1 of 1