Problem with declaring Arrays in my project

I’m trying to create a public array variable in my project to be used as a list for some data, but whenever I try and create it this error shows up, and ChatGBT’s solution wasn’t working. I was hoping I could I get some help here so that I could keep progressing along in my project.
(Png bellow of the error for reference)

Remove () from Integer.

1 Like

Isn’t that was makes it defined as an array and allows me to store multiple things in it, or did I miss something in the research I did?

No, what defines it as an array is the () next to the property name, in this case Thing

Edit: usually in code you do:

Var numbers() As Integer

see Integer without ()

1 Like

I made the changes you suggested and everything works great now. Thank you so much for the help!

Please mark @AlbertoD answer as the solution.

Thanks