Understanding message files
This is an introduction to message files.
Message files define text messages with a unique integer identifier.
Several message files can be created and loaded by the same program.
Message files are typically used to implement application help system, and are especially designed for the TUI mode.
In order to use a message file, do the following:
- Create the .msg source message file with a text editor.
- Compile the source message file with fglmkmsg to create the .iem binary format.
- Copy the binary file to a distribution directory.
- In programs, specify the message file with the
OPTIONS HELP FILE
instruction. - Use a specific message with the
HELP
clause of dialogs, or load a given message with theSHOWHELP()
function.
Message files provide a simple way to implement a help system in your application.
For other application messages and texts, consider using localized strings instead of message files.