(unknown charset) - How to call a procedure if do not we need a result?

From: (unknown charset) Oleg N. Cher <"Oleg>
Date: Tue, 14 Aug 2007 20:21:12 +0300

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

Hello, Wojtek,

Thank you for your answer.

I'm an old programmer. And I know that we cannot assign
a result to a constant :-) But will be good
if there was a method to call procedures returning a result,
without the use of superfluous variables.
For example, in the system programming, for the increase
of efficiency. And such method of calling:

    NIL := WinApi.SetConsoleOutputCP(cp)
or
    SYSTEM.NIL := WinApi.SetConsoleOutputCP(cp)
or
        SYSTEM.VOID(WinApi.SetConsoleOutputCP(cp))

can be a variant of realization of such possibility.
And I asked: is there such method in BlackBox?

P.S. Cordially I thank you for your book
     "BlackBox Component Builder For Scientists and Engineers",
     Very good book.

> You need to assign a return value to a variable, even if you
> do not use the result.
                

Oleg N. Cher,
Colossoft Research.
allot{([at]})nowhere.xy
2007-08-14

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

----boundary-LibPST-iamunique-1579198058_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvLCBXb2p0ZWssXHBhcg0KXHBhcg0KVGhh
bmsgeW91IGZvciB5b3VyIGFuc3dlci5ccGFyDQpccGFyDQpJJ20gYW4gb2xk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RvIGEgdmFy
aWFibGUsIGV2ZW4gaWYgeW91XHBhcg0KPiBkbyBub3QgdXNlIHRoZSByZXN1bHQuXHBhcg0KXHRh
YiBcdGFiIFxwYXINClxwYXINCk9sZWcgTi4gQ2hlcixccGFyDQpDb2xvc3NvZnQgUmVzZWFyY2gu
XHBhcg0KYWxsb3RAdWtyLm5ldFxwYXINCjIwMDctMDgtMTRccGFyDQpccGFyDQotLS0gQmxhY2tC
b3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hA
b2Jlcm9uLmNoXHBhcg0KfQ==


----boundary-LibPST-iamunique-1579198058_-_---
Received on Tue Aug 14 2007 - 19:21:12 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:24 UTC