formatText: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
<h2 style="color:#000066">''' formatText ''[format, arg1, arg2, ...]'''''</h2> | |||
<h2 style="color:#000066"> | |||
Line 22: | Line 21: | ||
'''Description:''' | '''Description:''' | ||
Creates a structured text by replacing %1, %2, etc. in format | Creates a structured text by replacing %1, %2, etc. in format with plain or structured texts given as arguments. | ||
'''Example:''' | '''Example:''' | ||
txt = '''formatText'''' ["Image: %1", [[image]] "data\isniper.paa"] | txt = '''formatText'''' ["Image: %1", [[image]] "data\isniper.paa"] |
Revision as of 22:29, 3 July 2006
formatText [format, arg1, arg2, ...]
Operand types:
[format, arg1, arg2, ...]: Array
Type of returned value:
Compatibility:
Version 2.01 required.
Description:
Creates a structured text by replacing %1, %2, etc. in format with plain or structured texts given as arguments.
Example:
txt = formatText' ["Image: %1", image "data\isniper.paa"]