The problem can be solved in many ways. If efficiency is a concern you'd have to do some benchmarks to see which one is more efficient.
*./@~: i.~ -: i:~ # = [EMAIL PROTECTED] -:~. My guess is that the first one is the most efficient. ----- Original Message ----- From: bill lam <[EMAIL PROTECTED]> Date: Tuesday, December 11, 2007 7:36 Subject: [Jprogramming] test for unique To: Programming forum <[email protected]> > Any suggestion for a good phrase for testing whether all items > are unique? > eg. > unique 2 3 1 > 1 > > unique 4 2$'ABC' > 0 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
