Expression: Difference between revisions
From Computer History Wiki
Jump to navigationJump to search
More accurate |
m +cat |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
In mathematics, and most [[programming language]]s, an '''expression''' is an entity which combines a number of data | In mathematics, and most [[programming language]]s, an '''expression''' is an entity which combines a number of data items (numbers, [[variable]] values, etc) with [[operator]]s, to produce a value which is then used in some way - perhaps saved in [[main memory]] or a [[Central Processing Unit|CPU]] [[register]] for use later in the [[program]]. | ||
An example of an expression would be ''((A * 3) + b)''. | An example of an expression would be ''((A * 3) + b)''. | ||
{{stub}} | {{stub}} | ||
[[Category: Basics]] | |||
Latest revision as of 17:38, 14 December 2018
In mathematics, and most programming languages, an expression is an entity which combines a number of data items (numbers, variable values, etc) with operators, to produce a value which is then used in some way - perhaps saved in main memory or a CPU register for use later in the program.
An example of an expression would be ((A * 3) + b).