Soulver Icon

Tokens & Mutli-line Calculations

Tokens are a very simple and powerful way of creating little reusable calculations.

You can use tokens in your problems to refer to other lines. A token can refers to a specific line (ie line 2), or a line relative to the line on which the token is used (ie the line above). The first kind are called absolute tokens and are colored purple. The second kind are relative and are colored blue (these are used by default).

Using Tokens:

You can drag tokens around your document, and copy and paste them too. This is especially useful for relative tokens where you can duplicate a relation between lines with a simple copy and paste.

If you hover your mouse over a token, the line that it refers to will be highlighted in blue or pink. The token's title will also indicate the line that it refers to. For example, 1L↑ means 1 line up.

Ways to create a new token:

  • Make a new line by hitting return. Immediately type an operator like plus (+).

    A relative token referring to the line above will be inserted for you.

  • Drag an answer from the answer column onto your expression.

    You can also double click an answer.

  • Click "Answer Token" in the toolbar.

  • Using the numerous menu commands under the "Edit" menu.

    You can hit command-\ to insert a token to the previous line, or command-1 to insert a relative token to line 1.

To edit the line a token points to:

  1. Double click the token to show the token editor.

    You can also right/control click on the token and choose "Edit Token".

  2. You can change the tokens type and the line or direction that it refers to.

  3. Hit apply to close the token editor, or cancel to cancel your changes.

Tips

  • Hold the command key when before dragging a token out of the answer column to make it absolute.

  • You don't have to use a token to refer to the previous line. You can make a static absolute reference by simply typing the line and then the number of the line you want to refer to. Ie: "line1"