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 (August 1998, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 19 Aug 1998 10:16:17 -0100
Reply-To:   ALDEBERT Marc <marc.aldebert@CNET.FRANCETELECOM.FR>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   ALDEBERT Marc <marc.aldebert@CNET.FRANCETELECOM.FR>
Organization:   CNET - FRANCE TELECOM
Subject:   Optional macro paremeters
Content-Type:   text/plain; charset=us-ascii

I'm wondering if it's possible to pass optional parameters to a SAS macro.

My idea is to create a macro : %macro(i,j) where i is compulsory and j optional. If j is not fed to the macro, it takes a default value.

So the user should be able to type %macro(i) or %macro(i,j)

Is it possible ?


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