🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3478

Re: printf("%8d")

#3478
From: Glenn Reid
Date: Sat, 27 Oct 1990 00:03
21 lines
1324 bytes
In article <4311@altos86.Altos.COM> clp@altos86.Altos.COM (Chuck L. Peterson) writes:
>Only after getting the %8d thing working did I realize that
>this is completely not what I want since my goal is
>to right-justify numbers.  It turns out that %8d will only
>work with a constant-width font.

Well, since I took the time to answer your original question, I feel
entitled to point out that you probably should have asked the higher-order
question about how to right-justify text (or at least included some notion
of what it was you were trying to accomplish), rather than just asking how
to emulate the printf("%8d").  :-)

Glad you got it working, though.  I didn't much like the %8d stuff anyway,
and I'm glad you didn't need it.

/Glenn

-- 
 Glenn Reid				RightBrain Software
 glenn@heaven.woodside.ca.us		PostScript/NeXT developers
 ..{adobe,next}!heaven!glenn		415-851-1785
Technical Details
Message-ID: <303@heaven.woodside.ca.us>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!adobe!heaven!glenn
References: <4311@altos86.Altos.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!adobe!heaven!glenn
From: glenn@heaven.woodside.ca.us (Glenn Reid)
Newsgroups: comp.lang.postscript
Subject: Re: printf("%8d")
Message-ID: <303@heaven.woodside.ca.us>
Date: 27 Oct 90 00:03:57 GMT
References: <4311@altos86.Altos.COM>
Reply-To: glenn@heaven.woodside.ca.us (Glenn Reid)
Organization: RightBrain Software, Woodside, CA
Lines: 21