Difference between revisions of "Argument"

From Computer History Wiki
Jump to: navigation, search
(A start)
(No difference)

Revision as of 20:37, 11 September 2018

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.