Path: news.daimi.aau.dk!not-for-mail From: Michael Thomsen Newsgroups: comp.lang.beta Subject: Re: Print... Date: Mon, 23 Mar 1998 15:59:15 +0100 Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 34 Message-ID: <351678C3.17F36B45@daimi.aau.dk> References: <6f5n47$mda$1@nf.aau.dk> NNTP-Posting-Host: karhu.daimi.aau.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (WinNT; I) Xref: news.daimi.aau.dk comp.lang.beta:11487 Hans Erik Stubbe Solgaard wrote: > > If I want to put the contents in a TextScrollList, how do I 'tab' it?? > > I get > e.g. > > Peter 21 > Ole 13 > > instead I want > > peter 21 > ole 13 > Use putFormat, eg.: ORIGIN '~beta/basiclib/v1.6/betaenv'; INCLUDE '~beta/basiclib/v1.6/formatio'; -- program: Descriptor -- (# tmp: ^text do &text[]->tmp[]; '%10s %i'->tmp.putFormat (# do 'Peter'->s; 21->i #); tmp[]->putLine; &text[]->tmp[]; '%10s %i'->tmp.putFormat (# do 'Ole'->s; 13->i #); tmp[]->putLine #) Regards, Michael...