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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

working with booleans 1

Status
Not open for further replies.

lespaul

Programmer
Feb 4, 2002
7,083
US
So I need to find a JAVA equivalent of the Delphi not.

In Delphi I can do something like this. I have a boolean called CanContinue and while it's FALSE this loop will continue to run.

Code:
while not CanContinue
begin
  //some code
  Next;
end;

How can I duplicate this in Java?

Thanks!

Leslie

In an open world there's no need for windows and gates
 
I knew it had to be the ! (bang) but I couldn't quite get the syntax right!

Thanks!
Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top