Re: [cricket-users] I have a dumb question about mtargets

From: Jeff Allen (jra@corp.webtv.net)
Date: Sun Jul 04 1999 - 03:36:53 PDT


From: Jeff Allen <jra@corp.webtv.net>

Tom Metzger wrote:
> Below is the /router-interfaces/ascend/interfaces file. Please tell me what
> I am doing wrong.

Your problem is that you are not using the next version of Cricket. :)

I completely screwed up the implementation of sum() in the current
version. You can replace convertOps in grapher.cgi with this one:

sub convertOps {
    my($mto, $num) = @_;
    if (lc($mto) eq 'sum()') {
        my($i, @plusses);
        for ($i = 0; $i < $num-1; $i++) {
            push @plusses, '+';
        }
        return join(',', @plusses);
    }
    return $mto;
}

That should work better. I have no idea how I managed to ship the
original, massively broken one. I think I got abducted byu aliens or
something...

-- 
Jeff R. Allen              |  jra@corp.webtv.net
WebTV Service Engineering  |  http://www.munitions.com/~jra

--------------------------- ONElist Sponsor ----------------------------

Check out this week's ONElist of the week. http://www.onelist.com How is ONElist changing YOUR life? Visit our homepage and let us know!

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:55 PST