Progress
Language Reference


PROMSGS Function

Interfaces
OS
SpeedScript
All
All
Yes

Returns the current value of the Progress 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


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095