In reply to dave_59:
Thanks Dave very much. Can this be used for an array of real values ?
rand real array[1000];