Try OpenEdge Now
skip to main content
ABL Reference
ABL Syntax Reference : PROPATH function
 

PROPATH function

Returns the current value of the PROPATH environment variable.

Syntax

PROPATH

Example

This procedure first displays a comma-separated list of the directories in the current PROPATH. It then displays each directory in the current PROPATH, one per line.
r-ppath1.p
DEFINE VARIABLE ix AS INTEGER NO-UNDO.

DISPLAY PROPATH.

REPEAT ix = 1 TO NUM-ENTRIES(PROPATH):
DISPLAY ENTRY(ix , PROPATH) FORMAT "x(30)".
END.

Notes

*ABL stores the PROPATH as a comma-separated list of directories. (ABL strips the operating-specific separation characters (a colon ( : ) on UNIX; a semicolon ( ; ) in Windows) and replaces them with commas.
*The default format for PROPATH is x(70).
*For more information on the PROPATH environment variable, see its reference entry in OpenEdge Getting Started: Installation and Configuration.

See also

PROPATH statement