亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? metakit for tcl.mht

?? TCL的數(shù)據(jù)庫處理支撐庫及一些示例
?? MHT
?? 第 1 頁 / 共 3 頁
字號:
From: =?gb2312?B?08kgV2luZG93cyBJbnRlcm5ldCBFeHBsb3JlciA3ILGjtOY=?=
Subject: Metakit for Tcl
Date: Thu, 28 Feb 2008 23:04:18 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_001B_01C87A5E.3F217190"
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545

這是 MIME 格式的多方郵件。

------=_NextPart_000_001B_01C87A5E.3F217190
Content-Type: text/html;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.equi4.com/metakit/tcl.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Metakit for Tcl</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.6000.16609" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff><A name=3Dtop></A><A =
href=3D"http://www.scriptics.com/"><IMG=20
height=3D75 src=3D"http://www.equi4.com/metakit/tcl.gif" width=3D51 =
align=3Dleft=20
border=3D0></A> <A href=3D"http://www.equi4.com/"><IMG height=3D35=20
src=3D"http://www.equi4.com/metakit/e4s.gif" width=3D97 align=3Dright =
vspace=3D3=20
border=3D0></A>=20
<CENTER>
<H2>&nbsp; &nbsp; &nbsp; Metakit for Tcl</H2><I>The structured database =
which=20
fits in the palm of your hand &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
</I>
<P>[ <A =
href=3D"http://www.equi4.com/metakit/tcl.html#Overview">Overview</A> | =
<A=20
href=3D"http://www.equi4.com/metakit/tcl.html#Terminology">Terminology</A=
> | <A=20
href=3D"http://www.equi4.com/metakit/tcl.html#inst">Installation</A> | =
<A=20
href=3D"http://www.equi4.com/metakit/tcl.html#start">Getting started</A> =
| <A=20
href=3D"http://www.equi4.com/metakit/tcl.html#ref">Mk4tcl Reference</A> =
]=20
</CENTER>
<P><B>Buzzwords</B> - <A =
href=3D"http://www.equi4.com/metakit/">Metakit</A> is an=20
embeddable database which runs on Unix, Windows, Macintosh, and other =
platforms.=20
It lets you build applications which store their data efficiently, in a =
portable=20
way, and which will not need a complex runtime installation. In terms of =
the=20
data model, Metakit takes the middle ground between RDBMS, OODBMS, and =
flat-file=20
databases - yet it is quite different from each of them.=20
<P><B>Technology</B> - Everything is stored variable-sized yet with =
efficient=20
positional row access. Changing an existing datafile structure is as =
simple as=20
re-opening it with that new structure. All changes are transacted. You =
can mix=20
and match software written in C++, Python, and Tcl. Things can't get =
much more=20
flexible...=20
<P><B>Tcl/Tk</B> - The extension for <A =
href=3D"http://www.tcl.tk/">Tcl</A> is=20
called "Mk4tcl". It is being used in a number of commercial projects, =
for=20
in-house use as well as in commercially distributed products.=20
<P><B>Mk4tcl 2.4.9.6</B> - is a final/production release. The <A=20
href=3D"http://www.equi4.com/metakit.html">homepage</A> points to a =
download area=20
with pre-compiled shared libraries for Unix, Windows, and Macintosh. The =
Metakit=20
source distribution includes this documentation, the Mk4tcl C++ source =
code, a=20
small Tcl test suite, a "mkshow.tcl" utility which lets you examine data =
in any=20
Metakit datafile from the command line, and a few more goodies.=20
<P><B>License and support</B> - Metakit 2 and up are distributed under =
the=20
liberal X/MIT-style open source license. Commercial support is available =
through=20
an Enterprise License. See the <A=20
href=3D"http://www.equi4.com/mklicense.html">license</A> page for =
details.=20
<P><B>Credits</B> - Are due to Mark Roseman for providing the initial =
incentive=20
and feedback, and to Matt Newman for a range of suggestions and ideas.=20
Evidently, Mk4tcl could not exist without the Tcl/Tk scripting platform =
and its=20
superb extensibility.=20
<P><B>Updates</B> - The latest version of this document is at <A=20
href=3D"http://www.equi4.com/metakit/tcl.html">http://www.equi4.com/metak=
it/tcl.html</A>.=20
<A name=3DOverview>
<HR SIZE=3D1>
</A>
<H2>Overview</H2>Metakit is a machine- and language-independent toolkit =
for=20
storing and managing structured data. This is a description of the =
<I>Mk4tcl</I>=20
extension, which allows you to create, access, and manipulate Metakit =
datafiles=20
using Tcl. Here is a Tcl script which selects, sorts, and displays some=20
previously stored results: <PRE>    mk::file open db phonebook.dat =
-readonly
    foreach i [mk::select db.persons -glob name "Jon*" -sort date] {
        puts "Found [mk::get db.persons!$i name phone date]"
    }</PRE>This script illustrates how easy it is to access stored data =
