aboutsummaryrefslogtreecommitdiff
path: root/examples/learn/21-host.zc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/learn/21-host.zc')
-rw-r--r--examples/learn/21-host.zc5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/learn/21-host.zc b/examples/learn/21-host.zc
new file mode 100644
index 0000000..550e747
--- /dev/null
+++ b/examples/learn/21-host.zc
@@ -0,0 +1,5 @@
+include "src/lib/std.zc";
+fn main() {
+ put_n(Host.now() > 0); put_c(10);
+ return 0;
+}