Thank You for your continued support and contributions!
rb_obj = {}for k, v in pairs(rb) do local the_type = type(v)..'s' if not rb_obj[the_type] then rb_obj[the_type] = {} end table.insert(rb_obj[the_type], k) endlocal list = {}for rb_type, rb_table in pairs(rb_obj) do table.insert(list, string.format('* %s *', rb_type)) table.sort(rb_table) for _, v in ipairs(rb_table) do table.insert(list, v) end -- jump a line table.insert(list, '') endlocal file = rb.open('/rb.txt', rb.TRUNC or rb.O_WRONLY)rb.write(file, table.concat(list, '\n'))rb.close(file)
Page created in 0.091 seconds with 14 queries.