Summary:
See also: OPTIONS, SHOWHELP(), fglmkmsg
Message Files define text messages. Each message is identified by a number that can be used by programs.
filename.msg
{
message-definition
| include-directive
}
[...]
where message-definition is:
.message-number
message-line
[...]
where include-directive is:
.include file-name
The following steps describe how to add help messages to your application:
In order to use message files in a program, the message source files (.msg) must be compiled with the fglmkmsg utility to produce compiled message files (.iem).
The following command line compiles the message source file mess01.msg:
fglmkmsg mess01.msg
This creates the compiled message file mess01.iem.
For backward compatibility, you can specify the output file as second argument:
fglmkmsg mess01.msg mess01.iem
01
.10102
This is help about option 103
.10204
This is help about help05
.10306
This is help about My Menu
01
MAIN02
OPTIONS03
HELP FILE "help.iem"04
OPEN WINDOW w1 AT 5,5 WITH FORM "const"05
MENU "My Menu"06
COMMAND "Option 1" HELP 10107
DISPLAY "Option 1 chosen"08
COMMAND "Help"09
CALL SHOWHELP(103)10
END MENU11
CLOSE WINDOW w112
END MAIN