Newsgroups: fj.lang.perl
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!etlnews.etl.go.jp!news.trc!nf8.iij.ad.jp!nr0.iij.ad.jp!news.iij.ad.jp!rim.or.jp!tamaru-news!kuee-news!aero.kyushu-u!hakata!sakura.kudpc!sakunami!yagi!news
From: "YOSHIFUJI, Hideaki" <sd96249@eiw02.ec.ecei.tohoku.ac.jp>
Subject: Re: =?iso-2022-jp?B?Q0dJGyRCJE4lRyUzITwlSRsoSiAbJEIlXiVDJUElcyUwGyhK?=
X-Nntp-Posting-Host: eiw02.ec.ecei.tohoku.ac.jp
Content-Type: text/plain; charset=iso-2022-jp
Message-ID: <3398B003.CDCCB068@eiw02.ec.ecei.tohoku.ac.jp>
X-Priority: 3 (Normal)
Sender: news@ecei.tohoku.ac.jp
Reply-To: yoshfuji@ecei.tohoku.ac.jp
Content-Transfer-Encoding: 7bit
Organization: School of Engineering, Tohoku University, JAPAN
References: <01bc7032$cd3f88a0$745ccd85@fbs.mxp.meshnet.or.jp> <33957299.B8CAF4F7@eiw02.ec.ecei.tohoku.ac.jp> <01bc71ba$b2a450a0$025ccd85@fbs.mxp.meshnet.or.jp> <33976056.2DE8517B@eiw02.ec.ecei.tohoku.ac.jp> <01bc729d$9bc45ae0$5b5ccd85@fbs.mxp.meshnet.or.jp>
Mime-Version: 1.0
Date: Sat, 7 Jun 1997 00:49:07 GMT
X-Mailer: Mozilla 4.0b5 [en] (Win95; I)
Lines: 29
Xref: galaxy.trc.rwcp.or.jp fj.lang.perl:2054
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.lang.perl&nb=2054&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B5HF#1QL@!wElKLBg3XEE>p7O$G$9!#(B

h.kishida wrote:
> $B$G!"(B%nx $B$N>l9g!"(B%-nx $B$O:85M!"(B %+nx (or)  %nx $B$N>l9g1&5M!"(B
> $B!%!%!%$GNI$$$G$7$g$&$+!#(B (+$B$O>JN,2D(B)

$B!V%U%i%0J8;z!W$G$9$M!#(B-,+,blank,# $B$N#4<o$,$"$C$F@bL@$,LLE]$@$C$?$N$G(B
$B=q$+$J$+$C$?$N$G$9$,!"(B+$B$H(Bblank$B$N0c$$$,0UL#$r;}$D>l9g$b$"$j$^$9$N$G(B
$B$4Cm0U$r!#(B

$BB($A!"(B
> % perl -e 'printf("%3d\n", 1)'
>   1
> % perl -e 'printf("%+3d\n", 1)'
>  +1
> % perl -e 'printf("%-3d\n", 1)'
> 1
> % perl -e 'printf("%03d\n", 1)'
> 001
> % perl -e 'printf("%+03d\n", 1)'
> +01
> % perl -e 'printf("%-03d\n", 1)'
> 1

-- 
$B5HF#1QL@(B (YOSHIFUJI, Hideaki)
School of Engineering, Tohoku University, JAPAN

<URL:http://www.ecei.tohoku.ac.jp/~yoshfuji/>
