argument


In programming, a value that you pass to a routine. For example, if SQRT is a routine that returns the square root of a value, then SQRT(25) would return the value 5. The value 25 is the argument.

Argument is often used synonymously with parameter, although parameter can also mean any value that can be changed. In addition, some programming languages make a distinction between arguments, which are passed in only one direction, and parameters, which can be passed back and forth, but this distinction is by no means universal.

An argument can also be an option to a command, in which case it is often called a command-line argument.

Read Also:

  • arithmetic expression

    An expression that represents a numeric value. Other types of expressions can represent character or Boolean values.

  • arity

    In programming it is the number of arguments a function or operator takes. In some languages functions may have variable arity that sometimes means their last or only argument is actually a list of arguments.

  • Array

    In programming, a series of objects all of which are the same size and type. Each object in an array is called an array element. For example, you could have an array of integers or an array of characters or an array of anything that has a defined data type. The important characteristics of an […]

  • array processor

    Also called a vector processor. A microprocessor that executes one instruction at a time but on an array or table of data at the same time rather than on single data elements.

  • arrow keys

    Most computer keyboards contain four arrow keys for moving the cursor or insertion point right, left, up, or down. When combined with the Shift, Function, Control, or Alt keys (on PCs), the arrow keys can have different meanings. For example, pressing Shift +Up-arrow might move the cursor or pointer up an entire page. On Macintoshes, […]


Disclaimer: argument definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.