Re: request for 2.5

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu