AppendTo
Appends an element to a bound variable's value, and reassigns it in place.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
AppendTo✓AppendTo(s, elem)Reads 's current value, appends , reassigns to the result, and returns it.Typed signatures
| Type | Package | Applies |
|---|---|---|
(symbol, any) -> any | combinatorics | always |
Details
- is held — its NAME, not its value, is the first operand — so it can be reassigned. Works for any symbol already carrying a value (via a plain assignment, or a Module local).
Examples
About
| Examples | 2 |
|---|---|
| Checked against | Wolfram Language 1 agree |
| Crosswalk | Wolfram Language |
See also: Module