Variable size/Set: Difference between revisions
m
→{{header|Wren}}: Changed to Wren S/H
imported>Fth |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 1,082:
The programmer cannot specify a minimum size for a Map but can specify a minimum size for a List - in effect the amount of heap storage required to store its elements. This can still be increased dynamically by adding futher elements to the List. Here's an example.
<syntaxhighlight lang="
var l = List.filled(10, 0)
// give them different values and print them
|