Skip to main content

The "sys_grid_delete" Function

Syntax#

sys_grid_delete(ds_grid, row);
ArgumentTypeDescription
ds_griddata structureThe data structure to remove row from
rowintegerThe index of the row to remove

Description#

Removes a row from the specified ds_grid while preserving other data and returns the final grid.

Note that the final grid must be assigned to an external variable to prevent memory leaks! It is recommended to use the same variable as is assigned to the original input grid.

As this script is run automatically by other engine functions, it is almost never necessary to run sys_grid_delete manually.