View Single Post
  #12  
Old 11-04-2011, 07:52 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
Ok will fix that behaviour of randomstring(), it was originally not made for getting arrays as input.
Can you add a random() to TGraalVar (or whatever the main class is) so we can retrieve random elements or characters from arrays and strings. I.e:

"abcdefg".random() - can return "a" or "b" or etc.
{1,2,3,4}.random() - can return 1, 2, or etc.
__________________
Quote:
Reply With Quote