# CODE

## Content

This function returns a numeric code to represent the first character in a text string. The returned code corresponds to the Windows character set (ANSI).

## Syntax

`CODE(text)`

## Arguments

[Required] The argument is the text from which you want to determine the code of the first character.

## Examples

`CODE(H6)`
`CODE(R6C8)`
`CODE("B")` gives the result 66
`CODE("Buffalo")` gives the result 66