Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extract values ascending from a particular value

Status
Not open for further replies.

aSDDSasdas

Programmer
Jul 12, 2006
19
AT
Hello everyone ,
i would like to extract values(the next 3 values ) from a particular value ..for eg i search for a value 8 n the next 3 values should also be given out...i.e 8 ,7,6 ,5 or maybe i search for 1 and the following is displayed...1,2,3,4
1
2
3
4
5
6
7
8
9
10


is it possible
thank u in advance
 
Yes it's possible.

What code of you written so far?

And in my best KevinADC voice "Is this school work?"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those Who Say It Cannot Be Done Are Usually Interrupted by Someone Else Doing It; Give the wrong symptoms, get the wrong solutions;
 
could be school/class work, but all he needs to do is use the sort() function.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top