I remember there being a way to "Force" return to the start of a repeat without it having to go through all of the motions of the rest of the repeat .. until. Does anyone recall what it is?
Thank you in advance.
I remember there being a way to "Force" return to the start of a repeat without it having to go through all of the motions of the rest of the repeat .. until. Does anyone recall what it is?
Thank you in advance.
is the way to goSimba Code:Continue;
EDIT: a simple example too
Simba Code:repeat
Inc(i);
if i = 3 then Continue;
Writeln(i);
until i >= 5;
Outputs: 1, 2, 4, 5
Last edited by bugger0001; 01-11-2011 at 02:13 PM.
A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
FalBuggySmelter v.1.31
[Updated on the 1st of March 2010]
RimmBugger BETA V1.8
Break; Breaks out of loops Continue; returns to the beginning of the Loop.
~BraK
"Sometimes User's don't need the Answer spelled out with Code. Sometimes all they need is guidance and explanation of the logic to get where they are going."
There are currently 1 users browsing this thread. (0 members and 1 guests)