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">
<meta charset="utf8">
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | <title>Pike Reference Manual - #else</title>
|
36ee1e | 2015-10-12 | Pontus Östlund | | |
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">
<div id="version"><strong></strong></div>
<a href="http://pike.lysator.liu.se/">
<span>Pike</span>
</a>
|
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>
<div class="inner">
<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">
<a href="../../ex/cpp_3A_3A/_23elif.html" class="prev"><span>➤</span> #elif</a>
<a href="../../ex/cpp_3A_3A/_23elseif.html" class="next">#elseif <span>➤</span></a>
</div>
</nav>
</div>
<div class="contentbox">
<article>
<h1>Directive #else</h1>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | |
<hr />
<dl class='group--doc'>
<dt class='head--type'><span class='homogen--type'>Directive</span>
<span class='homogen--name'><b>#else</b></span>
</dt>
<dd><p><code class='directive'>#else</code></p></dd>
<dt class='head--doc'>Description</dt>
<dd class='body--doc'><p>This directive is used to divide the current code block into another
code block with inverse activation.</p>
</dd>
<dt class='head--doc'>Example</dt>
<dd class='example'><pre><pre><code>#ifdef FAST_ALGORITHM
do_fast_algorithm();
#elif defined(EXPERIMENTAL_ALGORITHM)
do_experimental_algorithm();
#else
do_default_algorithm();
#endif</code></pre></pre></dd></dl>
|
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>
<div id="build-date">Extracted from <strong></strong> as of <strong></strong>.</div>
</footer>
|
286efd | 2012-03-24 | Henrik Grubbström (Grubba) | | </body>
<script>PikeDoc.current = {"link":"ex/cpp_3A_3A/_23else.html","name":"#else"};</script>
<script src='../../ex/cpp_3A_3A/index.js'></script>
<script src='../../ex/cpp_3A_3A/load_index.js'></script>
</html>
|