# 0045: Invalid array syntax: variable name is missing

The [array](https://docs.sannybuilder.com/language/data-types/arrays#general-syntax) element is missing either the name or the index [variable](https://docs.sannybuilder.com/language/data-types/variables).

**Possible solutions:** check the array syntax and provide all required variables:

```
($index,2i) = 0 // error
$array(,2i) = 0 // error
$array($index,2i) = 0 // OK
```