from=20
Tcl. What it does not show, however, is that numeric data can be stored =
in=20
binary format (yet remain fully portable), that datafiles can contain =
complex=20
(nested) datastructures, that the structure of datafiles can be adjusted =
at any=20
time, and that all modifications use the commit / rollback transaction =
model.=20
<P>In actual use, Metakit resembles more an array manipulation package =
than a=20
database - with the main access mechanism being <I>'by position'</I>, =
not by=20
primary key. The Tcl interface does not yet cover all operations =
provided by the=20
complete C++ interface of Metakit, but as the <I>mk::select</I> command=20
illsutrates, it does include quite flexible forms of searching and =
sorting.=20
<P>
<P><A name=3DTerminology>
<HR SIZE=3D1>
</A>
<H2>Terminology</H2>There are several ways to say the same thing, =
depending on=20
where you're coming from. For example, the terms <I>table</I>, =
<I>list</I>,=20
<I>collection</I>, <I>array</I>, <I>sequence</I>, and <I>vector</I> all =
denote a=20
more or less similar concept. To help avoid confusion, Metakit uses a =
simple=20
(but hopefully precise) terminology.=20
<P>The terms adopted by Metakit can be summarized as follows:=20
<P>
<UL>
  <LI>A <B>view</B> is an indexable collection of <B>rows</B> (a =
<I>table</I> of=20
  <I>records</I>, an <I>array</I> of <I>elements</I>).=20
  <LI>An <B>index</B> is a position in a <I>view</I>, used to specify a=20
  <I>row</I> (the first row is at index zero).=20
  <LI>Each view has an ordered set of <B>properties</B>, used to refer =
to the=20
  data values of each row.=20
  <LI>In Metakit, each (<I>view</I>, <I>index</I>, <I>property</I>) =
combination=20
  denotes a single data value.=20
  <LI>A different way to describe this combination would be: =
(<I>matrix</I>,=20
  <I>row-index</I>, <I>column-id</I>).=20
  <LI>Data values can be strings, numeric, untyped data, or a nested =
view,=20
  called a <B>subview</B>.=20
  <LI>A <B>cursor</B> is a reference to a specific row in a specific =
view, i.e.=20
  a (<I>view</I>, <I>index</I>) tuple. </LI></UL>
<P>The <I>Mk4tcl</I> extension adds several notational conventions:=20
<P>
<UL>
  <LI>A <B>tag</B> is an identifier used to refer to an open datafile.=20
  <LI>Top-level views are specified as <B>tag.viewname</B>.=20
  <LI>Row <B>N</B> in such a view can be specified as =
<B>tag.viewname!N</B>.=20
  <LI>Subviews extend this notation, e.g. <B>tag.viewname!N.subview</B>. =

  <LI>Sub-rows continue in the same way, e.g. =
<B>tag.viewname!N.subview!M</B>.=20
  <LI>The specification of a view (either top-level or subview) is =
called a=20
  <B>path</B>.=20
  <LI>Thus, both <I>tag.viewname</I> and <I>tag.viewname!N.subview</I> =
are=20
  paths.=20
  <LI>In <I>Mk4tcl</I>, a cursor placed at the Nth row is equivalent to =
the=20
  string "<B>path!N</B>".=20
  <LI>A trailing row index is allowed and ignored wherever a path is =
expected.=20
  <LI>As a result, cursors are allowed (and frequently used) as path =
arguments.=20
  </LI></UL>
<P>A few more comments about the semantics of Metakit:=20
<P>
<UL>
  <LI>Views are <I>homogenous</I>: each row in a view contains the same =
type of=20
  information.=20
  <LI>This also implies that all subviews within the same view always =
have the=20
  same structure.=20
  <LI>Rows are either part of a view on file, or <I>temporary</I> (gone =
when no=20
  longer referenced).=20
  <LI>A cursor need not point to an existing row (its current position =
may be=20
  out of range). </LI></UL>
<P><A name=3Dinst>
<HR SIZE=3D1>
</A>
<H2>Installation</H2>
<OL>
  <LI>Download the latest version from <A=20
  href=3D"http://www.equi4.com/pub/mk/">http://www.equi4.com/pub/mk/</A> =

  <LI>On Unix, rename the appropriate compiled extension to "Mk4tcl.so" =
