aboutsummaryrefslogtreecommitdiff
path: root/examples/http-server/sample-site/random.tm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/http-server/sample-site/random.tm')
-rwxr-xr-xexamples/http-server/sample-site/random.tm5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/http-server/sample-site/random.tm b/examples/http-server/sample-site/random.tm
new file mode 100755
index 00000000..7d183ee9
--- /dev/null
+++ b/examples/http-server/sample-site/random.tm
@@ -0,0 +1,5 @@
+#!/bin/env tomo
+use random
+
+func main():
+ say("Random: $(random:int(1,100))")