Expected identifier when parsing expression, got '['

Got a problem without any reason.
I have reduced it down to a single line in a simple script.
The line is
local tx = []
I get the message in the post title when played.
I have restarted studio.

1 Like

You need to use {} to make tables, not [].

(curly braces, not square brackets)

local tab = {} --not []
1 Like

Doh…
Thanks very much.
Late afternoon and busy day does it.
Phew…

1 Like