Re: [BLACKBOX] Variant Records vs. Component Pascal

From: [at]} <Chris>
Date: Sat, 2 Jan 2010 15:32:50 +1030

----boundary-LibPST-iamunique-1102622786_-_-
Content-type: text/plain

As well as the examples in Doug's and Bob's replies, look on Helmut's Zinn
"Component Pascal Collection" site:

http://www.zinnamturm.eu

For example "Misc" includes some generic sorting and linear list processing
examples:

http://www.zinnamturm.eu/downloadsIN.htm#Misc

Regards,
Chris

> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Chris Burrows
> Sent: Friday, 1 January 2010 9:17 AM
> To: BLACKBOX{([at]})nowhere.xy
> Subject: Re: [BLACKBOX] Variant Records vs. Component Pascal
>
...
...
> As to your specific current task - I'm sure somebody else
> will show you how
> to do it once they've all recovered from the New Year celebrations.
> Otherwise I'll try and track down some helpful examples for you.
>
...
...
> Chris Burrows
> CFB Software
> http://www.armaide.com
>
> ________________________________
>
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
> Stephen R. Troy
> Sent: Friday, 1 January 2010 7:42 AM
> To: BLACKBOX{([at]})nowhere.xy
> Subject: [BLACKBOX] Variant Records vs. Component Pascal
>
...
...
> I have a program I have been evolving for several
> years, which reads
> in a database which is in a structured ASCII text file using
> a third-party
> database schema. The program develops several index files,
> performs various
> sorting and filtering operations on these indexes, and the
> uses the modified
> indexes to write out reports using the same database schema.
> There are
> three main types of records, and I was able to write very
> efficient sorting
> and filtering procedures in Modula-2 by writing the records as variant
> records of a basic type, then instantiating the records by
> pointers. My
> indexes were linked lists of the pointers, both linear and
> binary trees, and
> so I could find, sort, and filter each of the three types of
> records using
> the same very efficient code, because I manipulated only the pointers'
> "next-record" pointer in the linked lists, not moving any
> records in memory.
>
...
...


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1102622786_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFu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MsIGFuZFxwYXINCj4gc28gSSBj
b3VsZCBmaW5kLCBzb3J0LCBhbmQgZmlsdGVyIGVhY2ggb2YgdGhlIHRocmVlIHR5cGVzIG9mIFxw
YXINCj4gcmVjb3JkcyB1c2luZ1xwYXINCj4gdGhlIHNhbWUgdmVyeSBlZmZpY2llbnQgY29kZSwg
YmVjYXVzZSBJIG1hbmlwdWxhdGVkIG9ubHkgdGhlIHBvaW50ZXJzJ1xwYXINCj4gIm5leHQtcmVj
b3JkIiBwb2ludGVyIGluIHRoZSBsaW5rZWQgbGlzdHMsIG5vdCBtb3ZpbmcgYW55IFxwYXINCj4g
cmVjb3JkcyBpbiBtZW1vcnkuXHBhcg0KPiBccGFyDQouLi5ccGFyDQouLi5ccGFyDQpccGFyDQpc
cGFyDQotLS0tXHBhcg0KVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAi
U0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JFUk9OLkNIXH19AC1QYQ==
----boundary-LibPST-iamunique-1102622786_-_---
Received on Sat Jan 02 2010 - 06:02:50 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:37 UTC