Origen:https://www.greytrix.com/blogs/sagex3/2014/06/30/how-to-delete-particular-row-and-reset-grid/
We usually come across a scenario when we need to delete row from a grid through coding. Now we can even think of using SQL queries to delete the data, but these changes were reflected at the database level. The screen do not have the changes reflected and this may cause data inconsistency. So for deleting line from grid and then resetting the grid I used ‘DELA’ an existing function of X3.
New Stuff: How to send mail programmatically
Dela is used to delete elements from single-sized tables, from a given index. And also it resets the grid.
Syntax:
Dela start [ , number [ , limit ] ] list_nom_var
Example:
Dela is used to delete elements (default 1) from a set of single-sized tables. In the instruction’s syntax, start establishes the index (shared by all the tables) where the deletion starts, and number indicates the number of elements to be deleted.
In each table, the elements are shifted left from the end of the table (this is the default ‘limit’) by a number of positions equal to ‘number’. The last ‘number’ elements in the table are set to zero.