non-zero function



Hello,
  The command

   sublist(L,evenp)
  extracts the even entries in the list L.

Is there a simple command to extract the non-zero elements in a list?

Thanks,
  -sen

-- 
  ---------------------------------------------------------------------------
  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
  | Mathematics Department         |       				   |
  | Michigan State University      | telephone: 517-355-9684                |
  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
  ---------------------------------------------------------------------------