at:tutorial:basic
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
at:tutorial:basic [2007/04/05 09:57] – elisag | at:tutorial:basic [2007/04/05 09:58] – * elisag | ||
---|---|---|---|
Line 98: | Line 98: | ||
</ | </ | ||
- | Variables and functions defined locally to functions are only visible in the scope of the function where there were defined. | + | Variables and functions defined locally to functions are only visible in the scope of the function where there were defined. |
=== Variable-Length Argument Functions === | === Variable-Length Argument Functions === | ||
Line 113: | Line 113: | ||
</ | </ | ||
- | When the //sum// function is called, the arguments are passed to the function in a table called | + | When the //sum// function is called, the arguments are passed to the function in a table called |
< | < | ||
>def sum(a, b, @rest){ { | >def sum(a, b, @rest){ { |
at/tutorial/basic.txt · Last modified: 2020/02/09 22:05 by elisag