messagefile <assign> {,<assign> ...}
Create one or more messagefile identifiers and (optionally) give them file name values.
<assign>: <ident> { = <value>}
<ident> - The name of the identifier.
<value> - A string expression yielding a file name.
None
If no value if given, the identifier is initialized to an empty string and no file is associated with it. If a valid message file is given, the file is opened and becomes available for message extraction. Message files are created by the external utility genmess.
Multi-language message files have the notion of a "current language"
to enable languages to be switched during a session.
Create a new messagefile identifier.
messagefile mymesf = '$MYLIB/messages.mes'
Print a message from the file, message 7 from set 4
tell mymesf.text(4,7)
Print a message from the file using format control. The message 4 in set 2 might contain the text: "Maximum value is %d for this operation"
numeric n = 999 tell mymesf.text(2,4,n)
|
Structures: |
|
|
Utilities: |