DELETE

DELETE A, idx [, count]

Deletes count elements at position idx of array A.

Example 1: Delete element at position 2

a = [1, 2, 3, 4, 5]
print a                 ' Output: [1,2,3,4,5]
delete a, 2
print a                 ' Output: [1,2,4,5]

Example 2: Delete two elements starting at position 2

b = [1, 2, 3, 4, 5]
print b                 ' Output: [1,2,3,4,5]
delete b, 2, 2
print b                 ' Output: [1,2,5]
Data
If there is insufficient information on this page and you wish learn more about DELETE, please send an email to smallbasic@gmail.com. You can help to improve information about DELETE by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.