Solved a problem in an elegant manner and want to show off your code? Know a hard-to-find feature? Post it here for the benefit of others. Questions don't belong here.
Posts: 474
Joined: Wed Nov 30, 2011 10:20 pm
Been thanked: 121 times


Post by steve »

generates random strings in Proclaim Maths
RANDOM(<"STRING" or "NUMBER"> , <output length> , <"UPPER" or "LOWER"> )
“STRING” – Outputs a mixture of Alphas and Numbers
“NUMBER” – Outputs Numbers only
“Output Length” – The length of the random output (Number of characters)
(NB due to a Progress limitation numbers can be a maximum of 9 characters long).
“UPPER” – Characters converted to upper case
“LOWER” – Characters converted to lower case


Code: Select all

R = RANDOM ( "NUMBER" , 20 , "LOWER" )
MESSAGE( "Random : " , R )