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

m
Line 1: Line 1:
 
'''$chr''' returns the character attached to a specified ASCII character code.
 
'''$chr''' returns the character attached to a specified ASCII character code.
  
= Synopsis =
+
== Synopsis ==
 
<pre>$chr(<N>)</pre>
 
<pre>$chr(<N>)</pre>
  
= Switches =
+
== Switches ==
 
None
 
None
  
= Parameters =
+
== Parameters ==
 
<span style="display: inline-block; width: 50px;">'''N'''</span>This is the ASCII code value that you wish to retrieve the character for.
 
<span style="display: inline-block; width: 50px;">'''N'''</span>This is the ASCII code value that you wish to retrieve the character for.
  
= Example =
+
== Example ==
 
'''Echo the character attached to ASCII code ''63'' to the active window'''
 
'''Echo the character attached to ASCII code ''63'' to the active window'''
 
<pre>//echo -a $chr(63)</pre>
 
<pre>//echo -a $chr(63)</pre>
Line 17: Line 17:
 
<pre>//echo -a $chr(85)</pre>
 
<pre>//echo -a $chr(85)</pre>
  
= Compatibility =
+
== Compatibility ==
 
Added: mIRC v4.5
 
Added: mIRC v4.5
  
 
Added On: 30/06/96
 
Added On: 30/06/96
  
= See also =
+
== See also ==
 
* [[$asc identifier - mIRC|$asc]]
 
* [[$asc identifier - mIRC|$asc]]
 
[[Category:mIRC identifiers]]
 

Revision as of 14:26, 23 June 2014

$chr returns the character attached to a specified ASCII character code.

Synopsis

$chr(<N>)

Switches

None

Parameters

NThis is the ASCII code value that you wish to retrieve the character for.

Example

Echo the character attached to ASCII code 63 to the active window

//echo -a $chr(63)

Echo the character attached to ASCII code 85 to the active window

//echo -a $chr(85)

Compatibility

Added: mIRC v4.5

Added On: 30/06/96

See also