-WmsgFonf: Message Format for No File Information

Group

MESSAGES

Scope

Function

Syntax
  -WmsgFonf<string> 
  
Arguments

<string>: format string (See below.)

Default
  -WmsgFonf"%K %d: %m\n" 
  
Defines

None

Pragmas

None

Description

Sometimes there is no file information available for a message (for example, when a message is unrelated to a specific file). Then <string> defines the message format string to use. The following table lists the supported formats.

Table 1. Message Format Specifiers
Format Description Example
%K Uppercase kind ERROR
%k Lowercase kind error
%d Number C1815
%m Message text
%% Percent %
\n New line  
%" A " if the filename, if the path or the extension contains a space  
%' A ' if the filename, the path or the extension contains a space  
Example
  -WmsgFonf"%k %d: %m\n"

  

Produces a message in the following format:

  information L10324: Linking successful

  
See also

ERRORFILE: Error Filename Specification

-WmsgFb (-WmsgFbv, -WmsgFbm): Set Message File Format for Batch Mode

-WmsgFi (-WmsgFiv, -WmsgFim): Set Message Format for Interactive Mode

-WmsgFonp: Message Format for No Position Information

-WmsgFoi: Message Format for Interactive Mode