Re: Loop continue

Tech-Archive recommends: Speed Up your PC by fixing your registry




Continue is considered structured. It has a very specific meaning - jump to
the end of the loop and follow the instruction there. If there is a "GO" in
the middle, do not pass it and do not collect $200.

Mike Ober.

"Charles Law" <blank@xxxxxxxxxxx> wrote in message
news:uXVUQKZiFHA.576@xxxxxxxxxxxxxxxxxxxxxxx
>
> Hi David
>
> There is no equivalent. Continue is unstructured, so you need to alter the
> logic to be structured, for example
>
> For i As Integer = 0 To 9
> If i <>7 Then
> ...
> End If
> Next i
>
> HTH
>
> Charles
>
>
> "David Dvali" <david_dvali@xxxxxxxxxxx> wrote in message
> news:%23WS5BoXiFHA.1444@xxxxxxxxxxxxxxxxxxxxxxx
> > What is loop continue in VB?
> > Loke in C#:
> > for (int i=0; i<10; i++)
> > {
> > if (i==7)
> > continue;
> > ...
> > }
> >
>
>
>



.



Relevant Pages

  • Re: Setting breakpoint on the end of the method in Eclipse
    ... frame and jump to the caller's code. ... It executes a return instruction. ... but I really don't know how JVM works. ... if failed jump to the first instruction after the body of the loop ...
    (comp.lang.java.programmer)
  • Re: programming language
    ... you will find the source code to my bf interpreter. ... instruction_pointer is the index of the instruction currently being executed in the instruction array. ... execute() is where the action happens. ... executegets a pointer to a bf_vm, where it executes one instruction, increments the instruction pointer of the bf_vm so that it points to the next instruction (or does a loop), and returns. ...
    (comp.programming)
  • Re: How much does it take to execute MMX instruction?
    ... a unrolled loop with lots of nop's in the ... This way we have accurate enough instruction timings. ... Pentium M, in general, has latency one clock cycle less, than Pentium ...
    (comp.lang.asm.x86)
  • Re: Jump Take offs
    ... I am excited to hear about your progress on the loop. ... Ask your coach if you are making the mohawk curve too deeply before ... I do the flip from a 3-turn, and it's helped a lot to think of a fairly ... clobber the jump. ...
    (rec.sport.skating.ice.recreational)
  • Re: IAR MSP430 compiler problem
    ... Does anybody knows how to force compiler to use call instruction ... to next instruction after Spin function..... ... But it doesn't actually co-operate - an eternal loop is not co-operative, even if it you cheat and break out using interrupts. ... Interrupts are inherently asynchronous - if the thread can be suspended by an interrupt function, ...
    (comp.arch.embedded)