From WikiChip
Difference between revisions of "mirc/identifiers/$crlf"
< mirc‎ | identifiers

(Created $crlf identifier - mIRC)
Line 1: Line 1:
The '''$crlf''' is an [[mIRC]] identifier that returns a carriage return and line feed concatenated together. I.E. the $crlf identifier is behaviorally the same as:
+
The '''$crlf''' identifier concatenates both the [[carriage return]] and [[linefeed]] characters into a single character line-break.
  
<source lang="mIRC">$cr $+ $lf</source>
+
== Synopsis ==
 +
<pre>$crlf</pre>
  
This identifier is typically used where inserting a new line is required such as when writing multiple lines at once using the [[/write command - mIRC|/write]] command or when writing data onto a [[TCP Sockets - mIRC|socket]].
+
== Parameters ==
 +
None
  
== See also ==
+
== Example ==
* [[list of identifiers - mIRC|List of identifiers]]
+
Create a simple input box that uses '''$crlf''' to break to a new line:
 +
<source lang="mIRC">//noop $input(And then the word "suddenly" $+ $crlf $+ suddenly appeared on a new line!)</source>
 +
 
 +
== Compatibility ==
 +
Added: mIRC v5.4
 +
 
 +
Added On: 23/06/98
 +
 
 +
== See Also ==
 +
* [[$cr identifier - mIRC|$cr]]
 +
* [[$lf identifier - mIRC|$lf]]
  
 
[[Category:mIRC identifiers]]
 
[[Category:mIRC identifiers]]

Revision as of 12:07, 2 July 2014

The $crlf identifier concatenates both the carriage return and linefeed characters into a single character line-break.

Synopsis

$crlf

Parameters

None

Example

Create a simple input box that uses $crlf to break to a new line:

//noop $input(And then the word "suddenly" $+ $crlf $+ suddenly appeared on a new line!)

Compatibility

Added: mIRC v5.4

Added On: 23/06/98

See Also