> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/evaluator/asc.md).

# Asc

\<evalcmd> Asc && int && Code value of the first character of \<i>string\</i>. && string && string && Input string. \</evalcmd>

Returns the ANSI or Unicode code for the first character of *string*.

//<Example://>

```
Output( Asc("Hello") );
--> 72
```

*See also:* [chr](/directory-opus/manual/reference/evaluator/chr.md)