(on=20
  Win/Mac, use the corresponding file)=20
  <LI>Do a small test, by running "demo.tcl". If all is well, you should =
get=20
  some self-explanatory output=20
  <LI>Place the extension somewhere on Tcl's package search path (or =
just leave=20
  it in ".") </LI></OL>
<P><A name=3Dstart>
<HR SIZE=3D1>
</A>
<H2>Getting started</H2>Create a datafile:=20
<BLOCKQUOTE><PRE>package require Mk4tcl
mk::file open db datafile.mk</PRE></BLOCKQUOTE>Create a view (this is =
the=20
Metakit term for "table"):=20
<BLOCKQUOTE><PRE>set vw [mk::view layout db.people {first last =
shoesize:I}]</PRE></BLOCKQUOTE>Add=20
two rows (this is the Metakit term for "record"):=20
<BLOCKQUOTE><PRE>mk::row append $vw first "John" last "Lennon" shoesize =
44
mk::row append $vw first "Flash" last "Gordon" shoesize =
42</PRE></BLOCKQUOTE>Commit=20
the changes to file:=20
<BLOCKQUOTE><PRE>mk::file commit db</PRE></BLOCKQUOTE>Show a list of all =
people:=20
<BLOCKQUOTE><PRE>mk::loop c $vw {puts [mk::get $c first last =
shoesize]}</PRE></BLOCKQUOTE>Show=20
a list of all people, sorted by last name:=20
<BLOCKQUOTE><PRE>foreach r [mk::select $vw -sort last] {puts [mk::get =
$vw!$r]}</PRE></BLOCKQUOTE>Show=20
a list of all people with first name 'John':=20
<BLOCKQUOTE><PRE>foreach r [mk::select $vw first "John"] {puts [mk::get =
$vw!$r]}</PRE></BLOCKQUOTE>
<P><A name=3Dref>
<HR SIZE=3D1>
</A>
<DL>
  <DT>
  <H2>Mk4tcl Reference</H2>
  <DD>
  <TABLE cellSpacing=3D0 cellPadding=3D0 border=3D0>
    <TBODY>
    <TR>
      <TD><A=20
      =
href=3D"http://www.equi4.com/metakit/tcl.html#mk_file">mk::file</A></TD>
      <TD width=3D20></TD>
      <TD>Opening, closing, and saving datafiles</TD>
    <TR>
      <TD><A=20
      =
href=3D"http://www.equi4.com/metakit/tcl.html#mk_view">mk::view</A></TD>
      <TD width=3D20></TD>
      <TD>View structure and size operations</TD>
    <TR>
      <TD><A=20
        =
href=3D"http://www.equi4.com/metakit/tcl.html#mk_cursor">mk::cursor</A></=
TD>
      <TD width=3D20></TD>
      <TD>Cursor variables for positioning</TD>
    <TR>
      <TD><A=20
href=3D"http://www.equi4.com/metakit/tcl.html#mk_row">mk::row</A></TD>
      <TD width=3D20></TD>
      <TD>Create, insert, and delete rows</TD>
    <TR>
      <TD><A=20
href=3D"http://www.equi4.com/metakit/tcl.html#mk_get">mk::get</A></TD>
      <TD width=3D20></TD>
      <TD>Fetch values</TD>
    <TR>
      <TD><A=20
href=3D"http://www.equi4.com/metakit/tcl.html#mk_set">mk::set</A></TD>
      <TD width=3D20></TD>
      <TD>Store values</TD>
    <TR>
      <TD><A=20
      =
href=3D"http://www.equi4.com/metakit/tcl.html#mk_loop">mk::loop</A></TD>
      <TD width=3D20></TD>
      <TD>Iterate over the rows of a view</TD>
    <TR>
      <TD><A=20
        =
href=3D"http://www.equi4.com/metakit/tcl.html#mkselect">mk::select</A></T=
D>
      <TD width=3D20></TD>
      <TD>Selection and sorting</TD>
    <TR>
      <TD><A=20
        =
href=3D"http://www.equi4.com/metakit/tcl.html#mk_channel">mk::channel</A>=
</TD>
      <TD width=3D20></TD>
      <TD>Channel interface (new in 1.2)</TD></TR></TBODY></TABLE><BR>
  <P></P>
  <DT><A name=3Dmk_file>
  <HR SIZE=3D1>
  </A>
  <H2>mk::file</H2>
  <DD>
  <H3>Opening, closing, and saving datafiles</H3>
  <P></P>
  <DT>SYNOPSIS
  <DD><B>mk::file</B> &nbsp;<B>open</B> <BR><B>mk::file</B> =
