"Fossies" - the Fresh Open Source Software Archive

Member "arangodb-3.4.7/Documentation/Examples/shellPaste.generated" (24 Jun 2019, 898 Bytes) of package /linux/misc/arangodb-3.4.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 arangosh&gt; <span class="hljs-keyword">for</span> (<span class="hljs-keyword">var</span> i = <span class="hljs-number">0</span>; i &lt; <span class="hljs-number">10</span>; i ++) {
    2 ........&gt;         <span class="hljs-built_in">require</span>(<span class="hljs-string">"@arangodb"</span>).print(<span class="hljs-string">"Hello world "</span> + i + <span class="hljs-string">"!\n"</span>);
    3 ........&gt; }
    4 Hello world <span class="hljs-number">0</span>!
    5 
    6 Hello world <span class="hljs-number">1</span>!
    7 
    8 Hello world <span class="hljs-number">2</span>!
    9 
   10 Hello world <span class="hljs-number">3</span>!
   11 
   12 Hello world <span class="hljs-number">4</span>!
   13 
   14 Hello world <span class="hljs-number">5</span>!
   15 
   16 Hello world <span class="hljs-number">6</span>!
   17 
   18 Hello world <span class="hljs-number">7</span>!
   19 
   20 Hello world <span class="hljs-number">8</span>!
   21 
   22 Hello world <span class="hljs-number">9</span>!
   23