CoCoA:NewList
From ApCoCoAWiki
NewList
create a new list
Description
The second function returns a list of length N, filled by E. The
first function, in which E is not indicated, returns a list of length
N filled with Null values.
Example
NewList(4,<quotes>a</quotes>); [<quotes>a</quotes>, <quotes>a</quotes>, <quotes>a</quotes>, <quotes>a</quotes>] ------------------------------- NewList(4); [Null, Null, Null, Null] -------------------------------
Syntax
NewList(N:INT):LIST NewList(N:INT,E:OBJECT)
<type>list</type>