&nbsp;<B>open</B>=20
  &nbsp;<I>tag</I> <BR><B>mk::file</B> &nbsp;<B>open</B> =
&nbsp;<I>tag</I>=20
  &nbsp;<I>filename</I> &nbsp;?-readonly? &nbsp;?-nocommit? =
&nbsp;?-extend?=20
  &nbsp;?-shared? &nbsp;<BR><B>mk::file</B> &nbsp;<B>views</B> =
&nbsp;<I>tag</I>=20
  &nbsp;<BR><B>mk::file</B> &nbsp;<B>close</B> &nbsp;<I>tag</I>=20
  &nbsp;<BR><B>mk::file</B> &nbsp;<B>commit</B> &nbsp;<I>tag</I> =
&nbsp;?-full?=20
  &nbsp;<BR><B>mk::file</B> &nbsp;<B>rollback</B> &nbsp;<I>tag</I> =
&nbsp;?-full?=20
  &nbsp;<BR><B>mk::file</B> &nbsp;<B>load</B> &nbsp;<I>tag</I>=20
  &nbsp;<I>channel</I> &nbsp;<BR><B>mk::file</B> &nbsp;<B>save</B>=20
  &nbsp;<I>tag</I> &nbsp;<I>channel</I> &nbsp;<BR><B>mk::file</B>=20
  &nbsp;<B>aside</B> &nbsp;<I>tag</I> &nbsp;<I>tag2</I>=20
  &nbsp;<BR><B>mk::file</B> &nbsp;<B>autocommit</B> &nbsp;<I>tag</I> =
&nbsp;<BR>
  <P></P>
  <DT>DESCRIPTION
  <DD>The <I>mk::file</I> command is used to open and close Metakit =
datafiles.=20
  It is also used to force pending changes to disk (<I>commit</I>), to =
cancel=20
  the last changes (<I>rollback</I>), and to send/receive the entire =
contents of=20
  a datafile over a Tcl <I>channel</I>, including sockets =
(<I>load/save</I>).=20
  <P>Without arguments, '<B>mk::file open</B>' returns the list of tags =
and=20
  filenames of all datasets which are currently open (of the form =
<I>tag1 name1=20
  tag2 name2 ...</I>).=20
  <P>The '<B>mk::file open</B>' command associates a datafile with a =
unique=20
  symbolic <I>tag</I>. A tag must consist of alphanumeric characters, =
