Path: news.daimi.aau.dk!not-for-mail From: Michael Thomsen Newsgroups: comp.lang.beta Subject: Re: text2real, real2text Date: Fri, 03 Apr 1998 09:54:33 +0200 Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 39 Message-ID: <352495B9.496B977F@daimi.aau.dk> References: <35240F75.167E@daimi.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:11511 Kristian Thommesen wrote: > > In which library are these (or with similar effect) functions, and how > are they used? > The numberio library defines additional attributes to the stream pattern by defining a number of patterns in the streamLib attributes slot. Se below for an example. --- ORIGIN '~beta/basiclib/v1.6/betaenv'; INCLUDE '~beta/basiclib/v1.6/numberio'; -- program: Descriptor -- (# aText: @text; aReal: @real do 4.75->aReal; aText.reset; aReal->aText.putReal; aText[]->screen.putLine; ' 56 monkeys had a banana'->aText; aText.reset; aText.getReal->aReal; aReal->screen.putReal #) --- Regards, Michael... -- ----------------------------------------------------------------------- Michael Thomsen - Student of Computer and Information Science, University of Aarhus, Denmark. URL: http://www.daimi.aau.dk/~miksen/ Email: miksen@daimi.aau.dk -----------------------------------------------------------------------