MOO-cows Mailing List Archive


[ Re: bf wrappers and error handling]

------- Start of forwarded message -------
From: Pieter-Bas IJdens <>
Subject: Re: bf wrappers and error handling
Date: Mon, 10 Mar 1997 23:33:28 PST
In-Reply-To: <v03101700af48cc6256c0@[]> from "Richard Godard" at Mar 9, 97 12:25:30 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Precedence: bulk
Resent-From: clue-cows <>
Errors-To: clue-cows <>

>No need for a new builtin-function, verbs should all be +d and use the
>error handling constructs. There are not that many places where the
>notify() built-in function is used. Changed those place to catch errors.

Yesterday, when making a wrapper for set_verb_code(), I ran into exactly the
same problem. I think it's a bad idea that you have to program the debugging
in builtin-wrappers yourself. Actually I think those wrappers should be 
transparent and they should automaticaly be ran with the callers debug flag,
just like the builtins themselves do. IMHO the MOO server just should
ignore the bf_ d flag and do this automaticaly.

Can anyone tell me why I'm wrong here, or will this indeed be a feature of the
next server version/patch (perhaps with a flag on $server_options for those
people who like long, long lists of excessive code...)?

------- End of forwarded message -------

Home | Subject Index | Thread Index