xpmencode

xpmencode ?-warn var? xpmId

This encodes a message according to the XPM output data state, and returns its handle.

  • Any warnings that are generated during the encoding process are appended to the variable var.
  • Encoding a message does not affect the translation process.
  • Messages that are produced by this command exist only in the interpreter. The user is responsible for destroying them, or passing them to the engine by xpmdispose.