annotate scripts/deprecated/isstr.m @ 5965:290420f503b2

[project @ 2006-08-24 19:01:16 by jwe]
author jwe
date Thu, 24 Aug 2006 19:01:17 +0000
parents 4c8a2e4e0717
children 93c65f2a5668
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4535
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
1 ## Copyright (C) 2003 John W. Eaton
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
2 ##
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
3 ## This file is part of Octave.
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
4 ##
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
5 ## Octave is free software; you can redistribute it and/or modify it
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
6 ## under the terms of the GNU General Public License as published by
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
7 ## the Free Software Foundation; either version 2, or (at your option)
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
8 ## any later version.
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
9 ##
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
10 ## Octave is distributed in the hope that it will be useful, but
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
13 ## General Public License for more details.
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
14 ##
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
15 ## You should have received a copy of the GNU General Public License
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
16 ## along with Octave; see the file COPYING. If not, write to the Free
5307
4c8a2e4e0717 [project @ 2005-04-26 19:24:27 by jwe]
jwe
parents: 4535
diff changeset
17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
4c8a2e4e0717 [project @ 2005-04-26 19:24:27 by jwe]
jwe
parents: 4535
diff changeset
18 ## 02110-1301, USA.
4535
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
19
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
20 ## -*- texinfo -*-
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
21 ## @deftypefn {Function File} {} isstr (@var{a})
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
22 ## This function has been deprecated. Use ischar instead.
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
23 ## @end deftypefn
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
24
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
25 ## Author: jwe
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
26
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
27 function retval = isstr (varargin)
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
28
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
29 retval = ischar (varargin{:});
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
30
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
31 endfunction