List.New(size : int, value : any?) : list
Create a list of a given size.
9.02 or later.
| Name | Type | Description |
| size | int | size of the list |
| value | any? | intial value for list entry (optional, default: nil) |
A single value representing the combination of lists values using the supplied expression
| Output | ||
| [ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil ] | |
| [ "happy", "happy", "happy", "happy", "happy", "happy", "happy", "happy", "happy", "happy" ] |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
A more useful default behavior would be to create a list from 0..size-1.