(unknown charset) Re: [BLACKBOX] Zlib under BlackBox?

From: (unknown charset) Douglas G. Danforth <"Douglas>
Date: Sun, 5 Oct 2008 12:23:59 -0700

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

Oleg,

Try this and see what you get

MODULE PrivLocal;

    IMPORT StdLog;
   
    PROCEDURE Proc*;
        VAR int: INTEGER;
    BEGIN
        StdLog.Int(int); StdLog.Ln;
    END Proc;

END PrivLocal.

I agree with you that for variables declared at the MODULE level
are initialized as you say, but not at the procedural level.

-Doug Danforth

Oleg N. Cher wrote:
> Hello Douglas,
>
> In systems with automatic garbage collection like Oberon
> and BlackBox, prof.Niklaus Wirth and Juerg Gutknecht have
> came to a conclusion initialize all variables. Because,
> how you look itself undefined pointers with random bit settings?
> Where it pointes and how garbage collector will be process its?
> And so there was accepted decision to set all new pointers to NIL.
>
> The situation with numercial variables not so unambiguous, and
> better assign its obviously (additionally so more transparent),
> but I faith that initialization variable in 0 has more advantage
> and value, than in random bit simply.
>
>
>> It is my understanding that within a procedure local variables are
>> not initialized upon entrance to the procedure. Hence
>> c: LONGINT;
>> is undefined (random bit settings).

>>
>
>
>> Is this correct or am I mistaken?

>>
> --
> Oleg N. Cher.
>
>
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
>
>
>


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-2088198026_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyI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INCj4gLS1ccGFyDQo+IE9sZWcgTi4gQ2hlci5c
cGFyDQo+XHBhcg0KPlxwYXINCj4gLS0tLVxwYXINCj4gVG8gdW5zdWJzY3JpYmUsIHNlbmQgYSBt
ZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElTVFNFUlZATElTVFMuT0JF
Uk9OLkNIXHBhcg0KPlxwYXINCj5ccGFyDQo+ICAgXHBhcg0KXHBhcg0KXHBhcg0KLS0tLVxwYXIN
ClRvIHVuc3Vic2NyaWJlLCBzZW5kIGEgbWVzc2FnZSB3aXRoIGJvZHkgIlNJR05PRkYgQkxBQ0tC
T1giIHRvIExJU1RTRVJWQExJU1RTLk9CRVJPTi5DSFxwYXINCn0=
----boundary-LibPST-iamunique-2088198026_-_---
Received on Sun Oct 05 2008 - 21:23:59 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:53 UTC