summaryrefslogtreecommitdiff
path: root/examples/netsted.fype
diff options
context:
space:
mode:
Diffstat (limited to 'examples/netsted.fype')
-rw-r--r--examples/netsted.fype11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/netsted.fype b/examples/netsted.fype
new file mode 100644
index 0000000..2ddf89f
--- /dev/null
+++ b/examples/netsted.fype
@@ -0,0 +1,11 @@
+(def (test)
+ (say "This is test")
+ (def (test2)
+ (say "I am in test2" "And test3 will be defined next!")
+ (def (test3)
+ (say "Displaying all frames now:")
+ (show-frames))
+ (test3))
+ (test2))
+(test)
+