Grrrr, I can never type this correctly first time! The print line should have read; print val "," data[val] Sorry! -- Ian Hill I.A.Hill at cs.cf.ac.uk A man who fishes for marlin in ponds will put his money in Etruscan bonds.