Mercurial > hg > octave-lyh
comparison scripts/general/perror.m @ 3373:36405da8e173
[project @ 1999-11-23 20:54:17 by jwe]
author | jwe |
---|---|
date | Tue, 23 Nov 1999 20:54:31 +0000 |
parents | d2046ca9a380 |
children | 69b167451491 |
comparison
equal
deleted
inserted
replaced
3372:f16c2ce14886 | 3373:36405da8e173 |
---|---|
15 ## You should have received a copy of the GNU General Public License | 15 ## You should have received a copy of the GNU General Public License |
16 ## along with Octave; see the file COPYING. If not, write to the Free | 16 ## along with Octave; see the file COPYING. If not, write to the Free |
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## usage: perror (name, err) | 20 ## @deftypefn {Function File} {} perror (@var{name}, @var{num}) |
21 ## | 21 ## Print the error message for function @var{name} corresponding to the |
22 ## Print an error message for error number `err' from function "name". | 22 ## error number @var{num}. This function is intended to be used to print |
23 ## | 23 ## useful error messages for those functions that return numeric error |
24 ## codes. | |
25 ## @end deftypefn | |
26 | |
24 ## See also: strerror | 27 ## See also: strerror |
25 | 28 |
26 ## Author: jwe | 29 ## Author: jwe |
27 | 30 |
28 function perror (name, err) | 31 function perror (name, err) |