Home : Software Terms : Parameter Definition


In computer programming, a parameter or "argument" is a value that is passed into a function. Most modern programming languages allow functions to have multiple parameters. While the syntax of a function declaration varies between programming languages, a typical function with two parameters may look something like this:

function graphXY(x, y)

When this function is called within a program, two variables should be passed into the function. It may look something like this:

$horizontal = 22;
$vertical = 40;
graphXY($horizontal, $vertical);

In this example, the values 22 and 40 (stored in the variables $horizontal and $vertical respectively) are the "input parameters" passed into the graphXY() function.

When a function has input parameters, the output of the function is often affected by the values that are passed into the function. Therefore, a single function can be called multiple times within a program and produce different output each time.

Updated: August 7, 2014

Cite this definition:


TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of Parameter. It explains in computing terminology what Parameter means and is one of many software terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this Parameter definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe at any time.
Questions? Please contact us.