Marks the row at the given position as deleted. Future calls to :Get()
at the index will return nothing and calls to :Each()
will skip it.
Definition
void Delete (int index)
Arguments
int index
The row of the page to grab. Starts at 0, not 1 like Lua arrays.
Returns
No return values.
Example
local myPage = Page.New("myPage", 32, { Page.Type.String ("Name", 64), Page.Type.Number "Score", Page.Type.Bool "IsBanned", }) myPage:Set(0, { Name = "Joe", Score = 0, IsBanned = true, }) print(myPage:Get(0)) --> table myPage:Delete(0) print(myPage:Get(0)) -->