openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

index.html (1409B)


      1 <!doctype html>
      2 
      3 <title>CodeMirror: ECL mode</title>
      4 <meta charset="utf-8"/>
      5 <link rel=stylesheet href="../../doc/docs.css">
      6 
      7 <link rel="stylesheet" href="../../lib/codemirror.css">
      8 <script src="../../lib/codemirror.js"></script>
      9 <script src="ecl.js"></script>
     10 <style>.CodeMirror {border: 1px solid black;}</style>
     11 <div id=nav>
     12   <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
     13 
     14   <ul>
     15     <li><a href="../../index.html">Home</a>
     16     <li><a href="../../doc/manual.html">Manual</a>
     17     <li><a href="https://github.com/codemirror/codemirror">Code</a>
     18   </ul>
     19   <ul>
     20     <li><a href="../index.html">Language modes</a>
     21     <li><a class=active href="#">ECL</a>
     22   </ul>
     23 </div>
     24 
     25 <article>
     26 <h2>ECL mode</h2>
     27 <form><textarea id="code" name="code">
     28 /*
     29 sample useless code to demonstrate ecl syntax highlighting
     30 this is a multiline comment!
     31 */
     32 
     33 //  this is a singleline comment!
     34 
     35 import ut;
     36 r := 
     37   record
     38    string22 s1 := '123';
     39    integer4 i1 := 123;
     40   end;
     41 #option('tmp', true);
     42 d := dataset('tmp::qb', r, thor);
     43 output(d);
     44 </textarea></form>
     45     <script>
     46       var editor = CodeMirror.fromTextArea(document.getElementById("code"), {});
     47     </script>
     48 
     49     <p>Based on CodeMirror's clike mode.  For more information see <a href="http://hpccsystems.com">HPCC Systems</a> web site.</p>
     50     <p><strong>MIME types defined:</strong> <code>text/x-ecl</code>.</p>
     51 
     52   </article>