summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/scopeing.fy4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/scopeing.fy b/examples/scopeing.fy
index 2e36c2c..434f38f 100644
--- a/examples/scopeing.fy
+++ b/examples/scopeing.fy
@@ -13,6 +13,10 @@ my foo = 1;
# Prints out 1
assert 1 == (put defined bar);
+
+ # Prints out all available symbols at
+ # the current program position.
+ scope;
}
# Prints out 0