![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
13 Mar
2012
13 Mar
'12
10:56 a.m.
On 03/13/2012 05:33 PM, Peter Rolf wrote:
string mypath, rndfile;
mypath:= "backgroundpics/"; nofpics:= 22;
n:= round(uniformdeviate(nofpics-1)+1); rndfile:= mypath& decimal n;
HTH, Peter
Aditya, Peter, thank you both for your quick replies! Peter's works wonderfully; Aditya's untested code throws an error "! Not implemented: (string)&(known numeric)." I guess this is too arcane for the wiki? Thanks, and best wishes Thomas