blob: 8b02d745f727d5f813ecdf42104177f758d78100 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<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><a class="fulldoc" href="../doc/token.html#comments">→full documentation</a></p>
<p>Create a comment that extends to the end of the 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'>"Hello world!"</span> <span class='Comment'># this is ignored!
</span>"Hello world!"
</pre>
|