$MESSAGE Inbox
@ count int
@ size double
|You have {$count} new messages ({$size;std::fixed;std::setprecision(1)} MB).
[tr]
|{$count} yeni mesajınız var ({$size;std::fixed;std::setprecision(1)} MB).

Order inside a message:

  1. parameters — all of them before the first text;
  2. text lines, grouped by language headers.

A message ends at the next directive or at the end of the file.

The artefact list

$MESSAGE Timeout : STRING THROW

After a colon, the artefacts to generate for this message — exactly these, whatever the sticky ENABLE / DISABLE settings say. Their naming and other options still come from the settings. An empty list, or a word that is not an artefact, is an error.

Rules

  • The name is a name and must be unique in the module (imported files included).
  • A message without any text gets a warning.
  • Text lines outside a message are an error:
app.msg:1:1: error: message text outside of a $MESSAGE block