Forum Discussion
dragonflymr Cirrostratus
Cirrostratus
Dec 10, 2015proc - how to interpret
 Hi, 
 I am puzzled what is exact purpose of char declaration in proc below (from  
  proc randomNumberGenerator {length {chars "0123456789"}} {
  set range [expr {[string length $chars]-1}]
  set txt...
Kai_Wilke MVP
MVP
Dec 10, 2015Hi Piotr,
the proc simply outputs "$length" times a "rand()" position from "$chars". So any alphanumeric charater may be used as input.
Cheers, Kai
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects