Category talk:Wren-check: Difference between revisions

→‎Source code: Fixed bug in Check.char method.
(→‎Source code: Think I'll go back to bed!)
(→‎Source code: Fixed bug in Check.char method.)
 
(One intermediate revision by the same user not shown)
Line 1:
===Source code===
 
<syntaxhighlight lang="ecmascriptwren">/* Module "check.wren" */
 
/*
Line 172:
int("max", max, min)
char(name, value)
if (value.codePoints[0] < min.codePoints[0] || value.codePoints[0] > max.codePoints[0]) {
abort_(name, value, "a character between '%(min)' and '%(max)'")
}
9,476

edits