aboutsummaryrefslogtreecommitdiff
path: root/help/define.md
blob: cfaddeec24fc83560436c56bc733fcbe64c60b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/define.html).*

# Leftwards Arrow (`←`)

## `n ← v`: Define
[→full documentation](../doc/expression.md#assignment)

Defines a new variable with name `n` and value `v`.

Variable `n` must not already exist in the scope.

        ⊢ a ← 1

        ⊢ b ← 3‿3 ⥊ 5

        C ← ↑