# Elementname: `Message`

## Description

Writes a message onto the console and to the protocol file.

Allowed attributes: error, errorcode, exit, select

Child elements: Value

Parent elements: AtPageCreation, AtPageShipout, Case, Contents, ForAll, Loop, Otherwise, Record, SavePages, Table, Tr, Until, While

### Attributes

error (optional)

  Generate an error besides writing the message.

  yes: | Report an error.
  no: | Do not report an error (default).

errorcode (number, optional, since version 2.3.69)

  If an error is raised, use this code on exit. Defaults to 1. Negative values are reserved for system purpose.

exit (optional, since version 3.1.17)

  Tells the software to exit immediately.

  no: | The speedata Publisher continues with the PDF creation.
  yes: | The speedata Publisher exits without finishing the PDF file.

select (XPath Expression, optional)

  Contents of the message. You can alternatively specify the message by the child elements Value.

## Example

# Commands

- A
- Action
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineColorprofile
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- Groupcontents
- HSpace
- Hyphenation
- I
- Image
- Include
- Initial
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- SetGrid
- SetVariable
- SortSequence
- Span
- Stylesheet
- Sub
- Sup
- Switch
- Table
- TableNewPage
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 3.6.1 | Start page | Command reference | Other language: German