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

[REBOL] Re: callbacks

From: moliad::gmail at: 30-Oct-2007 0:44

hi anton, note that within the routine, I am using char* which is one of the 3 types supported within callbacks... within the callback func, whatever you put as the argument type is irrelevent. it totally ignores the interface you try to impose. I just discovered that the callbacks also ignore the error trapping completely, and this is very hard to detect! nothing happens, the function just quits silently... I'll try putting an attempt within the func another detail I have been trying to understand is that the GC is totally trashing the stack or something while callbacks are being called. Unless I use recycle/off, at the first recycle occurence... rebol crashes. once I am done with the callbacks I can put recycle/on, but at that point, I dont reclaim any ram which was lost. in fact, it really seems like the GC in rebol is often useless, the moment something makes it peak. often, an app just grows to incredible sizes in the simplest of uses, even without view. -MAx On 10/29/07, Anton Rolls <anton-wilddsl.net.au> wrote: