Variable

Applies to: general

A variable is a named box that holds a value your program can read and change. Declaring one binds a name to a value; later you can use the name in place of the value, or assign a new value to it.

speed = 12.5      # bind the name `speed` to 12.5
speed = speed * 2 # reassign: now 25.0

See also: function, data-type