Prev: Difference between QUIT and RUN
Next: proc report - general strategy - rows and conditional formatting
From: maggi on 9 Jul 2010 05:04 Please help me in solving this question Data work.one; a = 10; run; proc print data = work.one; title1 ..; title2 ..; run; However, title1 should be, Hello World (There are 15 spaces between the word Hello and World) Title2 should be, Hello World (There is a gap of 5 lines between the word Hello and World. Note that you are not allowed to use title3, title4, title5 etc.) Note that default result output of EG should be set to HTML.
From: Patrick on 9 Jul 2010 07:01 Hope this paper will be of some help: http://www.wuss.org/proceedings08/08WUSS%20Proceedings/papers/cod/cod07.pdf
From: Ya on 9 Jul 2010 11:00
On Jul 9, 2:04 am, maggi <meghaofde...(a)gmail.com> wrote: > Please help me in solving this question > > Data work.one; > a = 10; > run; > > proc print data = work.one; > title1 ..; > title2 ..; > run; > > However, title1 should be, > > Hello World > > (There are 15 spaces between the word Hello and World) > > Title2 should be, > > Hello > > World > > (There is a gap of 5 lines between the word Hello and World. Note > that you are not allowed to use title3, title4, title5 etc.) > > Note that default result output of EG should be set to HTML. Use inline formatting: ods html file="c:\temp\junk.html"; ODS ESCAPECHAR='^'; proc print data=sashelp.class; title1 "Hello^{nbspace 15}World"; title2 "Hello^{newline 5}World"; run; ods html close; HTH Ya |