I fear that this question has already been asked, but is there and equivalant one line command that is equivalant to the C command: a = x > y ? x : y -- Curtis Jensen cjensen at be-research.ucsd.edu http://www-bioeng.ucsd.edu/~cjensen/ FAX (425) 740-1451