lineBreak: Difference between revisions

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


| arma |= Game name


<h2 style="color:#000066">''' lineBreak '''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Creates a structured text containing a line break. |DESCRIPTION=
____________________________________________________________________________________________


'''Operand types:'''
| '''lineBreak''' |SYNTAX=


None
| [[Structured Text]] |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[hint]] [[composeText]] ["First line", [[lineBreak]], "Second line"];</code> |EXAMPLE1=
|x2= <code>[[hint]] [[str]] ([[composeText]] <nowiki>[</nowiki>[[lineBreak]]] == [[parseText]] "<nowiki><br/></nowiki>"); // true</code> |EXAMPLE2=
____________________________________________________________________________________________


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


'''Compatibility:'''
}}


[[Structured Text]]
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


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


Creates a structured text containing a line break.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LINEBREAK]]
 
[[Category:Scripting Commands OFP Elite |LINEBREAK]]
'''Example:'''
[[Category:Scripting Commands ArmA|LINEBREAK]]
 
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
txt3 = lineBreak
[[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 15:42, 7 April 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