Re: [BLACKBOX] Polymorphism

From: [at]} <Aubrey.McIntosh{>
Date: Fri, 21 Nov 2008 11:22:33 -0600

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

On Fri, Nov 21, 2008 at 9:33 AM, Alexander Iljin <ajsoft.gm{([at]})nowhere.xy
> Hello!
>
> AMAUN> Hi Doug, Alexander,
>
> AMAUN> Thanks for your comments.
>
> AMAUN> I am working with Alexander's post, building compilable modules and
> AMAUN> tinkering with it.
>
> Any progress yet? Comments?
>

I dressed it up into two modules that the compiler accepted. I
comprehend what it is doing. I was so close with the ANYREC
parameter, but I couldn't see that next step.

I did collapse the two definitions, pointer and record, into just one
compound definition. This is a phase I'm going through, 10 years ago
I expanded all the single definitions into the two separate ones.

I replaced the VAR record statements with pointers. Primarily I did
this because I can't call a method from an uninitialized pointer, so
there are fewer tests needed for good data.

I decided to get some sleep before getting into the real code.



> AMAUN> Prior to reading his email, I was working with the
> AMAUN> interface below. This is a tiny modification of the code that I
> AMAUN> dropped into pastebin and announced a day or so ago. The ForEach name
> AMAUN> change seems ok with me.
>
> You may also consider "Action" instead of "Doer".
>


I decided on "Helper" but I'm not fully satisfied.



-- 
-- 
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-693964391_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0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ClxwYXINCi0tIFxwYXINCi0tIFxw
YXINCkF1YnJleSBNY0ludG9zaCwgUGguRC5ccGFyDQoxNTAyIERldm9uIENpcmNsZVxwYXINCkF1
c3RpbiBUWCA3ODcyMy0xODE0XHBhcg0KaHR0cDovL2hvbWUuZ3JhbmRlY29tLm5ldC9+YW1jaW50
b3NoL2F1YnJleS9TZWFyY2gvXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXINClRvIHVuc3Vic2Ny
aWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tCT1giIHRvIExJU1RT
RVJWQExJU1RTLk9CRVJPTi5DSH19AExJU1Q=
----boundary-LibPST-iamunique-693964391_-_---
Received on Fri Nov 21 2008 - 18:22:33 UTC

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