aboutsummaryrefslogtreecommitdiff
path: root/www/lang.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'www/lang.tcl')
-rw-r--r--www/lang.tcl11
1 files changed, 10 insertions, 1 deletions
diff --git a/www/lang.tcl b/www/lang.tcl
index ba1655f8c..09d95101f 100644
--- a/www/lang.tcl
+++ b/www/lang.tcl
@@ -1,7 +1,7 @@
#
# Run this Tcl script to generate the lang-*.html files.
#
-set rcsid {$Id: lang.tcl,v 1.118 2006/09/23 20:46:23 drh Exp $}
+set rcsid {$Id: lang.tcl,v 1.119 2007/01/29 15:50:06 drh Exp $}
source common.tcl
if {[llength $argv]>0} {
@@ -1374,6 +1374,15 @@ between -9223372036854775808 and +9223372036854775807.</td>
</tr>
<tr>
+<td valign="top" align="right">randomhex(<i>N</i>)</td>
+<td valign="top">Return a pseudo-random hexadecimal string that is
+<i>N</i> characters in length. <i>N</i> should be an even integer between
+2 and 1000. The intended use of this function is to generate
+universally unique identifiers (UUID). For that purpose, it is recommended
+that <i>N</i> be at least 32.</td>
+</tr>
+
+<tr>
<td valign="top" align="right">round(<i>X</i>)<br>round(<i>X</i>,<i>Y</i>)</td>
<td valign="top">Round off the number <i>X</i> to <i>Y</i> digits to the
right of the decimal point. If the <i>Y</i> argument is omitted, 0 is