An expression may refer to any of the following:
- A combination of letters, numbers, or symbols used to represent a value of a variable. Expressions are found and used in programming languages, databases, and spreadsheets. Below are some basic examples of expressions in the Perl programming language.
$test = “example text”;
In the above example, ’example text’ is the expression of the $test variable.
$total = $value1 + $value2;
In the above example, the total value of $value1 and $value2 is the expression of the $total variable. In other words, if $value1 and $value2 both had an expression of ‘1’ then the $total expression is equal to two.
- Shorthand for Microsoft Expression Web, a website development tool from Microsoft that is now free.
Conditional expression, Operand, Programming terms, Regular expression, Variable
Related information
- How to create a computer program.