From WikiChip
Difference between revisions of "mirc/identifiers/$chr"
m |
|||
Line 1: | Line 1: | ||
− | '''$chr''' returns the character attached to a specified | + | '''$chr''' returns the character attached to a specified [[Unicode]] [[code point]] number. |
== Synopsis == | == Synopsis == | ||
Line 8: | Line 8: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 50px;">'''N'''</span>This is the | + | <span style="display: inline-block; width: 50px;">'''N'''</span>This is the [[Unicode]] [[code point]] value that you wish to retrieve the character for. |
== Example == | == Example == | ||
− | '''Echo the character attached to | + | '''Echo the character attached to [[Unicode]] [[code point]] ''63'' to the active window''' |
<pre>//echo -a $chr(63)</pre> | <pre>//echo -a $chr(63)</pre> | ||
− | '''Echo the character attached to | + | '''Echo the character attached to [[Unicode]] [[code point]] ''85'' to the active window''' |
<pre>//echo -a $chr(85)</pre> | <pre>//echo -a $chr(85)</pre> | ||
Revision as of 16:11, 23 June 2014
$chr returns the character attached to a specified Unicode code point number.
Synopsis
$chr(<N>)
Switches
None
Parameters
NThis is the Unicode code point value that you wish to retrieve the character for.
Example
Echo the character attached to Unicode code point 63 to the active window
//echo -a $chr(63)
Echo the character attached to Unicode code point 85 to the active window
//echo -a $chr(85)
Compatibility
Added: mIRC v4.5
Added On: 30/06/96