Go to the previous, next section.

Variable Number of Arguments

Some functions, such as  concat ,  + or  * , take any number of arguments. (The  * is the symbol for multiplication.) This can be seen by evaluating each of the following expressions in the usual way. What you will see in the echo area is printed in this text after `@result{'}, which you may read as `evaluates to'.

In the first set, the functions have no arguments:

(+)       @result{} 0

(*)       @result{} 1

In this set, the functions have one argument each:

(+ 3)     @result{} 3

(* 3)     @result{} 3

In this set, the functions have three arguments each:

(+ 3 4 5) @result{} 12

(* 3 4 5) @result{} 60

Go to the previous, next section.