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. Constant list

en:calc:commands:programming_functions:constant_list

Constant list

Returns a sequence of a single element of the desired length.

Syntax

constant_list(Integer, Element)

Description

constant_list(Integer, Element)

Given an integer n and an element x, constructs a list with the element x repeated n times.

Related functions

List

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

Copyright © WIRIS 2021. All rights reserved.