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

PROMSGS function

Returns the current value of the ABL PROMSGS variable.

Syntax

PROMSGS

Example

This example uses the PROMSGS function to determine whether the default message file (promsgs) is in use. If not, it uses the PROMSGS function again to display the name of the current message file.
r-promsg.p
IF PROMSGS = "promsgs" THEN
  MESSAGE "Using default promsgs file.".
ELSE
  MESSAGE "Using" PROMSGS.

See also

PROMSGS statement