Wordiff: Difference between revisions

Content added Content deleted
(New post.)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,978: Line 1,978:
{{libheader|Wren-sort}}
{{libheader|Wren-sort}}
Due to a bug in the System.clock method (basically it gets suspended whilst waiting for user input), it is not currently possible to add timings.
Due to a bug in the System.clock method (basically it gets suspended whilst waiting for user input), it is not currently possible to add timings.
<syntaxhighlight lang="ecmascript">import "random" for Random
<syntaxhighlight lang="wren">import "random" for Random
import "/ioutil" for File, Input
import "./ioutil" for File, Input
import "/str" for Str
import "./str" for Str
import "/sort" for Find
import "./sort" for Find


var rand = Random.new()
var rand = Random.new()