[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem in a if condition
From: |
THOMAS Paul Richard |
Subject: |
RE: Problem in a if condition |
Date: |
Fri, 30 Jan 2004 15:19:28 +0100 |
David,
The "\n" trick does not work for a certain other product, does it?
Paul
-----Message d'origine-----
De : David Bateman [mailto:address@hidden
Envoyé : vendredi 30 janvier 2004 15:04
À : THOMAS Paul Richard
Cc : 'Pol'; address@hidden
Objet : Re: Problem in a if condition
Daprès THOMAS Paul Richard <address@hidden> (le 30/01/2004):
> Pol,
>
> The "error" comes about because you have invoked error. This gives your
> original error message and a traceback in subsequent lines. These are not
> new errors. If you want to trap the error and have execution continue,
use
> the try/catch blocks (enter > help try). Alternatively, set an error flag
> to tell your programme that bad things are happening and use
disp("message")
> or fprintf(1,"message",[]) to output to the console.
>
Or if you want the error and not the backtrace, terminate the string to the
error command in "\n"... Try error("test error\n") versus error("test
error").
D.
--
David Bateman address@hidden
Motorola CRM +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 1 69 35 77 01 (Fax)
91193 Gif-Sur-Yvette FRANCE
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------------------------------------------------------
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
-------------------------------------------------------------
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/04
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/04
-------------------------------------------------------------
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
-------------------------------------------------------------
- saving plot images in arbitrary sizes., (continued)
Re: saving plot images in arbitrary sizes., Geraint Paul Bevan, 2004/01/31
Re: Problem in a if condition, Pol, 2004/01/30
RE: Problem in a if condition, THOMAS Paul Richard, 2004/01/30
RE: Problem in a if condition,
THOMAS Paul Richard <=