• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

question about loop

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made a code to read values in a while loop which should terminate to code outsid the loop after the value has retrieved,however the application has never enter 'else' condition
This is the debug from my Code

GROUPIDA002
PERIOD2005-2006
MIMS:N
aktifkan actual value
GROUPIDA002
PERIOD2005-2006
MIMS:N
aktifkan actual value
GROUPIDA002
PERIOD2005-2006
MIMS:N
aktifkan actual value
GROUPIDA002
PERIOD2005-2006
MIMS:N
aktifkan actual value
GROUPIDA002
PERIOD2005-2006
MIMS:N
aktifkan actual value
GROUPIDA002
PERIOD2005-2006
MIMS:N
aktifkan actual value

This is the code
 
Ranch Hand
Posts: 2410
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Isn't this always true?
 
pingkan paula
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, but the first and second value is N
I've changed my code like shown below but the debug is still the same
It's getting a little bit frustated right now cuz i'm in the middle of deadline


 
    Bookmark Topic Watch Topic
  • New Topic