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 (December 1999, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 27 Dec 1999 14:39:03 +0100
Reply-To:     detecsm_hellriegelg@WESTLB.DE
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Gehard Hellriegel <detecsm_hellriegelg@WESTLB.DE>
Subject:      Antwort: format - alignment
Content-type: multipart/mixed;
              Boundary="0__=b8ZtzCMj1b6ArZELRUwgBhGsNJfd2ToFBSWzC5qlWQWIy7nwcYb4sCML"

"R. Favre" <romuald_favre@YAHOO.COM> on 26.12.99 16:50:48

Bitte antworten an "R. Favre" <romuald_favre@YAHOO.COM>

An: SAS-L@LISTSERV.UGA.EDU Kopie: (Blindkopie: DeTeCSM HellriegelG/D/ExternalStaff/WLB) Thema: format - alignment


In a dataset, I would like to align on the right the records of an alphanumeric variable. If I make " variable = right(variable); " the text goes a little bit to the right, but is not completely on the right (with fsView, it seems to be really on the right, but with ViewTable it's in fact not the case.

Do you have a solution for this small problem ?

Thank you in advance

R.favre

rfavre@atraxis.com

That depends on what you use to display your data! I think, that the ViewTable uses a special (kind of proportional) font to display the data and that makes the blanks smaller than other bytes. However, if you are using PROC REPORT, ... the data is filled up with blanks at the left side. Some other PROCs or Frame Classes may shift it back to the left by ignoring all blanks. There you may try to use the format $char. or look for options in the PROC or CLASS to get it to the right side.

Mit freundlichen Grüßen

Gerhard Hellriegel DeTeCSM

WestLB Abteilung: 001-80622 Aderstr. 22 D - 40217 Düsseldorf Tel.: +49211 826 6173 Fax: +49211 826 5393


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