SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Generating Data with DO Loops
Using Conditional Clauses with the Iterative DO Statement


Question: How many times does this DO loop execute?
     data work.trial;
        do i=1 to 10 while(x<=4);
           x+1;
        end;
     run;

           


  back||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement