I don’t think that would work because it is not going to print “Much Code”, “Such works” or “Wow”
That is because you can’t print a table.
yes you can as @ QueriesFromADumbDev write and for me it worked same but for now its stopped working
Okay nvm then. Make a for loop and make it print each value in the table. For i, v loops are made specifically for table.
Maybe its a studio glitch try restarting it?
I restarted but didnt work and also I restart Studio Settings but still same result
Try writing the code:
for i, v in pairs(myTable) do
print(v)
end)
Just so you know you also need to have the table with the code I just said.
try this
local mytable = [pizza, potato, chips]
for i, v in pairs(mytable) do
print(i.."="..v)
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:
“Show tables expanded by default” → this is telling me that that should work and its implemented
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.
THANK YOU VERY MUCH, now its working again. You are an Angel. Thank you
Also thanks everyone who joined this discussion
Happy developing
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.”
that’s very interesting
I don’t see where I would need to use it but that explains why turning it off worked
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
Ohhhhhhhh that makes sense now, thanks.