diff options
| author | Paul Buetow <paul@buetow.org> | 2008-10-26 12:51:57 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-10-26 12:51:57 +0000 |
| commit | a1c3f47491b98cd9026f8e853cc9e72630805c12 (patch) | |
| tree | ec2ea29640b43f2c1f820fd3fee317beec27d130 /README | |
| parent | 380eacd0f4037ec00f37ad5b5e4baa18301cf3dd (diff) | |
added the "scope" function
Diffstat (limited to 'README')
| -rw-r--r-- | README | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -134,8 +134,9 @@ SYNTAX Scopeing A new scope starts with an { and ends with an }. An exception is a procedure, which does not use its own scope (see later in this manual). - Control statements and functions support scopeings. Here is a small - example how to use scopes: + Control statements and functions support scopeings. The scope function + will print out all available symbols at the current position. Here is a + small example of how to use scopes: my foo = 1; @@ -147,6 +148,10 @@ SYNTAX # Prints out 1 put defined bar; + + # Prints out all available symbols at this + # point to stdout. Those are: bar and foo + scope; } # Prints out 0 |
