comparison scripts/miscellaneous/compare_versions.m @ 6440:98ee80702bca

[project @ 2007-03-23 15:13:19 by jwe]
author jwe
date Fri, 23 Mar 2007 15:13:19 +0000
parents 7fad1fad19e1
children 93c65f2a5668
comparison
equal deleted inserted replaced
6439:a37c427ae9d1 6440:98ee80702bca
1 ## Copyright (C) 2006 Bill Denney <denney@seas.upenn.edu> 1 ## Copyright (C) 2006 Bill Denney <denney@seas.upenn.edu>
2 ## 2 ##
3 ## This program is free software; you can redistribute it and/or modify 3 ## This file is part of Octave.
4 ## it under the terms of the GNU General Public License as published by 4 ##
5 ## the Free Software Foundation; either version 2 of the License, or 5 ## Octave is free software; you can redistribute it and/or modify it
6 ## (at your option) any later version. 6 ## under the terms of the GNU General Public License as published by
7 ## 7 ## the Free Software Foundation; either version 2, or (at your option)
8 ## This program is distributed in the hope that it will be useful, 8 ## any later version.
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 9 ##
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 ## Octave is distributed in the hope that it will be useful, but
11 ## GNU General Public License for more details. 11 ## WITHOUT ANY WARRANTY; without even the implied warranty of
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 ## General Public License for more details.
12 ## 14 ##
13 ## 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
14 ## along with this program; if not, write to the Free Software 16 ## along with Octave; see the file COPYING. If not, write to the Free
15 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 ## Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 ## 02110-1301, USA.
16 19
17 ## -*- texinfo -*- 20 ## -*- texinfo -*-
18 ## @deftypefn {Function File} {} compare_versions (@var{v1}, @var{v2}, @var{operator}) 21 ## @deftypefn {Function File} {} compare_versions (@var{v1}, @var{v2}, @var{operator})
19 ## Compares to version strings using the given @var{operator}. 22 ## Compares to version strings using the given @var{operator}.
20 ## 23 ##