13 Mar
2012
13 Mar
'12
4:56 p.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