composeText: Difference between revisions
Jump to navigation
Jump to search
Fred Gandt (talk | contribs) m (Further wikilinking. Apparently lineBreak is NOT a variable name. This is why code should be <code> and wikilinked :-)) |
(syntax, added see also) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | '''composeText''' [text1, text2, ...] |= Syntax | ||
|p1= [text1, text2, ...]: [[Array]] |= Parameter 1 | |p1= [text1, text2, ...]: [[Array]] of [[String]]s and/or [[Structured Text]]s |= Parameter 1 | ||
| [[Structured Text]] |= Return value | | [[Structured Text]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_txt = [[composeText]] ["First line", image "data\isniper.paa", [[lineBreak]], "Second line"];</code> |= Example 1 | |x1= <code>_txt = [[composeText]] ["First line", [[image]] "data\isniper.paa", [[lineBreak]], "Second line"];</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[image]], [[lineBreak]], [[parseText]], [[text]] |= See also | ||
}} | }} |
Revision as of 20:40, 15 March 2014
Description
- Description:
- Creates a structured text by joining the given structured or plain texts.
- Groups:
- Uncategorised
Syntax
- Syntax:
- composeText [text1, text2, ...]
- Parameters:
- [text1, text2, ...]: Array of Strings and/or Structured Texts
- Return Value:
- Structured Text
Examples
- Example 1:
_txt = composeText ["First line", image "data\isniper.paa", lineBreak, "Second line"];
Additional Information
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