summaryrefslogtreecommitdiff
path: root/bdb/tcl/docs/library.html
blob: bfb1588c3f2699727aebee096c67b2abc283f17d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!--Copyright 1999-2002 by Sleepycat Software, Inc.-->
<!--All rights reserved.-->
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="GENERATOR" CONTENT="Mozilla/4.08 [en] (X11; I; FreeBSD 2.2.8-19990120-SNAP i386) [Netscape]">
</HEAD>
<BODY>
<HR WIDTH="100%">
<H2>
<A NAME="Convenience Commands"></A>Convenience Commands</H2>
The convenience commands are provided for ease of use with the DB test
suite.
<P><B>> berkdb rand</B>
<P>This command will invoke the rand function and return the random number.
<P>
<HR WIDTH="100%"><B>> berkdb random_int <I>low high</I></B>
<P>This command will invoke the rand function and return a number between
<B><I>low</I></B>
and <B><I>high</I></B>.
<P>
<HR WIDTH="100%">
<P><B>> berkdb srand <I>seed</I></B>
<P>This command will invoke the srand function with the given <B><I>seed</I></B>
and return 0.
<P>
<HR WIDTH="100%">