composeText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|COMPOSETEXT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |COMPOSETEXT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|COMPOSETEXT]]


| arma |= Game name


<h2 style="color:#000066">''' composeText ''[text1, text2, ...]'''''</h2>
|2.01|= Game version
____________________________________________________________________________________________


| Creates a structured text by joining the given structured or plain texts. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''composeText''' [text1, text2, ...] |= Syntax


'''[text1, text2, ...]:''' [[Array]]
|p1= [text1, text2, ...]: [[Array]] |= Parameter 1


'''Type of returned value:'''
| [[Structured Text]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>txt = composeText ["First line", image "data\isniper.paa", lineBreak, "Second line"]</pre> |= Example 1
____________________________________________________________________________________________


[[Structured Text]]
|  |= See also


'''Compatibility:'''
}}


Version 2.01 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Creates a structured text by joining the given structured or plain texts.
<h3 style="display:none">Bottom Section</h3>


 
[[Category:Scripting Commands|COMPOSETEXT]]
'''Example:'''
[[Category:Scripting Commands OFP Elite |COMPOSETEXT]]
 
[[Category:Scripting Commands ArmA|COMPOSETEXT]]
txt = '''composeText''' ["First line", image "data\isniper.paa", lineBreak, "Second line"]

Revision as of 23:59, 1 August 2006

-wrong parameter ("Arma") defined!-2.01
Hover & click on the images for description

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
Return Value:
Structured Text

Examples

Example 1:
txt = composeText ["First line", image "data\isniper.paa", lineBreak, "Second line"]

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

Notes

Bottom Section