Argument

From Computer History Wiki
Revision as of 19:37, 11 September 2018 by Jnc (talk | contribs) (A start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.