The input message file is a standard text file. The purpose of the message text file is to define all of the messages needed by an application in a format that makes it easy to support multiple languages with the same source file.
The basic syntax of the message text file is:
Keyword=Value
where, spaces around the equal sign are ignored and the value is delimited by white space from the next Keyword=Value pair. Case is ignored when comparing against keyword names. The value port can either be a numeric integer constant, {NUMBER}, using C syntax; a symbol name, {NAME}, that complies with the rules for C identifier names; or a file name that conforms to the rules for the FAT file system (i.e. 8 characters or less, no periods).
Comment lines are allowed in the input message file. Comments must begin with a semicolon (;) in the first column and are terminated by the end of the line. Comments that exist by themselves on a line are copied, as-is, to the output .h file, with the semicolon converted to the C end-of-line comment syntax (//).
The overall structure of the message text file consists of a header section, followed by zero or more message definitions.
![]()
Message Compiler - An Overview
MKMSGF - Make Message File
Utility
MKMSGF - Input Message File
Message Compiler -
Input Message File Example