| Did you know ... | Search Documentation: |
| Send methods |
.g. no instances of
class :=) by position.If the named formal argument allows for multiple values, append the value of the binding to the vector of values.
If the last argument allows for multiple values and there are remaining unbound arguments append them to the vector of values.
->validate
and
type<-translate.
Examples:
size(4, 6), font := font(helvetica, bold, 14))
--> name = foo, options = code_vector(size := size(4, 6), font = font(helvetica,bold,14))code_vector(format := center)The second example illustrates how named arguments may be used in combination with multiple valued arguments to achieve Lisp-like keyword arguments.