๐Ÿ“˜

Assignment

Storing a value in a variable.

๐Ÿ˜Š In simple words

Storing a value in a variable.

๐ŸŽ“ Technical definition

An operation that binds the result of an expression to a variable name, replacing any previous value. Written with SET.

Pseudocode example
1SET AGE = 252SET AGE = AGE + 1

๐ŸŽ Real-world analogy

Writing a new number on a labelled whiteboard, rubbing out the old one.

๐Ÿ”— Related concepts

โ† Whole glossary