and is=20
  used in the other commands to refer to a specfic open datafile. If=20

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩久久一区二区| 在线免费观看日本欧美| 欧美视频一区二区三区| 欧美日韩中文字幕一区| 欧美日免费三级在线| 在线免费不卡电影| 欧美α欧美αv大片| 亚洲精品一区在线观看| 亚洲天堂久久久久久久| 五月婷婷色综合| 成人丝袜18视频在线观看| 国产一区二区伦理| 91浏览器在线视频| 日韩三级在线观看| 综合欧美亚洲日本| 国产一区二区三区美女| 99久久er热在这里只有精品15| 欧美日韩一区三区| 久久综合色综合88| 亚洲精品福利视频网站| 精品无人区卡一卡二卡三乱码免费卡| 麻豆中文一区二区| 欧美性三三影院| 国产精品美女www爽爽爽| 亚洲国产精品久久久久秋霞影院| 久久精品久久精品| 欧美三级在线播放| 一区二区三区在线免费视频| 国产成人在线视频免费播放| 欧美一区二区三区四区五区| 亚洲人成网站精品片在线观看| 国产精品18久久久久久久久久久久| 777久久久精品| 婷婷丁香激情综合| 欧美日韩一区二区在线观看视频| 亚洲三级在线观看| 色菇凉天天综合网| 中文字幕在线不卡| 国产福利一区二区三区| 中文子幕无线码一区tr| 99久久精品免费精品国产| 国产精品午夜免费| av亚洲精华国产精华精华| 欧美国产日韩a欧美在线观看| 国产高清久久久| 亚洲欧美日韩精品久久久久| 欧美丝袜自拍制服另类| 日韩高清不卡一区二区三区| 亚洲精品一区二区三区在线观看| 国内精品第一页| 久久精品视频免费观看| 91亚洲国产成人精品一区二区三| 一区二区三区欧美亚洲| 欧美一区二区三区人| 成人小视频在线| 五月天亚洲婷婷| 国产精品全国免费观看高清 | 欧美视频完全免费看| 亚洲chinese男男1069| 久久夜色精品国产噜噜av| 91美女片黄在线观看91美女| 青青草精品视频| 国产精品女主播在线观看| 欧美日韩一区视频| 成人av网址在线观看| 亚瑟在线精品视频| 国产精品久久久久四虎| 欧美人牲a欧美精品| 91碰在线视频| 成人午夜免费视频| 国产乱子伦视频一区二区三区| 午夜视频久久久久久| 一区二区三区在线观看动漫 | 免费成人深夜小野草| 中文字幕一区二区三区在线播放| 777午夜精品视频在线播放| 欧美午夜视频网站| 日本韩国一区二区三区| 石原莉奈在线亚洲二区| 亚洲一二三区在线观看| 日韩一区在线播放| 中文字幕亚洲电影| 一区二区三区精品视频在线| 国产精品理伦片| 中文字幕中文在线不卡住| 久久九九久精品国产免费直播| 精品国产青草久久久久福利| 欧美成人bangbros| 日韩免费高清av| 欧美一区二区三区在| 久久久久久久久久看片| 欧美精品一区二区三区蜜桃| 欧美精品一区二区久久久| 久久久久88色偷偷免费| 中文字幕精品一区| 亚洲精品一卡二卡| 日韩制服丝袜av| 国产露脸91国语对白| 99久久99久久综合| 6080亚洲精品一区二区| 欧美国产精品劲爆| 亚洲国产中文字幕在线视频综合| 视频在线观看一区| 成人福利在线看| 日韩你懂的在线观看| 国产精品免费观看视频| 日韩电影在线一区| 在线观看国产91| 日韩精品一区二区在线观看| 欧美精品一区二区三区蜜桃视频| 自拍视频在线观看一区二区| 九色综合国产一区二区三区| 色婷婷综合久久| 国产欧美精品一区二区色综合| 天堂一区二区在线| 91在线观看视频| 国产精品久久久久四虎| 九九**精品视频免费播放| 欧洲精品一区二区三区在线观看| 国产日韩欧美精品在线| 美女免费视频一区二区| 精品视频1区2区| 亚洲精品大片www| 一本色道a无线码一区v| 中文一区二区在线观看| 成人国产精品免费| 中文字幕第一区| 成人激情午夜影院| 国产欧美日韩视频一区二区| 久久精品国产77777蜜臀| 日韩欧美亚洲另类制服综合在线| 日韩二区三区四区| 久久亚区不卡日本| 成人国产精品免费观看动漫| 自拍偷拍欧美激情| 欧美精选一区二区| 精品夜夜嗨av一区二区三区| 国产视频一区在线观看| 狠狠色狠狠色综合系列| 国产精品三级av| 粉嫩av一区二区三区粉嫩| 久久人人爽人人爽| 菠萝蜜视频在线观看一区| 亚洲一区二区美女| 日韩三级伦理片妻子的秘密按摩| 国产成人免费在线视频| 亚洲国产成人精品视频| 欧美va亚洲va香蕉在线| 成人免费看视频| 三级一区在线视频先锋| 国产精品久久久久久户外露出| 在线免费亚洲电影| 国产精选一区二区三区| 伊人开心综合网| 久久精品亚洲精品国产欧美kt∨| 欧美午夜片在线观看| 成人午夜电影网站| 极品美女销魂一区二区三区| 综合久久久久综合| 欧美精品一区二区三区在线 | 久久只精品国产| 欧美亚洲国产一区在线观看网站| 韩国一区二区在线观看| 午夜电影一区二区三区| 亚洲天堂久久久久久久| 国产精品久久久久aaaa| 久久久精品中文字幕麻豆发布| 欧美日韩高清一区| 欧美亚洲综合另类| 欧美亚洲综合色| 777奇米四色成人影色区| 日韩一卡二卡三卡四卡| 精品奇米国产一区二区三区| 久久综合色之久久综合| 久久久久久久久一| 2021中文字幕一区亚洲| 精品少妇一区二区三区视频免付费 | 国产精品嫩草影院com| 欧美电视剧在线看免费| 欧美一区二区三区系列电影| 欧美日韩精品电影| 欧美一区二区成人6969| 欧美一区二区视频免费观看| 精品国产乱码久久久久久1区2区| 精品国产免费一区二区三区四区| 日韩视频一区二区三区| 7777女厕盗摄久久久| 欧美一区二区三区免费在线看| 精品欧美一区二区在线观看| 亚洲精品在线网站| 国产精品久久久久久妇女6080| 亚洲精品一二三区| 韩国av一区二区三区在线观看| 成人黄色大片在线观看| 欧美色图一区二区三区| 欧美大胆一级视频| 亚洲精品国产无套在线观| 美腿丝袜亚洲综合| 日本精品裸体写真集在线观看| 精品精品国产高清a毛片牛牛|