Next: slua_tbl_cmp, Previous: slua_tbl_el_exists, Up: Manipulating Tables
delete an element from a table
#include <luasup/luasup.h>void slua_tbl_el_delete( lua_Object table, const char *index );
lua_Object table
- the table containing the data
const char *index
- the index of the element to delete
This routine sets the value of a specified element in a table to `nil', effectively deleting it.
Diab Jerius