From 6e1eeeebfb453fa7c871869c19375ce60fbd7413 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 27 Jul 2019 16:01:55 -0700 Subject: 5485 - promote SubX to top-level --- archive/2.vm/example1.mu | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 archive/2.vm/example1.mu (limited to 'archive/2.vm/example1.mu') diff --git a/archive/2.vm/example1.mu b/archive/2.vm/example1.mu new file mode 100644 index 00000000..83995a1e --- /dev/null +++ b/archive/2.vm/example1.mu @@ -0,0 +1,7 @@ +def main [ + local-scope + a:num <- add 2, 2 + a <- multiply a, 3 + # uncomment the next line to see the output +# $print a +] -- cgit 1.4.1-2-gfad0