# 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/documentation/line-references.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
