Position of element in a list
- To: mathgroup at smc.vnet.net
 - Subject: [mg16301] Position of element in a list
 - From: Roger Mason <rmason at sparky2.esd.mun.ca>
 - Date: Sun, 7 Mar 1999 01:05:34 -0500
 - Sender: owner-wri-mathgroup at wolfram.com
 
Hi,
I want to find the Position[] of negative elements in a list. The obvious
methods do not work:
Position[{-1, 3, -2, 1}, -_]
and
Position[{-1, 3, -2, 1}, -x_]
return
{}
So how do I perform this apparently simple task?
Thanks,
Roger Mason
- Follow-Ups:
- Re: Position of element in a list
- From: Jurgen Tischer <jtischer@col2.telecom.com.co>
 
 - Re: Position of element in a list
- From: "Martin W. Mak" <mwmak@ix.netcom.com>
 
 
 - Re: Position of element in a list