lineBreak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| '''lineBreak''' |= Syntax
| '''lineBreak''' |SYNTAX=


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


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


}}
}}

Revision as of 14: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