Re: ? free()
- Posted by Tommy Carlier <tommy.carlier at telenet.be> Apr 20, 2005
- 442 views
Bernie Ryan wrote: > Tommy do you think that this should be OK ? > }}} <eucode> > include machine.e > > atom a > > a = allocate(10) > ? a > free(a) > ? a > </eucode> {{{ > > This should not happen it is just going > to create error prone code. How do you solve this situation:
atom a, b a = allocate(10) b = a free(b)
Or this one:
constant a = allocate(10) free(a)
-- The Internet combines the excitement of typing with the reliability of anonymous hearsay. tommy online: http://users.telenet.be/tommycarlier tommy.blog: http://tommycarlier.blogspot.com