From 624e769708ad41573ae262b022585f837689c9f4 Mon Sep 17 00:00:00 2001 From: Calixte DENIZET Date: Mon, 19 Aug 2013 18:57:23 +0200 Subject: [PATCH] Bug 12836 fixed: There was an error in strcmpi documentation Change-Id: I42450fe523887601688ab252b28954cce10fe826 --- scilab/CHANGES_5.5.X | 2 ++ scilab/modules/string/help/en_US/strcmp.xml | 2 +- scilab/modules/string/help/en_US/strcmpi.xml | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scilab/CHANGES_5.5.X b/scilab/CHANGES_5.5.X index fe8554e..a39ed36 100644 --- a/scilab/CHANGES_5.5.X +++ b/scilab/CHANGES_5.5.X @@ -540,4 +540,6 @@ Bug fixes * Bug #12816 fixed - Numbers pasted in editvar were not parsed according to locale. +* Bug #12836 fixed - There was an error in strcmpi documentation. + * Bug #12840 fixed - Fix typo in number_properties.xml. diff --git a/scilab/modules/string/help/en_US/strcmp.xml b/scilab/modules/string/help/en_US/strcmp.xml index b1f90b6..6279801 100644 --- a/scilab/modules/string/help/en_US/strcmp.xml +++ b/scilab/modules/string/help/en_US/strcmp.xml @@ -66,7 +66,7 @@ The value greater than zero indicates that the first character that does not match has a greater value in string_one than in string_two and the value less than zero - indicates the opposite. + indicates the opposite (lexicographical order). The value equal zero indicates that string_one diff --git a/scilab/modules/string/help/en_US/strcmpi.xml b/scilab/modules/string/help/en_US/strcmpi.xml index 5260366..261800c 100644 --- a/scilab/modules/string/help/en_US/strcmpi.xml +++ b/scilab/modules/string/help/en_US/strcmpi.xml @@ -52,12 +52,12 @@ Description res = strcmpi(string_one, string_two) returns an - integral value indicating the relationship between the strings. + integral value indicating the relationship between the strings. The two strings are compared in using the lexicographical order. The value is 0 if string_one - is equal to string_two (case independently) and - 1 indicates the opposite. + is equal to string_two (case independently), + 1 if string_one is greater than string_two and -1 else. -- 1.7.9.5