~ubuntu-branches/ubuntu/trusty/picolisp/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/ref.html

  • Committer: Package Import Robot
  • Author(s): Kan-Ru Chen (陳侃如)
  • Date: 2013-03-06 00:21:35 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20130306002135-oipgfog1yy4wcpnn
Tags: 3.1.1.15-1
* New upstream release.
* Sync to upstream tip.

Show diffs side-by-side

added added

removed removed

Lines of Context:
610
610
<p>This is - in a local installation - equivalent to
611
611
 
612
612
<pre><code>
613
 
$ ./dbg myProject.l -main
614
 
</code></pre>
615
 
 
616
 
<p>or
617
 
 
618
 
<pre><code>
619
613
$ ./pil myProject.l -main +
620
614
</code></pre>
621
615
 
622
616
<p>In any case, the directory part of the first file name supplied (normally,
623
 
the path to "lib.l" as called by 'pil' or 'dbg') is remembered internally as the
 
617
the path to "lib.l" as called by 'pil') is remembered internally as the
624
618
<i>PicoLisp Home Directory</i>. This path is later automatically substituted for
625
619
any leading "<code>@</code>" character in file name arguments to I/O functions
626
620
(see <code><a href="refP.html#path">path</a></code>).
1898
1892
<a href="refZ.html">Z</a>
1899
1893
<a href="ref_.html">Other</a>
1900
1894
 
1901
 
<p><dl>
 
1895
<p><span id="sortBtnHome"></span><dl>
1902
1896
 
1903
1897
<dt>Symbol Functions
1904
1898
<dd><code>
2137
2131
   <a href="refG.html#group">group</a>
2138
2132
   <a href="refL.html#length">length</a>
2139
2133
   <a href="refS.html#size">size</a>
 
2134
   <a href="refB.html#bytes">bytes</a>
2140
2135
   <a href="refV.html#val">val</a>
2141
2136
   <a href="refS.html#set">set</a>
2142
2137
   <a href="refX.html#xchg">xchg</a>
2650
2645
<p>The <code>PicoLisp</code> system can be downloaded from the <a
2651
2646
href="http://software-lab.de/down.html">PicoLisp Download</a> page.
2652
2647
 
 
2648
<script type="text/javascript">
 
2649
var sortBtn;
 
2650
 
 
2651
if (document.querySelectorAll) {
 
2652
        sortBtn = document.createElement("input");
 
2653
        sortBtn.setAttribute("type", "button");
 
2654
        sortBtn.setAttribute("onclick", "sortFunWords()");
 
2655
        sortBtn.value = "Sort Words Alphabetically";
 
2656
        document.getElementById("sortBtnHome").appendChild(sortBtn);
 
2657
};
 
2658
 
 
2659
function sortFunWords() {
 
2660
        var dls = document.querySelectorAll("dl"), funDl = dls[dls.length-1];
 
2661
        var cats = funDl.querySelectorAll("dd code");
 
2662
        for (var c=0; c<cats.length; c++) {
 
2663
                var aElems = cats[c].querySelectorAll("a"), aArr = [];
 
2664
                for (var i=0; i<aElems.length; i++) { aArr.push(aElems[i]); }
 
2665
                aArr.sort(function(a,b) { return (a.innerHTML < b.innerHTML) ? -1 : 1; });
 
2666
                var dd = cats[c].parentNode;
 
2667
                dd.removeChild(cats[c]);
 
2668
                var newCode = document.createElement("code");
 
2669
                dd.appendChild(newCode);
 
2670
                for (var i=0; i<aArr.length; i++) {
 
2671
                        newCode.appendChild(aArr[i]);
 
2672
                        newCode.appendChild(document.createTextNode(" "));
 
2673
                }
 
2674
        }
 
2675
        sortBtn.setAttribute("disabled", "disabled");
 
2676
}
 
2677
</script>
 
2678
 
2653
2679
</body>
2654
2680
</html>