/ Check-in [3ae36cf1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Generate anchors in opcode table html for use by new vdbe tutorial. (CVS 994)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3ae36cf158e1878a66ce9302eae4e62f8a88333f
User & Date: jplyon 2003-06-02 06:29:31
Context
2003-06-02
18:17
Fix an initialized variable in sqliteInitOne. (CVS 995) check-in: 89957b09 user: drh tags: trunk
06:29
Generate anchors in opcode table html for use by new vdbe tutorial. (CVS 994) check-in: 3ae36cf1 user: jplyon tags: trunk
06:17
Added comments. (CVS 993) check-in: 1276ddb3 user: jplyon tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to www/opcode.tcl.

     1      1   #
     2      2   # Run this Tcl script to generate the sqlite.html file.
     3      3   #
     4         -set rcsid {$Id: opcode.tcl,v 1.10 2002/08/11 20:10:49 drh Exp $}
            4  +set rcsid {$Id: opcode.tcl,v 1.11 2003/06/02 06:29:31 jplyon Exp $}
     5      5   
     6      6   puts {<html>
     7      7   <head>
     8      8     <title>SQLite Virtual Machine Opcodes</title>
     9      9   </head>
    10     10   <body bgcolor=white>
    11     11   <h1 align=center>
................................................................................
   233    233   from the file <b>vdbe.c</b>.</p>}
   234    234   
   235    235   puts {
   236    236   <p><table cellspacing="1" border="1" cellpadding="10">
   237    237   <tr><th>Opcode&nbsp;Name</th><th>Description</th></tr>}
   238    238   foreach op [lsort -dictionary $OpcodeList] {
   239    239     puts {<tr><td valign="top" align="center">}
   240         -  puts "$op"
          240  +  puts "<a name=\"$op\">$op</a>"
   241    241     puts "<td>[string trim $Opcode($op:text)]</td></tr>"
   242    242   }
   243    243   puts {</table></p>}
   244    244   
   245    245   puts {
   246    246   <p><hr /></p>
   247    247   <p><a href="index.html"><img src="/goback.jpg" border=0 />
   248    248   Back to the SQLite Home Page</a>
   249    249   </p>
   250    250   
   251    251   </body></html>}