20,741
edits
Line 61: | Line 61: | ||
=== Anonymous function arguments === | === Anonymous function arguments === | ||
In Nasal, arguments are by default implicitly passed in the "arg" array, not unlike perl. To understand how this works, you should probably first read up on Nasal vectors. | In Nasal, arguments are by default implicitly passed in the "arg" array, not unlike perl. To understand how this works, you should probably first read up on Nasal vectors, which is just a fancy word for a list of things, that can be individually addressed by appending an index number. | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> |