lineBreak: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<br/>" to "<br>") |
Lou Montana (talk | contribs) m (Fix <br /> / <br> replacement mistake) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[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| | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands OFP Elite | | [[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands ArmA| | [[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 10:25, 19 March 2020
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
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
Categories:
- Scripting Commands
- Introduced with Arma version 1.00
- Arma: New Scripting Commands
- Arma: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP Elite
- Scripting Commands ArmA
- Command Group: GUI Control
- Command Group: Variables
- Scripting Commands Arma 2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters