r/ComputerCraft • u/Long_Task9250 • Sep 02 '26
Help with Tables
So I'm working with the create aero and CC compatibility features of Create: Gadgets and Gizmos, and I was playing around with printing the outputs of the new peripheral methods. But when printing tables given by a few different methods (like getAngles for the gimbal sensor) it just returns random numbers that change every time I run the program. This is probably meant to happen, but I'm very new to CC so I'm hoping someone can help me out. (Oh yeah and please tell me if my CC terminology is gibberish)


11
Upvotes
11
u/Beautiful-Account862 Sep 02 '26 edited Sep 02 '26
what it's printing is just the memory address of the table, not any of it's data. Try this line instead:
3
u/Ictoan42 Sep 02 '26
While a viable solution has been provided, here's another way to print a table