[Cook] Match mode appears to be broken

Jody Hagins jody at atdesk.com
Sat Jun 21 04:05:26 EST 2003


On Fri, 20 Jun 2003 10:40:59 -0700
Jason Evans <jasone at canonware.com> wrote:


> As discussed recently in another thread, it is possible to set flags
> on a per-recipe basis and/or on a per-statement basis (but not on a
> per-function basis).  Have you experimented with those possibilities?


The per-recipe basis does not work.  However, the per statement might be
a possibility, especially if I do something like...

function my-function my-args set match-mode-regex;

However, the caller then needs to do it all the time, though I can maybe
do this...


function my-function-that-requires-regex =
{
  /* some stuff */
}

function my-function =
{
  function my-function-that-requires-regex [arg] set-match-mode-regex;
}


That might have some possibilities.


Thanks.


-- 
Jody Hagins

Unfortunately we have run out of bits/bytes/whatever. Don't worry, the
next supply will be coming next week.



More information about the Cook-users mailing list