DOCUMENTATION CalcMe
  • language Translations of this page
    • Translations of this page
    • Català (ca)
    • Dansk (da)
    • Deutsch (de)
    • English (en)
    • Español (es)
    • Français (fr)

  1. Wiris Ecosystem Documentation
  2. CalcMe documentation
  3. Commands
  4. Programming functions
  5. Insert

en:calc:commands:programming_functions:insert

Insert

Working with polygons? See insert (geometry)


Inserts an element in a list or vector.

Syntax

insert(List | Vector, Integer, Element)

Description

insert(List | Vector, Integer, Element)

Given a list or a vector, an integer n and an element x, inserts in the n-th position of the set the element x. The elements from the n plus 1 position up to the end, are shifted, i.e. they are not deleted.

Related functions

Append, Prepend

Table of Contents
  • Syntax
  • Description
  • Related functions
Log In

Copyright © WIRIS 2021. All rights reserved.