🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #401

Re: function StringOf

#401
From: Bean
Date: Tue, 29 Dec 1998 00:00
16 lines
1201 bytes
Look up text file device drivers in the manual.
The manual gives a decent example.
Basically you are create a dummy character pipe.
You can do whatever you like with the characters.

So if you setup your device driver (not a real device driver,
I don't know why Borland called it this), so that the
characters were stored in a string MyStr then you could do

WriteLn(MyDD, 'Hello ', Pi:4:2, ' is Pi');

MyStr would not contain 'Hello 3.14 is Pi'.

If anyone wants I'll post an example

Bean, thitt@igateway.com
Technical Details
Message-ID: <368949ea.0@news1.igateway.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <763sl2$v0@enews2.newsguy.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111659,f9d88b35457e1f1d
X-Google-Attributes: gid111659,public
X-Google-Thread: 10261c,f9d88b35457e1f1d
X-Google-Attributes: gid10261c,public
X-Google-Thread: 108ebd,f9d88b35457e1f1d
X-Google-Attributes: gid108ebd,public
From: "Bean" <thitt@igateway.com>
Subject: Re: function StringOf
Date: 1998/12/29
Message-ID: <368949ea.0@news1.igateway.com>
X-Deja-AN: 426889679
References: <763sl2$v0@enews2.newsguy.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Trace: 29 Dec 1998 16:30:18 -0500, 207.44.26.17
Newsgroups: comp.lang.pascal.borland,borland.public.turbopascal,comp.lang.pascal.misc