lineBreak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(see also)
(15 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|LINEBREAK]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |LINEBREAK]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LINEBREAK]]


<new command not populated>
| arma |= Game name


|1.00|= Game version
____________________________________________________________________________________________


<h2 style="color:#000066">''''' lineBreak '''''</h2>
| Creates a structured text containing a line break. |= Description
____________________________________________________________________________________________


| '''lineBreak''' |= Syntax


'''Operand types:'''
| [[Structured Text]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>[[hint]] [[composeText]] ["First line", [[lineBreak]], "Second line"];</code> |= Example 1
|x2= <code>[[hint]] [[str]] ([[composeText]] <nowiki>[</nowiki>[[lineBreak]]] == [[parseText]] "<nowiki><br/></nowiki>"); // true</code> |= Example 2
____________________________________________________________________________________________


'''Type of returned value:'''
| [[composeText]], [[parseText]], [[Structured Text]], [[text]], [[image]], [[endl]] |= See also


'''Compatibility:'''
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|LINEBREAK]]
[[Category:Scripting Commands OFP Elite |LINEBREAK]]
[[Category:Scripting Commands ArmA|LINEBREAK]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Variables|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 21:48, 13 January 2019

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

Description

Description:
Creates a structured text containing a line break.
Groups:
Uncategorised

Syntax

Syntax:
lineBreak
Return Value:
Structured Text

Examples

Example 1:
hint composeText ["First line", lineBreak, "Second line"];
Example 2:
hint str (composeText [lineBreak] == parseText "<br/>"); // true

Additional Information

See also:
composeTextparseTextStructured Texttextimageendl

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