lineBreak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<br/>" to "<br>")
m (Fix <br /> / <br> replacement mistake)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''lineBreak''' |SYNTAX=
| [[lineBreak]] |SYNTAX=


| [[Structured Text]] |RETURNVALUE=
| [[Structured Text]] |RETURNVALUE=
Line 16: Line 16:
   
   
|x1= <code>[[hint]] [[composeText]] ["First line", [[lineBreak]], "Second line"];</code> |EXAMPLE1=
|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=
|x2= <code>[[hint]] [[str]] ([[composeText]] <nowiki>[</nowiki>[[lineBreak]]] == [[parseText]] "<nowiki><br/></nowiki>"); // true</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[composeText]], [[parseText]], [[Structured Text]], [[text]], [[image]], [[endl]] |SEEALSO=
| [[composeText]], [[parseText]], [[Structured Text]], [[text]], [[image]], [[endl]] |SEEALSO=
}}
}}


Line 31: Line 30:


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

Revision as of 11:25, 19 March 2020

-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