[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: message ids for warnings and errors

From: Stefan van der Walt
Subject: Re: message ids for warnings and errors
Date: Tue, 6 Dec 2005 23:32:22 +0200
User-agent: Mutt/1.5.9i

On Tue, Dec 06, 2005 at 03:18:50PM -0500, John W. Eaton wrote:
> I've started to implement the
>   warning (msgid, fmt, ...)
>   error (msgid, fmt, ...)
> feature.  This will allow us to also do things like
>   warning off MATLAB:divideByZero
> and (probably) eliminate all the warn_* built-in variables.  I would
> rather not tag our warning and error messsages internally with
> "MATLAB:", and I'm not a big fan of StudlyCaps so perhaps we would
> have message IDs like "Octave:divide_by_zero" instead, with a lookup
> table so that this is equivalent to MATLAB:divideByZero (unless we can
> rely on a uniform translation like Octave -> MATLAB and _[a-z] ->
> [A-Z]).  Does anyone know of a comprehensive list of IDs that Matlab
> uses for warnings?

I wonder how consistent they are in the usage of these strings. The
best description I could find is at


and it doesn't refer to a list of pre-defined identifiers.

My vote goes for the lookup-table, rather than the string translation.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]