Create a two-dimensional array at runtime: Difference between revisions

Adds slope example
m (syntax highlighting fixup automation)
(Adds slope example)
Line 2,787:
99
</pre>
 
=={{header|Slope}}==
<syntaxhighlight lang="slope">
(define width (string->number (read-line)))
(define height (string->number (read-line)))
(if (and width height)
(list-seed height (list-seed width #t))
(! "A non-number value was submitted"))
</syntaxhighlight>
 
=={{header|Smalltalk}}==
37

edits