Argument: Difference between revisions

From Computer History Wiki
Jump to navigationJump to search
A start
 
m +cat
 
Line 4: Line 4:


{{stub}}
{{stub}}
[[Category: Basics]]

Latest revision as of 17:39, 14 December 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.