endl: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 33: Line 33:
<dt class="note">[[User:7erra|7erra]]</dt>
<dt class="note">[[User:7erra|7erra]]</dt>
<dd class="note">
<dd class="note">
{{Inline code|[[toArray]] [[endl]]}} results in {{Inline code|[13, 10]}}. {{Inline code|[[toString]] [13, 10]}} is therefore equivalent (or at least very similar) to [[endl]].
{{ic|[[toArray]] [[endl]]}} results in {{ic|[13, 10]}}. {{ic|[[toString]] [13, 10]}} is therefore equivalent (or at least very similar) to [[endl]].
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 18:10, 27 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Strings

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
diag_log ("line1" + endl + "line2");
Example 2:
_ctrl = findDisplay 46 ctrlCreate ["RscTextMulti", -1]; _ctrl ctrlSetPosition [0,0,1,1]; _ctrl ctrlCommit 0; _ctrl ctrlSetText format ["line1%1line2%1line3", endl];

Additional Information

See also:
lineBreakstrformattoStringjoinStringsplitStringtoArray

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
Posted on July 15, 2020 - 11:50 (UTC)
7erra
toArray endl results in [13, 10]. toString [13, 10] is therefore equivalent (or at least very similar) to endl.