> For the complete documentation index, see [llms.txt](https://docs.sannybuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sannybuilder.com/troubleshooting/errors/0117.md).

# 0117: Invalid function name

Compiler found a [function declaration](/language/functions.md#signature) with the name that is not a valid identifier. A function name must be alphanumeric starting with a letter or an underscore (`_`).

#### Examples:

```pascal
function 123 // Error: Invalid function name 123. Name must be a valid identifier.
end
```

#### Possible solutions:

* Rename the function so that its name is a valid identifier:

```pascal
function f123
end
```
