Parameter

A named input of a function, filled in by the arguments of each call.

Think of it as A blank on the recipe card that each cook fills in.

In function award(coins, pickups), coins and pickups are parameters. award(10, 3) gives them the arguments 10 and 3. A missing argument arrives as nil.

Related terms