lineBreak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added return value, see also)
(see also)
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_txt = [[composeText]] ["First line", [[lineBreak]], "Second line"];</code> |= Example 1
|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
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

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