Numlex Documentation
Using Numlex
Report issue

Linked answers

Turn any answer into a live token that other lines can reuse — change the source, everything follows.

Linked answers are what make a sheet behave like a small live model instead of a list of one-off calculations. Any answer can be reused elsewhere as a token that always shows the current value of its source line.

Inserting a token

Double-click any answer — or type an operator on a new line — and Numlex inserts a live token at the caret or selection. A token is a small bubble that always displays the current value of its source line: change the source and the bubble updates immediately.

hotel = 1240              1,240
hotel + 10%               1,364
deposit = hotel + 10%     1,364
deposit / 4               341

Several distinct bubbles may reuse the same earlier line — each keeps its own identity and follows the live value.

Live propagation

Because tokens are references, not copies, edits propagate:

  • Change the source line and every token that uses it re-evaluates.
  • If a source line stops evaluating, its tokens stay in place and show the remembered Line N label instead of a stale number.
  • The engine keeps the reference graph acyclic: a line cannot depend on itself (directly or through a chain of tokens).

Using tokens in functions

Unitless tokens join the same engine: sqrt(<token>) and <token> ^ 2 evaluate with the token as a live argument. Tokens that carry a unit or money are rejected by functions and by ^ rather than silently losing their unit.

Per-answer menu

Right-click (or Control-click) any answer for its native menu:

  • Copy Answer — puts the exact displayed value on the clipboard.
  • A 0…10 dp slider — re-rounds just that answer without touching the source line.
  • Delete Line — removes the source line.

The menu is fully native, so it follows the system appearance in Light and Dark.

Found an issue in these docs? Report it on GitHub .