formatText

From Bohemia Interactive Community
Revision as of 01:40, 2 July 2006 by Hoz (talk | contribs)
Jump to navigation Jump to search



formatText [format, arg1, arg2, ...]


Operand types:

[format, arg1, arg2, ...]: Array

Type of returned value:

Structured Text

Compatibility:

Version 2.01 required.

Description:

Creates a structured text by replacing %1, %2, etc. in format by plain or structured texts given as arguments.

Example:

txt = formatText' ["Image: %1", image "data\isniper.paa"]