Table printing prints: table:randomletters

Hello, so I was trying to print a table. But for some reason I get this: table: 0xabb723c4376cf572.
Before it would actually print the full table and it’s contents. But ever since the outage me printing tables looks like what I just said it was. Does anyone know how I can get the old way back?

In the Output Window, right click it and you should find the “Log Mode” option, I forgot where exactly though

2 Likes

I found it by going to the top right corner and that worked too. thank you!!!

local tables = {"a", "b", "c"}
print(table.concat(tables, " "))
--output is a b c

You can also just use table.concat() which allows for greater customisation of the output, the first argument is the table value itself of which you wish to concatenate into a string value and the second argument represents the separator string/delimiter, in the example above I used a single whitespace, this delimiter determines how the items of the array being concatenated should be split from one another, as the function returns a string value it’ll be output as text.

0xabb723c4376cf572

When you’re seeing this in console this represents the address in memory at which the table value is located.