Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Unloading object from memory

From: coussement:c:itc:mil:be at: 19-Jan-2001 11:27

Hi REBOLians Please consider this code:
>> o: make object! [showone: does [print "one"]] >> f: func [/local o'][o': make o [] o'/showone] >> f/o'
** Script Error: f has no refinement called o'. ** Where: f/o'
>> f
one
>>
Can I be sure that, after the execution of 'f, o's instance o' has been un-loaded from working memory ? I'm concerned about REBOL's memory recycling and garbage management, because I should have to call a procedure similar to f a thousand (!) time in one session. Would there be any problem, I could change my approach, but preferably not ;-[ Regards, chr==