Skip to content
Snippets Groups Projects
Select Git revision
  • 61b7fc5efc4e4d69ffb075582b5bebd6ec80285e
  • main default protected
2 results

example2.bb

Blame
  • example2.bb 268 B
    clear X;
    incr X;
    incr X;
    clear Y;
    incr Y;
    incr Y;
    incr Y;
    clear Z;
    while X not 0 do;
       clear W;
       while Y not 0 do;
          incr Z;
          incr W;
          decr Y;
       end;
       while W not 0 do;
          incr Y;
          decr W;
       end;
       decr X;
    end;
    
    debug X;
    debug Y;
    debug Z;