util::random_range (public)
util::random_range range
Defined in packages/acs-tcl/tcl/utilities-procs.tcl
Returns a pseudo-random number between 0 and range.
- Parameters:
- range (required)
- Returns:
- integer
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- set_get_timezone, acs_mail_lite_inbound_procs_check, util__randomize_list
Source code: incr range return [expr {int([util::random] * $range) % $range}]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-tcl/tcl/utilities-procs.xql