SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Generating Data with DO Loops
Conditionally Executing DO Loops


Question: How many times does this DO loop execute?

0
     data work.test;
        x=15;
        do until(x>12);
           x+1;
        end;
     run;
1
12
x



  back||next

 

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

Terms of Use & Legal Information | Privacy Statement