Difference between revisions of "Argument"

From Computer History Wiki
Jump to: navigation, search
(A start)
 
m (+cat)
 
Line 4: Line 4:
  
 
{{stub}}
 
{{stub}}
 +
 +
[[Category: Basics]]

Latest revision as of 18: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.