[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wavread problems
From: |
Robert A. Macy |
Subject: |
Re: wavread problems |
Date: |
Wed, 11 May 2005 12:12:30 -0700 |
Interestingly, on 2.1.50 binary the phrase...
error("need two arguments");
...after an if() test DOES NOT return you from the
function. octave attempts the rest of the code.
However,...
error("need two arguments\n");
...does return you and the rest of the code is NOT
attempted.
- Robert -
On Wed, 11 May 2005 13:08:04 -0400
"John W. Eaton" <address@hidden> wrote:
> On 11-May-2005, Doug Stewart wrote:
>
> BTW, you can write
>
> error ("%s is not a WAV file", wavefile);
>
> instead of using sprintf because the error function
> processes
> arguments the same as printf.
>
> jwe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Using C files with OCtave, SITI HAJAR A BAKAR, 2005/05/09
- Re: Using C files with OCtave, Ludovic PĂ©net, 2005/05/09
- Re: Using C files with OCtave, Paul Thomas, 2005/05/09
- Re: wavread problems,
Robert A. Macy <=
- Re: wavread problems, Keith Goodman, 2005/05/11
- Re: wavread problems, John W. Eaton, 2005/05/11
- Re: wavread problems, Doug Stewart, 2005/05/11
- Re: wavread problems, Keith Goodman, 2005/05/11
- Error message formatting (was Re: wavread problems), Quentin Spencer, 2005/05/11
- Re: Error message formatting (was Re: wavread problems), Keith Goodman, 2005/05/11
- Re: Error message formatting (was Re: wavread problems), John W. Eaton, 2005/05/12
- Re: Error message formatting (was Re: wavread problems), Keith Goodman, 2005/05/12
- Re: Error message formatting (was Re: wavread problems), John W. Eaton, 2005/05/12
- Re: Error message formatting (was Re: wavread problems), Keith Goodman, 2005/05/12