[top][index]
search for:

take(BasicList,{...}) -- take some elements from a list

Synopsis:

  • Usage: w = take(v,{m,n})
  • Function: take -- take some elements from a list
  • Input:
  • v, an instance of class BasicList.
  • {m,n}, an instance of class List: a pair of natural numbers
  • Output:
  • w, an instance of class BasicList: a list containing those elements of the list v in positions m through n.
  • i1 : take({a,b,c,d,e,f},{2,4})

    o1 = {c, d, e}

    o1 : List


    [top][index]
    search for: