diff options
Diffstat (limited to 'docs/help/change.html')
| -rw-r--r-- | docs/help/change.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/help/change.html b/docs/help/change.html new file mode 100644 index 00000000..147ea5db --- /dev/null +++ b/docs/help/change.html @@ -0,0 +1,19 @@ +<head> + <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/> + <link href="../style.css" rel="stylesheet"/> + <title>BQN: Leftwards Arrow With Hook (`←`)</title> +</head> +<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div> +<h1 id="leftwards-arrow-with-hook-"><a class="header" href="#leftwards-arrow-with-hook-">Leftwards Arrow With Hook (<code><span class='Gets'>←</span></code>)</a></h1> +<h2 id="n--v-change"><a class="header" href="#n--v-change"><code><span class='Value'>n</span> <span class='Gets'>↩</span> <span class='Value'>v</span></code>: Change</a></h2> +<p>Changes the value of variable with name <code><span class='Value'>n</span></code> to value <code><span class='Value'>v</span></code>.</p> +<p>Variable <code><span class='Value'>n</span></code> must already exist.</p> +<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=YSDihqkgMQoK4oqiIGIg4oaQIDMKCuKKoiBiIOKGqSAiQmUgdGhlIGNoYW5nZSB5b3Ugd2lzaCB0byBzZWUgaW4gdGhlIHdvcmxkLiI=">↗️</a><pre> <span class='Value'>a</span> <span class='Gets'>↩</span> <span class='Number'>1</span> +<span class='Error'>Error: Undefined identifier</span> + + <span class='Function'>⊢</span> <span class='Value'>b</span> <span class='Gets'>←</span> <span class='Number'>3</span> +3 + + <span class='Function'>⊢</span> <span class='Value'>b</span> <span class='Gets'>↩</span> <span class='String'>"Be the change you wish to see in the world."</span> +"Be the change you wish to see in the world." +</pre> |
