TIP: Click on subject to list as thread! ANSI
echo: pascal
to: ALL
from: `mark lewis`
date: 1999-02-26 00:00:00
subject: streams and collections...

i've not done a lot of stuff with objects, streams or collections... i have
something that i'm working on that i think this will come in just perfect
for...

if you've worked with DJ Murdock's STREAMS unit, i have a few questions...

i want to use a TWorkstream that contains(??) a TSortedCollection that i can
manipulate via the TTextFilter... here's what DJ's STREAMS unit contains... the
TSortedCollection is from the OBJECTS unit that comes with TP...

TStream                  (from Objects)
  TFilter                Base type for filters
    TEncryptFilter       Encrypts as it writes; decrypts as it reads
    TLZWFilter           Compresses as it writes; expands as it reads
    TTextFilter          Provides text file interface to stream
    TLogFilter           Provides logging of text file activity
    TBitFilter           Allows reads & writes by the bit
    TDupFilter           Duplicates output, checks for matching input
    TConcatFilter        Concatenates two streams
    TLimitFilter         Limits I/O to a specific range
      TLoopFilter        Joins end of stream to start
    TReverseFilter       Reads and writes the stream in reverse order
    TSequential          Filter that doesn't allow Seek
      TChksumFilter      Calculates 16 bit checksum for reads and writes
      TCRC16Filter       Calculates XMODEM-style 16 bit CRC
      TCRCARCFilter      Calculates ARC-style 16 bit CRC
      TCRC32Filter       Calculates ZIP/ZModem-style 32 bit CRC
  TNulStream             Eats writes, returns constant on reads
  TRAMStream             Stream in memory
  TEMSStream2            Bug workaround for Borland's TEMSStream
  TXMSStream             Stream in XMS
  TDOSStream             (from Objects)
    TBufStream           (from Objects)
      TNamedBufStream    Buffered file stream that knows its name
        TTempBufStream   Buffered file stream that erases itself when done
  TWorkStream            Stream that grows as needed

i want to use a TWorkStream because it is selfsizing and will use RAM, EMS,
XMS, and DISK to hold it's data... i'm planning this should handle maybe up to
65535 lines of information sorted that i'll be saving to a file on the drive in
text format... all the data is simple text lines... i have some demo code for
the TTextFilter and have used TWorkStreams in the past... however, i've not
tied another object(?) in to come up with an object(?) that i want... if that
makes any sense 

)\/(ark
/======================================================================
| Orange County Usenet  Fidonet gateway                              
|                                                                      
| User email address:   mark.lewis.noemail@webworldinc.com                                             
| User FidoNet address: 1:3634/12                                             
| Report abuse of this service to joejared@webworldinc.com

SOURCE: alt.fidonet via archive.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.