Re: String filtering



David Trudgett <wpower@xxxxxxxxxxxxxxxxxxxxxxxx> writes:

>> It definitely looks like an ideal example for the use of streams.
>> Is there something that makes it a bad idea to switch to a
>> stream-capable socket package?
>
> Only the fact that I'm just toying with a game program, and the
> socket library already works (adasockets 0.1.6 IIRC), and the comms
> layer I wrote works on top of it. Changing it in future won't be any
> big deal, however, since it's abstracted away behind my comms layer.

I've looked through the adasockets docs again and I see that there is
a lower level Receive function/procedure that uses streams. So, I have
to correct myself when I said it doesn't do streams.

So, when I get around to it, I might have a look at using streams, but
for the present, the Get_Line interface works just fine and is nice
and easy.

Sorry for the confusion. Sometimes the memory plays tricks. I should
have gone back and double checked.

David



--

David Trudgett
http://www.zeta.org.au/~wpower/

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the great struggle
for independence.

-- Charles Austin Beard (American historian/educator 1874-1948)

.