Tcl Powered!NeoWebScript

Home
 
Download
User Info
New User FAQ
Tutorials
Demos
Commands
Variables
Troubleshooting
Sysop Info
Sysop FAQ
Theory
Installation
Management
Tests
Troubleshooting
Feedback
Resources
Release Notes
Credits
Disclaimer
RANDOM - Extended TCL
Synopsis * Description

Creates a random integer.

Synopsis

    random limit | seed ?seedval?

Description

Generate a pseudorandom integer number greater than or equal to zero and less than limit. If seed is specified, then the command resets the random num- ber generator to a starting point derived from the seedval. This allows one to reproduce pseudorandom number sequences for testing purposes. If seedval is omitted, then the seed is set to a value based on current system state and the current time, pro- viding a reasonably interesting and ever-changing seed.

Copyright © 1995-1999 NeoSoft Inc., 1770 St. James Place, Suite 500, Houston, TX 77056 USA. All Rights Reserved