----boundary-LibPST-iamunique-945159421_-_-
Content-type: text/plain
>
>Programming in SCL convinced me that it was unwise for the procedure
>itself to decide that something is an error. Instead, it should always
>pass a result code back up the line, and everything further up the
>line should make up its own mind what to do about it - usually pass it
>further up the line. The WHENEVER clause made that very easy because
>you could just break right out.
>
>
Maybe I did not understand what you were saying, but I think of two
ways currently used by the BB to do such a thing:
1. If you have a procedure, make it a "function", returning an integer
as a return code. That way, the caller may decide how to react to a
"grey" error.
2. Where you already return something valueable, have a VAR-parameter
with the return code. If you must not complete your action due to the
nature of the error, fill the variable, and then RETURN.
Rene
--------------------------------------------
To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
blackbox-request{([at]})nowhere.xy
To 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.xy
Current 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-945159421_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFxwYXINCj5ccGFyDQo+UHJvZ3JhbW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