List

From MiniScript Wiki
Revision as of 17:29, 5 December 2021 by SebNozzi (talk | contribs) (Remove reference to list methods page)
Jump to navigation Jump to search

list is one of the core data types in MiniScript.

A list is mutable, ordered sequence of values. A list literal is defined by a comma-separated series of values enclosed in square brackets.

numbers = [1, 2, 3, 4, 5]
words = ["one", "two", "three", "four", "five"]


This article is a stub. You can help the MiniScript Wiki by expanding it.