diff options
Diffstat (limited to 'docs/help/comment.html')
| -rw-r--r-- | docs/help/comment.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/help/comment.html b/docs/help/comment.html new file mode 100644 index 00000000..d35ee10e --- /dev/null +++ b/docs/help/comment.html @@ -0,0 +1,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'>"Hello world!"</span> <span class='Comment'># this is ignored! +</span>"Hello world!" +</pre> |
