What does the hash ("#") symbol mean in tables. Ik im dumb. Cant find the answer
2 Likes
Do you mean prefixing a table variable with #
? That means getting the size (number of elements) of the table
local Table = {"Hello", "world", 12}
print(#Table) -- Prints 3
2 Likes
it used to call number for chillds and other stuff
2 Likes
it returns the length (number) of an array.
A simple google search would have told you the answer
2 Likes
Ah ok thanks! Yes, i did mean to prefix a table with #
3 Likes