LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2007, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
              Macro program
Comments: To: Kevin Viel <kviel@sfbrgenetics.org>
In-Reply-To:  <001a01c811a3$bb4f0a80$723a7cce@win.sfbrgenetics.org>
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! http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews


Back to: Top of message | Previous page | Main SAS-L page