aboutsummaryrefslogtreecommitdiff
path: root/docs/help/comment.html
blob: d35ee10e417ca846ebab3e5c33a41e9501a18403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<head>
  <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <link href="../style.css" rel="stylesheet"/>
  <title>BQN: Number Sign (`#`)</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="number-sign-"><a class="header" href="#number-sign-">Number Sign (<code><span class='Comment'>#</span></code>)</a></h1>
<h2 id="-comment"><a class="header" href="#-comment"><code><span class='Comment'>#</span></code>: Comment</a></h2>
<p>Create a comment that extends till the end of a line.</p>
<p>Anything written in comments is ignored.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=MSArIDIgIyArIDMgKyA0CgoiSGVsbG8gd29ybGQhIiAjIHRoaXMgaXMgaWdub3JlZCE=">↗️</a><pre>    <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span> <span class='Comment'># + 3 + 4
</span>3

    <span class='String'>&quot;Hello world!&quot;</span> <span class='Comment'># this is ignored!
</span>"Hello world!"
</pre>