This shows you the differences between two versions of the page.
en:asc [2016/08/12 12:56] admin |
en:asc [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Asc (Function) ===== | ||
- | |||
- | ==== Format ==== | ||
- | |||
- | **asc** ( [[stringexpressions|string_expression]] ) | ||
- | |||
- | returns [[integerexpressions|integer_expression]] | ||
- | |||
- | ==== Description ==== | ||
- | |||
- | Converts the first character in a [[stringexpressions|string_expression]] expression to an integer representing it's UNICODE value. | ||
- | ^Asc^Chr^Asc^Chr^Asc^Chr^Asc^Chr^Asc^Chr^Asc^Chr^ | ||
- | |32|SPACE|48|0|64|@|80|P|96|`|112|p| | ||
- | |33|!|49|1|65|A|81|Q|97|a|113|q| | ||
- | |34|" | ||
- | |35|# | ||
- | |36|$|52|4|68|D|84|T|100|d|116|t| | ||
- | |37|%|53|5|69|E|85|U|101|e|117|u| | ||
- | |38|& | ||
- | |39|' | ||
- | |40|(|56|8|72|H|88|X|104|h|120|x| | ||
- | |41|)|57|9|73|I|89|Y|105|i|121|y| | ||
- | |42|*|58|: | ||
- | |43|+|59|; | ||
- | |44|, | ||
- | |45|-|61|=|77|M|93|]|109|m|125|}| | ||
- | |46|.|62|> | ||
- | |47|/ | ||
- | |||
- | ==== See Also ==== | ||
- | |||
- | [[chr|Chr]] | ||
- | |||
- | ==== Example ==== | ||
- | |||
- | < | ||
- | print asc(" | ||
- | print asc(" | ||
- | </ | ||
- | will print | ||
- | < | ||
- | 65 | ||
- | 98 | ||
- | </ | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | |0.9.4|New To Version| | ||
- | |||