octave-maintainers
[Top][All Lists]
Advanced

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

Re: message ids for warnings and errors


From: Søren Hauberg
Subject: Re: message ids for warnings and errors
Date: Tue, 06 Dec 2005 23:42:48 +0100

tir, 06 12 2005 kl. 17:37 -0500, skrev John W. Eaton:
> Try
> 
>   warning query all
>   warning on all
>   warning query all
> 
> Do you get different lists for the first and second query?
Matlab is to "smart":

>> warning query all
The default warning state is 'on'. Warnings not set to the default are

  State  Warning Identifier

    off  MATLAB:UsingLongNames
    off  MATLAB:intConvertNaN
    off  MATLAB:intConvertNonIntVal
    off  MATLAB:intConvertOverflow
    off  MATLAB:intMathOverflow
    off  MATLAB:max:mixedIntegerScalarDoubleInputs
    off  MATLAB:max:mixedSingleDoubleInputs
    off  MATLAB:min:mixedIntegerScalarDoubleInputs
    off  MATLAB:min:mixedSingleDoubleInputs
    off  MATLAB:mir_warning_unrecognized_pragma
    off  MATLAB:nonScalarConditional

>> warning on all
>> warning query all
The default warning state is 'on'. Warnings not set to the default are

  State  Warning Identifier

    off  MATLAB:UsingLongNames
    off  MATLAB:nonScalarConditional

>> warning off all
>> warning query all
All warnings have the state 'off'.

This is on matlab 7.0.0.19901 (R14) on the unix system at school.

/Soren
> 
> jwe



reply via email to

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