Print table in output

try this

local mytable = [pizza, potato, chips]
for i, v  in pairs(mytable) do
print(i.."="..v)
1 Like


It printed I don’t know if its too small.

1 Like

Yes, this is how it should work. Really didn’t understand why its not working. Also it is proof that you can print table

My output window:
image
“Show tables expanded by default” → this is telling me that that should work and its implemented

1 Like

Have you made sure “Log Mode” isn’t on? you can find the option for it by clicking the 3 dots in top right corner of the output window.

44 Likes

THANK YOU VERY MUCH, now its working again. You are an Angel. Thank you

Also thanks everyone who joined this discussion :slight_smile:

Happy developing :slight_smile:

2 Likes

what exactly does log mode do?

Yeah, what does log mode do? I’m curious.

I did a google search and it says “Log Mode — Simplifies output by removing options such as expandable trees.”

6 Likes

that’s very interesting

I don’t see where I would need to use it but that explains why turning it off worked

1 Like

What the heck is an expandable tree tho?

you know that arrow in scripts and output that you can press/click and then they expand things or shrink them

that’s what that is

1 Like

Ohhhhhhhh that makes sense now, thanks.

1 Like