[Babase] unclear sexskin errors
Karl O. Pinc
kop at meme.com
Thu May 29 15:24:01 EDT 2008
On 05/29/2008 02:02:16 PM, kfenn wrote:
> Karl O. Pinc wrote:
>>
>> The problem is that the code that's generating the error message
>> only as the sexskin row "at hand", and the sexskin row does not
>> store the sname or anything useful. I can code a query to
>> get more information after the error is discovered so it can
>> generate a decent error message.
>>
>> Not that much work because there's not that many sexskin errors.
>> (You could glance at the code to see.)
> Can you (easily) tell me how to do this? If I once knew, I don't now.
Read: https://papio.biology.duke.edu/src/babase/db/triggers/sexskins.m4
Or use PPA and look at the functions with names that start
with "sexskins" to see the final-macro-expanded-running-version.
All the validation code and errors are in:
https://papio.biology.duke.edu/src/babase/db/triggers/
and
https://papio.biology.duke.edu/src/babase/db/include/
(which has stuff that's shared, along with
https://papio.biology.duke.edu/src/babase/db/triggers/macros.m4
which is also shared by the triggers.)
Karl <kop at meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
More information about the Babase
mailing list