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 2003, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 15 Aug 2003 19:46:12 +0200
Reply-To:     Tine Andersen
              <tine.n.o.s.p.a.m.andersen@POST3.N.O.S.P.A.M.TELE.DK>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Tine Andersen
              <tine.n.o.s.p.a.m.andersen@POST3.N.O.S.P.A.M.TELE.DK>
Organization: Customer of Tiscali A/S
Subject:      Solution: PROC REPORT and LINE statement

I solved it - not easy.

compute after g1; if yesplease > 0 then do; text = 'write a line here'; noofchar = 17; end; else do; text = ''; noofchar = 0; end;

line text $varying. noofchar; endcomp;

Writes a line if noofchar is not zero - otherwise does nothing - at least on my system.

Tine

"Tine Andersen" <tine.nospam.andersen@nospam.post3.tele.dk> skrev i en meddelelse news:3f3cc4c6$0$21571$edfadb0f@dread11.news.tele.dk... > Hi, > > I would like to vary the number of blank lines after a group depending on a > data set variable. > > Sometimes one blank line - sometimes none. Is this possible? > > I can manage to change the contents of the line - either blank or with > contents - but no matter how I try with do-end or macroprogramming I can't > get a differing number of lines. > > Anyone? > > Tine > >


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