Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: List Position

  • To: mathgroup at
  • Subject: [mg15835] Re: [mg15740] List Position
  • From: "Tomas Garza" <tgarza at>
  • Date: Fri, 12 Feb 1999 18:39:55 -0500 (EST)
  • Sender: owner-wri-mathgroup at

Harry Flynn wrote:
>Can anyone tell me how I find the position in a list of the first value
>less than or equal to zero.
>For example, how can I get Mathematica to tell me that in the list
>that the first value of interest to me is position 5.


Position[-listA,{_?NonNegative}]//First//First Out[1]=

Good luck,

Tomas Garza
Mexico City

  • Prev by Date: Re: graphing inequalities
  • Next by Date: QM,physics, mathematica
  • Previous by thread: Re: List Position
  • Next by thread: Re: List Position