Call a function: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
Line 3,703: | Line 3,703: | ||
=== argument expansion === |
=== argument expansion === |
||
Use the expansion operator (...) to pass a list as multiple arguments. The following example works if wordsets is a list of lists, and passes |
Use the expansion operator (...) to pass a list as multiple arguments. The following example works if wordsets is a list of lists, and passes each list as a separate argument to the mapX function. |
||
<syntaxhighlight lang="langur"> |
<syntaxhighlight lang="langur"> |