This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
johnnic's profile picture

Get Methods From An Api

Started by johnnic, 07 August 2013 - 03:28 PM
johnnic #1
Posted 07 August 2013 - 05:28 PM
I was wondering if there is a way to get the methods of an API. I tried:

for t,g in pairs(rs) do
 print(g)
end
Is there any way to get the exact methods in the api, instead of function: 35adfa03?
Thanks in advance
MysticT #2
Posted 07 August 2013 - 05:43 PM
print the key instead (print(t), instead of print(g)).
johnnic #3
Posted 07 August 2013 - 05:45 PM
print the key instead (print(t), instead of print(g)).
Works Perfectly! Thanks!