[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
message ids for warnings and errors
From: |
John W. Eaton |
Subject: |
message ids for warnings and errors |
Date: |
Tue, 6 Dec 2005 15:18:50 -0500 |
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?
Thanks,
jwe