summaryrefslogtreecommitdiff
path: root/src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci
diff options
context:
space:
mode:
authornutricato2008-06-04 08:58:15 +0000
committernutricato2008-06-04 08:58:15 +0000
commit9d4cbed90bf28487c52de84e7040ee78e60b4b5d (patch)
treeb2aefdb73ca2ae200c92e1847030db5a7f650adb /src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci
parent56805b2de8725a4169ba40d1acbda997ea2528aa (diff)
downloadscilab2c-9d4cbed90bf28487c52de84e7040ee78e60b4b5d.tar.gz
scilab2c-9d4cbed90bf28487c52de84e7040ee78e60b4b5d.tar.bz2
scilab2c-9d4cbed90bf28487c52de84e7040ee78e60b4b5d.zip
Diffstat (limited to 'src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci')
-rw-r--r--src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci b/src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci
deleted file mode 100644
index 81bc2f5b..00000000
--- a/src/Scilab2C/GeneralFunctions/SCI2Cstrncmp.sci
+++ /dev/null
@@ -1,19 +0,0 @@
-function res = SCI2Cstrncmp(s1,s2,n);
-// function res = SCI2Cstrncmp(s1,s2,n);
-// -----------------------------------------------------------------
-// This function compares first n characters of strings s1 and s2.
-// SCI2Cstrncmp(s1,s2,n) returns logical T (true) if the first n characters of
-// the strings s1 and s2 are the same and logical 0 (false) otherwise.
-//
-// Input data:
-//
-//
-// Output data:
-//
-// Status:
-// 16-Apr-2007 -- Nutricato Raffaele: Author.
-// -----------------------------------------------------------------
-
-res = (part(s1,1:n) == part(s2,1:n));
-
-endfunction