Home Online Manual
Top
Back: degree
Forward: denominator
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.19 delete

Syntax:
delete ( list_expression, int_expression )
Type:
list
Purpose:
deletes the element with the given index from a list (the input is not changed).
Example:
 
  list l="a","b","c";
  list l1=delete(l,2);l1;
==> [1]:
==>    a
==> [2]:
==>    c
  l;
==> [1]:
==>    a
==> [2]:
==>    b
==> [3]:
==>    c
See insert; list.