Re: request for 2.5
- Posted by "Kat" <gertie at visionsix.com> Oct 14, 2004
- 456 views
On 14 Oct 2004, at 8:15, Robert Craig wrote: > > > posted by: Robert Craig <rds at RapidEuphoria.com> > > Kat wrote: > > RobC, can we get a local way in functions/procedures, to turn on/off > > tracing, > > regardless of if it is with or without in the main? > > You already have two levels of control over tracing: > > }}} <eucode> > with trace -- generates slower IL code that supports tracing > procedure myproc() > ... > if something_funny_just_happened then > trace(1) -- or trace(3) > end if > ... > ... > trace(0) > ... > end procedure > without trace > </eucode> {{{ > > Why would you want even finer control?. I realise the futility of arguing. I'll just wrap each procedure with such constructs. Kat