Date: Thu, 18 Oct 2007 16:28:20 +0000
Reply-To: toby dunn <tobydunn@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: toby dunn <tobydunn@HOTMAIL.COM>
Subject: Re: My position on default value in Positional & Keyword list for
Content-Type: text/plain; charset="iso-8859-1"
I never use positional parameters for a whole long list of reasons.... In fact in all but one rare case I havent found once where they were superior to Keyword parameters.
Toby Dunn Compromise is like telling a lie, it gets easier and easier. Each compromise you make, that becomes your standard. Perfection doesnt exist, once you reach it, its not perfect anymore. It means something else.> Date: Thu, 18 Oct 2007 11:27:09 -0500> From: kviel@SFBRGENETICS.ORG> Subject: Re: My position on default value in Positional & Keyword list for Macro program> To: SAS-L@LISTSERV.UGA.EDU> > > -----Original Message-----> > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On> > Behalf Of toby dunn> > Sent: Thursday, October 18, 2007 10:13 AM> > To: SAS-L@LISTSERV.UGA.EDU> > Subject: Re: My position on default value in Positional &> > Keyword list for Macro program> > > When you call a Positional Parameter macro you must have all> > the commas in the call otherwise it will choke and throw an error:> >> > %Macro Junk( , AAA , BBB )> > Which is why I have adopted the style of, I believe, Ron:> > %Macro Junk(> , AAA> , BBB> )> > It is very clear how many parameters are needed and the commas can be seen> immediately (and not at the end of a potentially long value).> > HTH,> > Kevin> > Kevin Viel, PhD> Post-doctoral fellow> Department of Genetics> Southwest Foundation for Biomedical Research> San Antonio, TX 78227
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!