[ESS-bugs] ESS SAS

Rodney Sparapani rsparapa at mcw.edu
Mon Oct 1 21:05:10 CEST 2012


On 10/01/2012 01:56 PM, Thomas Marx wrote:

Interesting...

 > Original:
 > proc datasets lib=work;
 >      modify test;
 >          rename b=a;
 >      run;
 >      modify test2;
 >          rename c=b;
 >      run;
 > quit;

Indented:
proc datasets lib=work;
     modify test;
     rename b=a;
run;
modify test2;
rename c=b;
run;
quit;

 > Original:
 > %macro lots_of_params(
 >      param1=,
 >      /* this param ist for this */
 >      param2=,
 >      /* this param ist for this */
 > );
 > whatever
 > %mend;

Indented:
%macro lots_of_params(
     param1=,
     /* this param ist for this */
         param2=,
     /* this param ist for this */
             );
     whatever
     %mend;

Having said that, I have rarely relied on automated
indenting.  As a touch typist (as I suspect many aging SAS coders
like myself are), I rely on the TAB key.  So, this bug/feature is not 
very high on my list.  But, thanks for the example.
-- 
Rodney Sparapani, PhD  Center for Patient Care and Outcomes Research
Sr. Biostatistician               http://www.mcw.edu/pcor
4 wheels good, 2 wheels better!   Medical College of Wisconsin (MCW)
WWLD?:  What Would Lombardi Do?   Milwaukee, WI, USA



More information about the ESS-bugs mailing list