EasyManua.ls Logo

WhalesBot Eagle - Page 31

Default Icon
44 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
30
4. Loop blocks
Block
Snapshot
Description
Repeat
forever
The while(1) loop in C
programming, which indicates
continuous execution of the
contained statements
indefinitely.
Repeat
specific
times
The for loop in C
programming, which allows
you to determine the
iteration times through
parameters or variables. In
each iteration, the loop's
body is executed.
Repeat
until
The while(!(condition)) loop in
C programming, which allows
you to employ variables,
sensor settings, or
parameters to influence the
loop's execution. The loop
continues unless the
condition is met.
Break
The break statement in C
programming, which is used
within loops. The loops end
when the program control