RE: Closing a database

From: Wijck, Bart van <"Wijck,>
Date: Thu, 8 Jul 2004 15:18:24 +0200

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

Agreed in principle. Thanks again.

Rewards, Bart

-----Original Message-----
From: René A. Krywult [mailto:rene.krywult{([at]})nowhere.xy
Sent: Thursday, July 08, 2004 3:00 PM
To: Wijck, Bart van
Cc: 'René A. Krywult'; Wijck, Bart van; 'blackbox{([at]})nowhere.xy
Subject: RE: Closing a database



> Rene,
>
>Wow, quick response.
>
>So it's apparently just a question of redundancy.

That's my personal take on it. Please keep in mind, that I, like you, am
only a member of the community, and not a OMI-employee.


>Agreed that you would want to export as little as needed, although it's
>only 2 pretty self evident pointers. Now I only export the table pointer
>but then have quite a number of
> db := <SybsytemModule>.rt.base;
>statements. Also a bit redundant.


Why would you want to do this?

If you use the fully qualified variable throughout your programs, you
possibly have less work typing the names, but you definitely have a higher
grade of readability in your code.

As far as I understand the concept of CP, I would strongly discourage
assigning imported variable A to local variable B, in order to save typing
time only. And if there is a very good reason beyond mere saving typing
time, this reason would also suggest that you export the additional
variable.

Besides that, I do not think that the case you make above is really a case
at all. IN your above example, the table apparently is:

<SubsytemModule>.rt.base

So your database pointer, if you exported one, would be:

<SubsytemModule>.db

and if you wanted to assign it to local variable db (for whatever reason),
you would have to type

db:= <SubsytemModule>.db;

instead of

db:=<SubsytemModule>.rt.base;

So, we are talking about an additional of 4 characters that you call "also a
bit redundant"? I don't think that this is an issue.

Rene





-------------------------------------------
Versendet durch AonWebmail (webmail.aon.at)


-- 
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xyTo get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.
Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xyCurrent posting policy:
a) To post you should use the same address by which you are subscribed to the mailing list. That way, the list server will recognize you as subscriber and forward your posting immediately, without creating any overhead.
b) If, for some reason, you cannot post from the address, by which you are subscribed, your message will be moderated to avoid spam. Please understand that moderation will often cause some delay, in particular over weekends or holydays.
----boundary-LibPST-iamunique-430736328_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBcZjBcZnMyMCBBZ3JlZWQgaW4gcHJpbmNpcGxl
LiBUaGFua3MgYWdhaW4uXHBhcg0KXHBhcg0KUmV3YXJkcywgQmFydFxwYXINClxwYXINCi0tLS0t
T3JpZ2luYWwgTWVzc2FnZS0tLS0tXHBhcg0KRnJvbTogUmVuXCdlOSBBLiBLcnl3dWx0IFttYWls
dG86cmVuZS5rcnl3dWx0QGFvbi5hdF1ccGFyDQpTZW50OiBUaHVyc2RheSwgSnVseSAwOCwgMjAw
NCAzOjAwIFBNXHBhcg0KVG86IFdpamNrLCBCYXJ0IHZhblxwYXINCkNjOiAnUmVuXCdlOSBBLiBL
cnl3dWx0JzsgV2lqY2ssIEJhcnQgdmFuOyAnYmxhY2tib3hAb2Jlcm9uLmNoJ1xwYXINClN1Ympl
Y3Q6IFJFOiBDbG9zaW5nIGEgZGF0YWJhc2VccGFyDQpccGFyDQpccGFyDQpccGF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