Argument

From Computer History Wiki
Revision as of 20:37, 11 September 2018 by Jnc (talk | contribs) (A start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An argument, in a programming language, is much the same as in mathematics - a piece of data passed to a function which is used by that function (in expressions, etc) to do its calculations. Having the ability to 'customize' a function by passing in the argument lets one function instance be used by a number of different callers.

Macros also often support arguments.