Re: (cast) iteration not working???

From: Sudsy (bitbucket44_at_hotmail.com)
Date: 01/13/05


Date: Wed, 12 Jan 2005 23:01:33 -0500

hilz wrote:
<snip>
> but that is still not the same as "until"
> "until" keeps the control in the loop until the condition is met.
> "while" keeps the control in the loop while the condition is met
> so to get the "until" effect using a "while", you will have to reverse the
> "while" condition. A "do..while" construct does not do that.

Then use the shortcut for(;;until_condition){}. There are always
equivalents in most languages, Java included... ;-)



Relevant Pages

  • Re: Basic inheritance question
    ... used 'this' in C++ and Java. ... but in Python it doesn't. ... you meant "in languages that has implicit instance reference available in methods"? ...
    (comp.lang.python)
  • Re: Looking for programming examples in any programming language
    ... in an in-page applet. ... do that for such a broad range of languages. ... But note even Java applets ... If you're going to separate the specific I/O environment from ...
    (comp.programming)
  • Re: parser
    ... and by no means is Java some obscure language... ... but I still feel that both C and C++ are good languages to use for ... leaving the backend interpreter/JIT as a simpler piece of machinery). ... that you believe that C lacks the ability to build parsers as masses of tiny ...
    (comp.programming)
  • Re: OO compilers and efficiency
    ... > will be difficult for a compiler to do a good job of spotting when the OO ... "simpler" languages, ... I agree that Java ... (including adding lexical closures) ...
    (comp.programming)
  • Re: Is VB.NET dead?
    ... important in communication, it is understanding that writes good software. ... Of course, in the case of programming languages, the ... the similarity between the syntax of C# and Java ... is not one of "mere" punctuation. ...
    (microsoft.public.dotnet.general)