November 25, 2009

argument

Last modified: Thursday, September 18, 2003 

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.

 
Related Categories

Procedures, Functions and Routines

Programming

Related Terms

parameter

program

routine

Shopping
argument Products
Compare Products,Prices and Stores

Shop by Category:
Books
436 Model Matches

Sunglasses
0 Store Offers

Office Supplies
3 Store Offers

Sport and Outdoor
256 Store Offers

Clothing
55 Store Offers

Security Solutions