Thanks to both Paul and Emile for the help. The code now works correctly. -- ``We may feel that at last, unlike all previous generations, we have found certitude. They thought so too'' -Robert Conquest Matthew Nobes, c/o Physics Dept. Simon Fraser University, 8888 University Drive Burnaby, B.C., Canada, http://www.sfu.ca/~manobes