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 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 10 Oct 2000 17:16:56 GMT
Reply-To:     Swimmast <swimmast@CS.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Swimmast <swimmast@CS.COM>
Organization: CompuServe (http://www.compuserve.com/)
Subject:      Re: MACRO VAR

A couple of things.

1) Remove these quotes. You are literally asking if the substring returns the string "0".

>%if %substr(&dat,3,1) ne "0"

2) The macro variable title is local to the macro title3. By the time you get around to resolving it, it doesn't exist anymore. Try adding a %global title; statement inside the macro before you make any other references to the macro variable title.

Hope that helps.


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