xpmencode

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

xpmencode ?-warn var? xpmId

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. You are responsible for destroying them, or passing them to the engine by xpmdispose.