> 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/0082.md).

# 0082: Invalid syntax

The compiler finds a syntactic element that can't be used in the current context.

For example, it happens if the word `else` is found outside of a [conditional statement](/language/control-flow/conditions.md#high-level-constructs).

**Possible solutions:** check the related documentation and make the code syntax valid.
