annotate scripts/deprecated/isstr.m @ 4935:4fc993a4e072

[project @ 2004-08-06 03:17:12 by jwe]
author jwe
date Fri, 06 Aug 2004 03:17:13 +0000
parents a5f23212a3d8
children 4c8a2e4e0717
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
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
17 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
a5f23212a3d8 [project @ 2003-10-16 02:39:15 by jwe]
jwe
parents:
diff changeset
18 ## 02111-1307, USA.
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