gone a little coding crazy?Betelgeuse wrote:Name:
apply
Argument List:
Function: The function you want to run.
List: A list of arguments you want the function to be run with.
Returns:
Whatever the function returns.
Category:
Function Operator (can someone think of a better category for this?)
Description:
Runs the function as though it was called normally using the list as its arguments.
Example:This will return Nil.Code: Select all
(block (someArgumentList) (setq someArgumentList '(True True Nil)) (apply and someArgumentList) )
This will return 35.Code: Select all
(block (someArgumentList) (setq someArgumentList '(1 34)) (apply add someArgumentList) )
