formatText: Difference between revisions
Jump to navigation
Jump to search
m (arguent amphasis) |
mNo edit summary |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Structured Text]] <nowiki>=</nowiki> '''formatText''' [ | | [[Structured Text]] <nowiki>=</nowiki> '''formatText''' [format, arg1, arg2, ...] |= Syntax | ||
|p1= format: [[String]] | |p1= [format, arg1, arg2, ...]: [[Array]] | ||
| | |p2= format: [[String]] | ||
|p3= arg1, arg2, ...] | |||
| [[Structured Text]] |= Return value | | [[Structured Text]] |= Return value |
Revision as of 23:51, 22 January 2009
Description
- Description:
- Creates a structured text by replacing %1, %2, etc. in format with plain or structured texts given as arguments.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Structured Text = formatText [format, arg1, arg2, ...]
- Parameters:
- [format, arg1, arg2, ...]: Array
- format: String
- arg1, arg2, ...]
- Return Value:
- Structured Text
Examples
- Example 1:
- _text = formatText ["Image: %1", image "data\isniper.paa"]
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note