Re: (cast) iteration not working???

From: hilz (no.w_at_y.com)
Date: 01/13/05


Date: Wed, 12 Jan 2005 19:53:06 -0500


> <snip>
> > Yup. But you're using a "while" construct, not an "until" (which java
doesn't
> > have). <snip>
>
> But there's always the following construct:
>
> do {
> // something
> } while ( // condition );
>
> Same as in C.

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.

thanks
hilz



Relevant Pages

  • Re: Slope Compensation and Vodka
    ... > | IIRC its associated with the sampled-data nature of the overall ... > | loop, which the standard linear analysis conveniently ignores. ... the real circuit for a control loop analysis, ... It all seems to boil down to the "choice" of modulator transfer ...
    (sci.electronics.design)
  • Re: Exploring the FOPDT Model With a Parameter Sensitivity Study
    ... primary focus is on PID control and related architectures. ... PID loops and from 50 to over 1000 measurements. ... A control person seeking to tune a loop 'might' ... And I know my posts on this newsgroup announcing the publication of the ...
    (sci.engr.control)
  • Re: The Cascade Control Architecture - controlguru post
    ... performance are cascade control and feed forward with feedback trim. ... literally nest a secondary control loop inside a primary loop as ... you _cannot_ improve the disturbance ...
    (sci.engr.control)
  • RE: New to VBA, Search for hole in numeric value using string as a cri
    ... You are setting the control to true and never checking for it's ... Then loop through those looking for the gap in numbers. ... > Dim tcrNum As Integer ... > Dim tcrPull As Integer ...
    (microsoft.public.access.formscoding)
  • Re: question about thread scheduling
    ... still have problems with rescheduling. ... In essential, it is a control problem, and I must send a voltage to the ... If the NN run in a different thread as the control loop ...
    (microsoft.public.windowsce.platbuilder)