----boundary-LibPST-iamunique-584975152_-_-
Content-type: text/plain
The main problem with GOTOs is when they are overlapping (instead of
nested).
-Doug
Bernhard Treutwein wrote:
>I agree that removing GOTOs needs some human brain, if the
>code should be more readable than before.
>
>Some of them can be replaced by RETURNs and encapsulating
>that part in a local procedure. Others can be replaced by
>LOOP
> EXIT
>END
>
>I am not shure, but some time ago I had the idea of a very
>clumsy semi-automatic solution with having a local variable
>label, which gets assigned a value at the goto and a CASE
>statement in a loop with the corresponding labels.
>
> LOOP
> CASE label OF
> END
> END
>
>regards
> Bernhard
>
>--- BlackBox
>--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy>
>
>
>
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-584975152_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFRoZSBtYWluIHByb2JsZW0gd2l0aCBHT1RPcyBp
cyB3aGVuIHRoZXkgYXJlIG92ZXJsYXBwaW5nIChpbnN0ZWFkIG9mIFxwYXINCm5lc3RlZCkuXHBh
cg0KLURvdWdccGFyDQpccGFyDQpCZXJuaGFyZCBUcmV1dHdlaW4gd3JvdGU6XHBhcg0KXHBhcg0K
PkkgYWdyZWUgdGhhdCByZW1vdmluZyBHT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