set
set varName ?newValue?
With a value, sets the variable and gives the value. Without one, gives the value of the variable. name(el) is an element of an array.
Examples
A click on an example runs it in the shell of the page.
set note "buy milk":buy milkset note:buy milk
Errors
set nopegives the errorcan't read "nope": no such variable
Facts
- Capability: none.
- Compute cost: one compute unit for the call, and more for the commands that it runs.