/* ROTATE EXEC */
/* Example: two iterations of wheel, six iterations */
/* of cog. On the first three iterations, "x < 2" */
/* is true. On the next three, it is false. */
trace L
do x = 1 to 2
wheel:
do 3
cog:
if x < 2 then do
true:
end
else do
false:
end
end
end
done:
rotate
6 *-* wheel:
8 *-* cog:
10 *-* true:
8 *-* cog:
10 *-* true:
8 *-* cog:
10 *-* true:
6 *-* wheel:
8 *-* cog:
13 *-* false:
8 *-* cog:
13 *-* false:
8 *-* cog:
13 *-* false:
17 *-* done: