Mercurial > hg > octave-nkf
comparison scripts/strings/strcmp.m @ 3426:f8dde1807dee
[project @ 2000-01-13 08:40:00 by jwe]
author | jwe |
---|---|
date | Thu, 13 Jan 2000 08:40:53 +0000 |
parents | 4f40efa995c1 |
children | 64ca92e02a7e |
comparison
equal
deleted
inserted
replaced
3425:8625164a0a39 | 3426:f8dde1807dee |
---|---|
18 ## 02111-1307, USA. | 18 ## 02111-1307, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} strcmp (@var{s1}, @var{s2}) | 21 ## @deftypefn {Function File} {} strcmp (@var{s1}, @var{s2}) |
22 ## Compares two strings, returning 1 if they are the same, and 0 otherwise. | 22 ## Compares two strings, returning 1 if they are the same, and 0 otherwise. |
23 ## | 23 ## |
24 ## @strong{Note:} For compatibility with @sc{Matlab}, Octave's strcmp | 24 ## @strong{Note:} For compatibility with @sc{Matlab}, Octave's strcmp |
25 ## function returns 1 if the strings are equal, and 0 otherwise. This is | 25 ## function returns 1 if the strings are equal, and 0 otherwise. This is |
26 ## just the opposite of the corresponding C library function. | 26 ## just the opposite of the corresponding C library function. |
27 ## @end deftypefn | 27 ## @end deftypefn |
28 | 28 |