%begin
  %integer fred, jim, i
first:
  jim = 1
  %if jim = 1 %then -> first
  jim = 2
  %if jim = 2 %then -> second
  %for fred = 1, 10, jim %cycle
    %if i = 55 %then %continue
    %if i = 99 %then %exit
    i = i+1
  %repeat
  %while fred < jim %cycle
    %if i = 55 %then %continue
    %if i = 99 %then %exit
    i = i+1
  %repeat
  %cycle
    %if i = 55 %then %continue
    %if i = 99 %then %exit
    i = i+1
  %repeat %until fred = jim
  %cycle
    %if i = 55 %then %continue
    %if i = 99 %then %exit
    i = i+1
  %repeat
second:
%endofprogram
