Warning, file /frameworks/syntax-highlighting/autotests/html/highlight.pike.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 <!DOCTYPE html>
0002 <html><head>
0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0004 <title>highlight.pike</title>
0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Pike) - Theme (Breeze Light)"/>
0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
0007 <span style="color:#898887;">#! /bin/env pike</span>
0008 
0009 <span style="color:#898887;">/* This file is a syntax highlight test for Kate.</span>
0010 <span style="color:#898887;"> * </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">FIXME</span><span style="color:#898887;">: Improve it to contain more (and more unusual) syntax examples.</span>
0011 <span style="color:#898887;"> */</span>
0012 
0013 
0014 <span style="color:#006e28;">#define PIKE_ON_THE_WEB  </span><span style="color:#898887;">/* Is this address correct? */</span><span style="color:#006e28;">  </span><span style="color:#bf0303;">&quot;http://pike.ida.liu.se/&quot;</span>
0015 
0016 
0017 <span style="color:#0057ae;">int</span> main(<span style="color:#0057ae;">int</span> argc, <span style="color:#0057ae;">array</span>(<span style="color:#0057ae;">string</span>) args)
0018 {
0019   <span style="color:#898887;">// Write funny things with Pike :)</span>
0020   write(<span style="color:#644a9b;">`+</span>(<span style="color:#bf0303;">&quot;Command line arguments (%d of them): &quot;</span>, @map(args, <span style="color:#644a9b;">`+</span>, <span style="color:#bf0303;">&quot; &quot;</span>)) + <span style="color:#bf0303;">&quot;</span><span style="color:#924c9d;">\n</span><span style="color:#bf0303;">&quot;</span>, argc);
0021                              
0022   write(<span style="color:#bf0303;">&quot;</span><span style="color:#924c9d;">\n</span><span style="color:#bf0303;">Visit Pike site at %s</span><span style="color:#924c9d;">\n\n</span><span style="color:#bf0303;">&quot;</span>, PIKE_ON_THE_WEB);
0023 
0024   <span style="font-weight:bold;">for</span> (<span style="color:#0057ae;">int</span> i = <span style="color:#b08000;">1</span>; i &lt;= <span style="color:#b08000;">3</span>; i++)
0025     write(<span style="color:#bf0303;">&quot;:&quot;</span> + <span style="color:#bf0303;">&quot;)&quot;</span> * i + <span style="color:#bf0303;">&quot;   &quot;</span>);
0026 
0027   write(<span style="color:#bf0303;">&quot;</span><span style="color:#924c9d;">\n</span><span style="color:#bf0303;">&quot;</span> + ({<span style="color:#bf0303;">&quot;Bye&quot;</span>, <span style="color:#bf0303;">&quot;bye&quot;</span>}) * <span style="color:#bf0303;">&quot;-&quot;</span> + <span style="color:#bf0303;">&quot;!</span><span style="color:#924c9d;">\n</span><span style="color:#bf0303;">&quot;</span>);
0028 
0029   <span style="font-weight:bold;">return</span> <span style="color:#b08000;">0</span>;
0030 }
0031 </pre></body></html>