36ee1e | 2015-10-12 | Pontus Östlund | | <!doctype html>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <html>
<head>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <meta content="width=device-width, initial-scale=1" name="viewport">
|
7e5ead | 2016-01-20 | Pontus Östlund | | <meta charset="utf-8">
|
65c1dc | 2016-06-10 | Martin Nilsson | | <title>Pike Reference Manual - #[#]</title>
|
078087 | 2016-10-04 | Pontus Östlund | | |
36ee1e | 2015-10-12 | Pontus Östlund | | <link rel='stylesheet' href='../../style.css'>
<script src='../../site.js'></script>
|
078087 | 2016-10-04 | Pontus Östlund | | <script src='../../constants.js'></script>
<script>PikeDoc.NO_DYNAMIC = true;</script>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <style type='text/css'>
svg line { stroke:#343434; stroke-width:2; }
svg text { fill:#343434; }
svg a { fill:#0768b2; text-decoration: underline; }
</style>
</head>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <header>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div class="header">
|
0e3f09 | 2016-04-19 | Henrik Grubbström (Grubba) | | <div id="version"><strong data-id="version"></strong></div>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <div id="burger">☰</div> |
0e3f09 | 2016-04-19 | Henrik Grubbström (Grubba) | | <a href="http://pike.lysator.liu.se/" class="logo">
|
7e5ead | 2016-01-20 | Pontus Östlund | | <span>Pike programming language</span>
</a>
</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</header>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div id="page">
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <div class="navbar">
|
36ee1e | 2015-10-12 | Pontus Östlund | | <nav>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <div class="inner" id="navbar">
|
36ee1e | 2015-10-12 | Pontus Östlund | | <a href='../../index.html'><b class='top head'>Top</b></a>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <a href='../../ex/cpp_3A_3A.html'><b class='head'>cpp::</b></a>
<script></script>
<noscript>
<div class='sidebar'>
<a href='../../ex/cpp_3A_3A/index.html'><b>Symbol index</b></a><br />
</div>
</noscript>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </div>
</nav>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <div class="content">
<div class="navbox">
<nav>
<div class="sidebar">
|
65c1dc | 2016-06-10 | Martin Nilsson | | <a href="../../ex/cpp_3A_3A/_23_3Cinteger_3E.html" class="prev"><span>➤</span> #<integer></a>
<a href="../../ex/cpp_3A_3A/_23charset.html" class="next">#charset <span>➤</span></a>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </div>
</nav>
</div>
<div class="contentbox">
<article>
|
65c1dc | 2016-06-10 | Martin Nilsson | | <h1>Directive #[#]</h1>
|
36ee1e | 2015-10-12 | Pontus Östlund | |
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
<hr />
<dl class='group--doc'>
<dt class='head--type'><span class='homogen--type'>Directive</span>
|
65c1dc | 2016-06-10 | Martin Nilsson | | <span class='homogen--name'><b>#[#]</b></span>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </dt>
|
65c1dc | 2016-06-10 | Martin Nilsson | | <dd><p><code class='directive'>#(#)</code><br>
<code class='directive'>#[#]</code><br>
<code class='directive'>#{#}</code></p></dd>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
<dt class='head--doc'>Description</dt>
|
65c1dc | 2016-06-10 | Martin Nilsson | | <dd class='body--doc'><p>If a string literal is opened with <tt>#(</tt> all subsequent
characters until the closing <tt>#)</tt> will be treated as
literals, including newlines, <tt>\</tt>, <tt>"</tt> and <tt>'</tt>.</p>
<p> There are three different pairs of start/end tokens for this
type of literals, #( and #), #[ and #], and #{ and #}.</p>
</dd>
<dt class='head--doc'>Example</dt>
<dd class='example'><pre><p><code class='expr'>#["\n\'##]</code> is equivalent to <code class='expr'>"\"\\n\\'#"</code>.</p>
|
5f6005 | 2016-06-14 | Henrik Grubbström (Grubba) | | </pre></dd></dl>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
|
36ee1e | 2015-10-12 | Pontus Östlund | | </article>
</div>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </div>
</div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | <footer>
|
078087 | 2016-10-04 | Pontus Östlund | | <div id="build-date">Extracted from <strong data-id="version"></strong> as of <strong data-id="date" data-timestamp=""></strong>.</div>
|
36ee1e | 2015-10-12 | Pontus Östlund | | </footer>
|
65c1dc | 2016-06-10 | Martin Nilsson | | <script>PikeDoc.current = {"link":"ex/cpp_3A_3A/_23_5B_23_5D.html","name":"#[#]"};</script>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <script src='../../ex/cpp_3A_3A/index.js'></script>
<script src='../../ex/cpp_3A_3A/load_index.js'></script>
|
7e5ead | 2016-01-20 | Pontus Östlund | | <script>
// Tell PikeDoc that next actions are from loaded scripts
PikeDoc.isInline = false;
</script>
</body>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </html>
|