> 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/ja/documentation/line-references.md).

# 行参照

以前の回答を使用した計算の実行（スプレッドシートのような）

Soulverを使用すると、スプレッドシートのように、計算で以前の行の回答を参照できます。

過去の行を編集し直すと、それを参照しているすべての行が自動的に再計算されます。

#### 以前の行を参照する方法：

1. 参照したい行の回答をドラッグします。

<div align="left"><img src="https://1391542330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI7BDE0UL8yoAyu9oYfUO%2Fuploads%2Fgit-blob-1b73be25289fc57e7785ca77eecde0e3a7360852%2FScreen%20Recording%202019-06-04%20at%2003.47%20pm.gif?alt=media" alt="以前の行をドラッグして行参照を作成する"></div>

{% hint style="info" %}
回答をダブルクリックするだけで、参照を挿入することもできます。
{% endhint %}

2. 改行して新しい行を開始した後、演算子（+など）を入力します。

<div align="left"><img src="https://1391542330-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FI7BDE0UL8yoAyu9oYfUO%2Fuploads%2Fgit-blob-275d69c08bfae28841831e44b5f4abcbfa26a9cf%2FScreen%20Recording%202019-06-04%20at%2003.49%20pm.gif?alt=media" alt="改行後に演算子を入力して行参照を作成する。"></div>

キーボードショートカットの ⌘\ を使用して、前の行を参照することもできます。

{% hint style="warning" %}
注意：現在の行より**上の**行のみを参照できます。
{% endhint %}

{% hint style="info" %}
参照を無効にしたいが、式を現在の状態で保持したい場合は、参照を右クリックし、「リンク解除 (Unlink)」を選択できます。
{% endhint %}
