- How to call a procedure if do not we need a result?
----boundary-LibPST-iamunique-434640540_-_-
Content-type: text/plain
On Tue, 14 Aug 2007, Oleg N. Cher wrote:
> Is a good method to do it without variable dummy?
> For example,
>
> NIL := WinApi.SetConsoleOutputCP(cp)
NIL is a reserved word. It is a constant. You cannot assign
a result to a constant. The following would not work in any
language:
7 := MyFunction (arguments);
You need to assign a return value to a variable, even if you
do not use the result.
Wojtek
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-434640540_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIE9uIFR1ZSwgMTQgQXVnIDIwMDcsIE9sZWcgTi4g
Q2hlciB3cm90ZTpccGFyDQpccGFyDQo+IElzIGEgZ29vZCBtZXRob2QgdG8gZG8gaXQgd2l0aG91
dCB2YXJpYWJsZSBkdW1teT9ccGFyDQo+IEZvciBleGFtcGxlLFxwYXINCj5ccGFyDQo+IFx0YWIg
TklMIDo9IFdpbkFwaS5TZXRDb25zb2xlT3V0cHV0Q1AoY3ApXHBhcg0KXHBhcg0KTklMIGlzIGEg
cmVzZXJ2ZWQgd29yZC4gSXQgaXMgYSBjb25zdGFudC4gWW91IGNhbm5vdCBhc3NpZ25ccGFyDQph
IHJlc3VsdCB0byBhIGNvbnN0YW50LiBUaGUgZm9sbG93aW5nIHdvdWxkIG5vdCB3b3JrIGluIGFu
eVxwYXINCmxhbmd1YWdlOlxwYXINClxwYXINCiAgNyA6PSBNeUZ1bmN0aW9uIChhcmd1bWVudHMp
O1xwYXINClxwYXINCllvdSBuZWVkIHRvIGFzc2lnbiBhIHJldHVybiB2YWx1ZSB0byBhIHZhcmlh
YmxlLCBldmVuIGlmIHlvdVxwYXINCmRvIG5vdCB1c2UgdGhlIHJlc3VsdC5ccGFyDQpccGFyDQpX
b2p0ZWtccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAg
b3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KfQ==
----boundary-LibPST-iamunique-434640540_-_---
Received on Tue Aug 14 2007 - 17:00:10 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:31:24 UTC