I have a stubborn lecturer who insists that defining all macro variables inside the parenthesis of the macro statement like this
%MACRO TEST(Var1= , Var2= , Var3= );
What are the advantages of this? What are the advantages of actually defining your function like this instead:
%LET var1= <Insert long list of 50 variables here>;
%LET var2= <name of input data>;
%LET var3= <group by variables>;
%MACRO TEST;
I argue that the second option provides clarity and a neat coding structure, could anyone point out any other advantages or disadvantages of the two methods?
Two main points: