diff options
| author | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-06-30 23:53:04 +0200 |
|---|---|---|
| committer | admin (centauri.fritz.box) <puppet@mx.buetow.org> | 2014-06-30 23:53:04 +0200 |
| commit | adc4b59a3e7c9db6f33670164490830d87331228 (patch) | |
| tree | adc5d21856852bfb5c3cca794a9c07ad476d877e /examples/scopeing.fy | |
| parent | 63cf3028445d8d213ffc774f77aafd7283cb4fbd (diff) | |
| parent | 5ab5de91eb0ae6ed9db78a2c8c47ec67f105e504 (diff) | |
Mergebuild-010393-lambda
Diffstat (limited to 'examples/scopeing.fy')
| -rw-r--r-- | examples/scopeing.fy | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/examples/scopeing.fy b/examples/scopeing.fy deleted file mode 100644 index 434f38f..0000000 --- a/examples/scopeing.fy +++ /dev/null @@ -1,31 +0,0 @@ -#* - * Examples of how to use scopeing - *# - -my foo = 1; - -{ - # Prints out 1 - assert 1 == (put defined foo); - - { - my bar = 2; - - # Prints out 1 - assert 1 == (put defined bar); - - # Prints out all available symbols at - # the current program position. - scope; - } - - # Prints out 0 - assert 0 == (put defined bar); - - my baz = 3; -} - -# Prints out 0 -assert 0 == (say defined bar); - - |
