From 6614bedceadcc07ec082c5e926107f27903bda5c Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 25 Jan 2016 20:07:10 +0100 Subject: fix validation errors by round-trip through helpauthoring extension lots of missing attributes "id" and "xml-lang" (extension patched to keep bascode tag) Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a --- source/text/sbasic/shared/03120403.xhp | 98 ++++++++++++++++++---------------- 1 file changed, 51 insertions(+), 47 deletions(-) (limited to 'source/text/sbasic/shared/03120403.xhp') diff --git a/source/text/sbasic/shared/03120403.xhp b/source/text/sbasic/shared/03120403.xhp index 3dbb1c08dd..da4702125d 100644 --- a/source/text/sbasic/shared/03120403.xhp +++ b/source/text/sbasic/shared/03120403.xhp @@ -1,6 +1,5 @@ - - + - - +--> + - -StrComp Function [Runtime] -/text/sbasic/shared/03120403.xhp - - -Sun Microsystems, Inc. - + + StrComp Function [Runtime] + /text/sbasic/shared/03120403.xhp + + + +
-StrComp function + + StrComp function -StrComp Function [Runtime] -Compares two strings and returns an integer value that represents the result of the comparison. + + +StrComp Function [Runtime] +Compares two strings and returns an integer value that represents the result of the comparison.
-Syntax: - -StrComp (Text1 As String, Text2 As String[, Compare]) + +Syntax: + +StrComp (Text1 As String, Text2 As String[, Compare]) -Return value: -Integer -Parameter: - -Text1: Any string expression - -Text2: Any string expression - -Compare: This optional parameter sets the comparison method. If Compare = 1, the string comparison is case-sensitive. If Compare = 0, no distinction is made between uppercase and lowercase letters. -Return value + +Return value: +Integer + +Parameter: + Text1: Any string expression + Text2: Any string expression + Compare: This optional parameter sets the comparison method. If Compare = 1, the string comparison is case-sensitive. If Compare = 0, no distinction is made between uppercase and lowercase letters. + +Return value + - -If Text1 < Text2 the function returns -1 - - -If Text1 = Text2 the function returns 0 - - -If Text1 > Text2 the function returns 1 - - + + If Text1 < Text2 the function returns -1 + + + If Text1 = Text2 the function returns 0 + + + If Text1 > Text2 the function returns 1 + -Example: + +Example: -Sub ExampleStrComp -Dim iVar As Single -Dim sVar As String - iVar = 123.123 - sVar = Str$(iVar) - MsgBox strcomp(sVar , Str$(iVar),1) -End Sub +Sub ExampleStrComp +Dim iVar As Single +Dim sVar As String + iVar = 123.123 + sVar = Str$(iVar) + MsgBox strcomp(sVar , Str$(iVar),1) +End Sub -
+ +
\ No newline at end of file -- cgit