ChardScript While Loops
ChardScript Loops
The while Loop
call i = 1
while i < 6 then
echo(i)
call i = i + 1
endThe stop Statement
The continue Statement
Last updated
call i = 1
while i < 6 then
echo(i)
call i = i + 1
endLast updated
call i = 1
while i < 6 then
echo(i)
if i == 3 then
stop
end
call i = i + 1
endcall i = 0
while i < 6 then
call i = i + 1
if i == 3 then
continue
end
echo(i)
end