亚洲欧美第一页_禁久久精品乱码_粉嫩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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久国产尿小便嘘嘘尿| 精品久久久久久久一区二区蜜臀| 粉嫩高潮美女一区二区三区 | 99久久夜色精品国产网站| 99re成人精品视频| 欧美浪妇xxxx高跟鞋交| 精品美女在线观看| 17c精品麻豆一区二区免费| 亚洲黄色片在线观看| 久久99精品国产.久久久久久| 成人app网站| 欧美一区二区三区男人的天堂| 日本一区二区高清| 蜜桃视频一区二区| 欧美中文一区二区三区| 久久久蜜桃精品| 午夜久久电影网| 不卡的av电影在线观看| 日韩欧美国产综合| 亚洲成人免费在线观看| jlzzjlzz亚洲女人18| 自拍偷拍国产精品| 毛片不卡一区二区| 欧美体内she精视频| 国产精品福利在线播放| 韩国三级电影一区二区| 欧美人xxxx| 爽好久久久欧美精品| 欧洲av一区二区嗯嗯嗯啊| 国产精品对白交换视频| 风间由美一区二区三区在线观看 | 亚洲高清三级视频| 91免费观看国产| 亚洲欧美日本韩国| 在线视频你懂得一区二区三区| 亚洲欧美在线视频| 99久久伊人网影院| 成人免费视频在线观看| 91黄色在线观看| 婷婷六月综合亚洲| 欧美成人国产一区二区| 国产精品91一区二区| 国产精品不卡在线| 欧洲亚洲精品在线| 日韩成人av影视| 精品国内片67194| 成人99免费视频| 亚洲影院免费观看| 亚洲精品在线三区| 色成人在线视频| 激情欧美日韩一区二区| 一区二区三区在线看| 在线播放中文一区| 国产成人激情av| 亚洲无人区一区| 中国色在线观看另类| 色一情一伦一子一伦一区| 免费高清在线视频一区·| 国产清纯在线一区二区www| 日本国产一区二区| 夜夜精品视频一区二区 | 天天综合天天做天天综合| 国产日产亚洲精品系列| 91精品麻豆日日躁夜夜躁| 成人激情综合网站| 国产精品一级片在线观看| 一区二区三区高清| 综合中文字幕亚洲| 久久久久久久久岛国免费| 欧美亚洲综合一区| 91浏览器在线视频| 国v精品久久久网| 国产成人av一区二区三区在线 | 欧美高清精品3d| 色婷婷久久综合| 91麻豆免费观看| 91小视频免费看| 一本一本久久a久久精品综合麻豆| 国产精品一区二区久激情瑜伽| 狠狠色丁香九九婷婷综合五月| 日日夜夜精品视频天天综合网| 日韩综合小视频| 日韩一区二区在线观看视频播放| 91国偷自产一区二区三区观看| 91在线无精精品入口| 欧美三级三级三级爽爽爽| 欧美色图激情小说| 日韩一区二区在线看| 欧美精品一区二区三区四区| 国产欧美一区在线| 亚洲欧美一区二区久久| 一个色综合网站| 日本va欧美va欧美va精品| 蜜臀久久久久久久| 国产白丝精品91爽爽久久| 色诱视频网站一区| 欧美成人欧美edvon| 亚洲人成精品久久久久| 热久久一区二区| 99久精品国产| 日韩视频永久免费| 亚洲欧美日韩精品久久久久| 婷婷夜色潮精品综合在线| 成人免费视频视频在线观看免费 | 欧美国产日韩a欧美在线观看| 亚洲一区二区欧美激情| 精品无人区卡一卡二卡三乱码免费卡| 北岛玲一区二区三区四区| 欧美一区二区三区在线电影| 国产精品私人自拍| 狠狠网亚洲精品| 3751色影院一区二区三区| **性色生活片久久毛片| 国产精品456| 精品国产乱码久久久久久久| 亚洲欧美色图小说| 香蕉乱码成人久久天堂爱免费| www.成人网.com| 国产色91在线| 国产a精品视频| 日本一区二区三区久久久久久久久不 | 亚洲视频网在线直播| 国产69精品久久久久毛片| 久久免费看少妇高潮| 韩国精品免费视频| 久久久99精品免费观看不卡| 蜜臀精品久久久久久蜜臀| 日韩欧美色电影| 美国十次了思思久久精品导航| 9191成人精品久久| 免费在线看成人av| 精品第一国产综合精品aⅴ| 寂寞少妇一区二区三区| 国产日产精品1区| va亚洲va日韩不卡在线观看| 综合在线观看色| 欧洲日韩一区二区三区| 免费在线观看成人| www国产成人| 91国偷自产一区二区使用方法| 亚洲成av人影院在线观看网| 欧美日韩国产小视频| 毛片一区二区三区| 亚洲丝袜自拍清纯另类| 91精品国产色综合久久不卡蜜臀 | 偷窥少妇高潮呻吟av久久免费| 日韩欧美电影一区| 日本伦理一区二区| 国产一区二区三区久久久| 免费在线观看不卡| 国产日韩成人精品| 日韩欧美一区二区在线视频| 国v精品久久久网| 免费人成精品欧美精品| 中文字幕在线观看不卡| 91精品国产手机| 91久久精品午夜一区二区| 激情欧美一区二区| 久久国产精品99久久人人澡| 亚洲尤物在线视频观看| 亚洲色图一区二区| 久久午夜老司机| 精品久久久久久久久久久久久久久| 99久久综合色| 不卡视频免费播放| 9191国产精品| 26uuu亚洲婷婷狠狠天堂| 在线中文字幕一区| 91色九色蝌蚪| 欧美视频你懂的| 91成人国产精品| 一本色道**综合亚洲精品蜜桃冫| 成人av综合在线| 成人免费高清视频| 91视频观看视频| 欧美揉bbbbb揉bbbbb| 在线观看91av| 日韩午夜在线播放| 欧美精品一区二区三区很污很色的 | 成人免费的视频| 国产精品一区二区久久不卡 | 欧美性做爰猛烈叫床潮| 欧美三级一区二区| 美日韩一区二区| 福利电影一区二区| 精品视频1区2区| 精品99久久久久久| 国产精品你懂的在线欣赏| 亚洲综合无码一区二区| 久久精品国产精品亚洲红杏| 成人爽a毛片一区二区免费| 欧美肥妇毛茸茸| 日韩理论电影院| 国产一区视频网站| 91久久精品一区二区二区| 日韩一级视频免费观看在线| 国产精品青草综合久久久久99| 男男gaygay亚洲| 3d动漫精品啪啪| 亚洲综合男人的天堂|