This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Identify even numbers or rows in a loop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Identify even numbers or rows in a loop" Watch "Identify even numbers or rows in a loop" New topic
Author

Identify even numbers or rows in a loop

Reggie McDougal
Ranch Hand

Joined: Sep 27, 2004
Posts: 69
Can anyone tell me how I might identify if an element in a loop is even.

eg. a rowcount var - if it can be divided by 2 etc..

does any one have a code example?

Reg


You can never drink too much
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60783
    
  65



[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Identify even numbers or rows in a loop
 
Similar Threads
looped menu
Can you eplain this code
How to identify infinite loop in servlet
what is the difference
String compression