XL (programming language): Difference between revisions

Content deleted Content added
No edit summary
Line 87:
 
=== Type-safe variable argument lists ===
Functions can be [[polymorphismPolymorphism (computer science)|overloaded]]. A function can be declared to use a variable number of arguments by using <code>other</code> in the parameter list. In such a function, <code>other</code> can be used to pass the variable number of arguments to another subroutine:
 
// Generic function for the minimum of N item