Re: associative array re-use

2008-11-26 Thread Jarrett Billingsley
On Wed, Nov 26, 2008 at 11:23 PM, ViktorKrescvohn <[EMAIL PROTECTED]> wrote: > what about normal arrays, and thank you very much Everything you allocate is garbage-collected. Arrays, AAs, classes - _everything_.

Re: associative array re-use

2008-11-26 Thread ViktorKrescvohn
BCS Wrote: > Reply to ViktorKrescvohn, > > > i have a function that re-use same associative array over and over > > within a loop. and i release the array with 'null' afther each loop, > > will that be a problem of meamory leak after few thousands loop. > > sample function as below: > > > > void

Re: associative array re-use

2008-11-26 Thread BCS
Reply to ViktorKrescvohn, i have a function that re-use same associative array over and over within a loop. and i release the array with 'null' afther each loop, will that be a problem of meamory leak after few thousands loop. sample function as below: void[] [char[]] dict; void[] [char[]] temp

associative array re-use

2008-11-26 Thread ViktorKrescvohn
i have a function that re-use same associative array over and over within a loop. and i release the array with 'null' afther each loop, will that be a problem of meamory leak after few thousands loop. sample function as below: void[] [char[]] dict; void[] [char[]] temp; function test() { for

Re: Inheriting from a nested class

2008-11-26 Thread Frank Benoit
llee schrieb: > Is it possible to inherit from a nested class from outside of the enclosing > class? For example: > > class A > { > class B { int x; } > } > > class C : B > { > int get () { return x; } > } > > It should work if B is a static class and you refer to it with A.B . cla

Re: Inheriting from a nested class

2008-11-26 Thread BCS
Reply to llee, Is it possible to inherit from a nested class from outside of the enclosing class? For example: class A { class B { int x; } } class C : B { int get () { return x; } } no, sorry that wouldn't work well anyway as the binding to A might get tricky OTOH this would be really nice

Inheriting from a nested class

2008-11-26 Thread llee
Is it possible to inherit from a nested class from outside of the enclosing class? For example: class A { class B { int x; } } class C : B { int get () { return x; } }