aboutsummaryrefslogtreecommitdiff
path: root/lib/math.nom
diff options
context:
space:
mode:
Diffstat (limited to 'lib/math.nom')
-rw-r--r--lib/math.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/math.nom b/lib/math.nom
index 9e9af98..4e78b7e 100644
--- a/lib/math.nom
+++ b/lib/math.nom
@@ -69,7 +69,7 @@ compile [max of %items by %value_expr] to: ".."
action [seed random with %]:
lua> ".."
math.randomseed(\%);
- for i=1,20 do; math.random(); end;
+ for i=1,20 do math.random(); end
parse [seed random] as: seed random with (=lua "os.time()")
compile [random number, random, rand] to: "math.random()"
compile [random int %n, random integer %n, randint %n] to: "math.random(\(%n as lua))"