Call a function: Difference between revisions

Content added Content deleted
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 each each list as a separate argument to the mapX function.
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">