XAXA
(XAXA)
#1
In this page, table.clear should be documented: table | Documentation - Roblox Creator Hub
table.clear is a relatively new addition to the table library added on release 456 (https://developer.roblox.com/en-us/resources/release-note/Release-Notes-for-456) but it isn’t documented anywhere. It should be.
6 Likes
Could this be because table.clear has not actually been released?
XAXA
(XAXA)
#3
It is released. It’s live in studio and in-game. The release notes page tends to be out-of-date.
4 Likes
vf9r
(vf9r)
#4
Odd and interesting, I checked Tables and it isn’t found in here either, and it was 3 releases ago, so I don’t see why it couldn’t be there?
A slip in the system I say, and it does say that table.clear is still pending.
Release notes have many released features still marked as ‘Pending’, and this appears to be another case of that.
If you try using table.create it will work without error, as expected.
local t = {1}
table.clear(t)
print(t[1]) --> nil
vf9r
(vf9r)
#6
Yes, but maybe it’s pending for a reason, such as maybe certain data isn’t released with it yet.
peraldon
(Jed)
#7
Hey! Thanks for this report. I’ve just logged it, and the team will get to it when they can.
5 Likes
Ozzypig
(Ozzypig)
#8
I’ve added table.clear to the page, which should update soon. Thanks for reporting it to the team!
2 Likes
system
(system)
Closed
#9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.