Difference between revisions of "List"
Jump to navigation
Jump to search
(Small example) |
(Remove reference to list methods page) |
||
Line 7: | Line 7: | ||
words = ["one", "two", "three", "four", "five"] | words = ["one", "two", "three", "four", "five"] | ||
</ms> | </ms> | ||
− | |||
− | |||
[[Category:Language]] | [[Category:Language]] |
Revision as of 17:29, 5 December 2021
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.