Compile the |do| statement