Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

two variables in a for-loop

807603Dec 17 2007 — edited Dec 17 2007
Hi, I wonder if it's possible to make a for-loop depend on 2 variables instead of one. The one I want would look something like this:

for((int b = 1; n <= faltlangd; b++;) && (int c = faltlangd; c <= soklangd; c--))

I know that particular one doesn't work but I want one that would do what that one would do if it would work.. :P

Edited by: YZF-R1 on Dec 17, 2007 8:38 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 14 2008
Added on Dec 17 2007
41 comments
690 views