From WikiChip
Difference between revisions of "mirc/identifiers/$asc"
m |
|||
Line 1: | Line 1: | ||
− | '''$asc''' is used to return the | + | '''$asc''' is used to return the [[Unicode]] [[code point]] number for a specified character. |
== Synopsis == | == Synopsis == | ||
Line 8: | Line 8: | ||
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 50px;">'''char'''</span>This would be any special character, letter, or number that you wish to retrieve the | + | <span style="display: inline-block; width: 50px;">'''char'''</span>This would be any special character, letter, or number that you wish to retrieve the [[Unicode]] [[code point]] for. |
== Example == | == Example == | ||
− | '''Echo the | + | '''Echo the [[Unicode]] [[code point]] for the letter ''A'' to the active window''' |
<pre>//echo -a $asc(A)</pre> | <pre>//echo -a $asc(A)</pre> | ||
− | '''Echo the | + | '''Echo the [[Unicode]] [[code point]] for the number ''7'' to the active window''' |
<pre>//echo -a $asc(7)</pre> | <pre>//echo -a $asc(7)</pre> | ||
Revision as of 16:11, 23 June 2014
$asc is used to return the Unicode code point number for a specified character.
Synopsis
$asc(<char>)
Switches
None
Parameters
charThis would be any special character, letter, or number that you wish to retrieve the Unicode code point for.
Example
Echo the Unicode code point for the letter A to the active window
//echo -a $asc(A)
Echo the Unicode code point for the number 7 to the active window
//echo -a $asc(7)
Compatibility
Added: mIRC v4.5
Added On: 30/06/96