REPEAT...UNTIL - Loop structure

 

SET:i:0                      // int i = 0;

        REPEAT

          PLAY:ACTION:SIT        //"sit and stand" for 3 times.

          WAIT

          PLAY:ACTION:STAND

          WAIT

          ADD:i:1                 // i += 1;

        UNTIL:i:>=:3

 

Description:

This program will let AIBO sit and stand for 3 times.