> For the complete documentation index, see [llms.txt](https://documentation.soulver.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.soulver.app/documentation/line-references.md).

# Line References

Soulver lets you reference previous lines' answers in your calculations, like a spreadsheet.

You can go back and edit a previous line, and any lines that refer to it will recalculate automatically.

#### To reference a previous line:

1\. Drag in the answer from the line you want to reference:

<div align="left"><img src="/files/-LgXWv8zRdBtNVIMs1NI" alt="Dragging in a previous line to make a line reference"></div>

{% hint style="info" %}
You can also just double click the answer to insert a reference to it
{% endhint %}

2\. Type an operator (like +) immediately after typing return to start a new line:

<div align="left"><img src="/files/-LgXXNW491ZyEhldheck" alt="Typing an operator after return to make a line reference."></div>

You can also insert a reference to the previous line using the keystroke ⌘\\.

{% hint style="warning" %}
Note: you can only reference a line **above** your current line.
{% endhint %}

{% hint style="info" %}
If you want to disable a reference, but keep an expression in its current state, you can right-click on a reference and choose 'Unlink'.
{% endhint %}
