- commit
- bfff293ba096514f6bbe21dd0b9c033221c9b805
- parent
- b077eabff5ae249352914a9f01d33fdb939da216
- author
- Dami <dami.etoile@gmail.com>
- kind
- docs risk score 0.0 of 3, Jev's estimate
| M | docs/ | 6 | +++--- |
@@ -361,8 +361,8 @@ undo history.
361361 362362 A cell holds one statement or several, a line each (or apart by `;`),363363 as a nushell script does; a line starting with `|` goes on with the364-pipeline above it. `name = pipeline` on any line assigns `name`, as365-nushell's `let name = pipeline` does, and the cell's later lines read364+pipeline above it. `name =` before a pipeline, on any line, assigns `name` as365+nushell's `let` does, and the cell's later lines read366366 it as `$name`. `#` starts a comment to the end of the line, outside a367367 string, as in nushell: a commented-out line assigns and reads nothing.368368 @@ -370,7 +370,7 @@ As in nushell and Jupyter, the cell's output is its last statement's
370370 value, and the names work across cells by one rule:371371 372372 - **The cell's name is its output's.** When the last statement is373- `name = pipeline`, the cell is named `name`; otherwise it has no373+ an assignment (`name =`), the cell is named `name`; otherwise it has no374374 name until `n` names it, which puts `name =` before its last375375 statement. Other cells read the output as `$name`, and formulas on376376 any sheet as `nu.name`, or a column of it as `name[column]`, once