up
previous
next
NewList
Syntax
NewList(N:INT):LIST
NewList(N:INT,E:OBJECT)
Summary
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,"a");
["a", "a", "a", "a"]
-------------------------------
NewList(4);
[Null, Null, Null, Null]
-------------------------------
See Also