From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../source/text/sbasic/shared/03110100.xhp | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03110100.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03110100.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03110100.xhp b/helpcontent2/source/text/sbasic/shared/03110100.xhp new file mode 100644 index 000000000..801ba423a --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03110100.xhp @@ -0,0 +1,85 @@ + + + + + + + Comparison Operators + /text/sbasic/shared/03110100.xhp + + + + + +
+ + comparison operators;%PRODUCTNAME Basic + Operators;comparison + Operators;equal sign (=) + Operators;greater than (>) + Operators;greater than or equal to (>=) + Operators;less than (<) + Operators;less than or equal to (<=) + Operators;not equal to (<>) + + +

Comparison Operators

+Comparison operators compare two expressions. The result is returned as a boolean expression that determines if the comparison is True (-1) or False (0). +
+ + + + result = expression1 { = | < | > | <= | >= } expression2 + + + + result: Boolean that specifies the result of the comparison (True, or False) + expression1, expression2: Any numeric values or strings that you want to compare. + +Comparison operators += : Equal to +< : Less than +> : Greater than +<= : Less than or equal to +>= : Greater than or equal to +<> : Not equal to + + + +Sub ExampleUnequal +Dim sFile As String +Dim sRoot As String ' Root directory for file in and output + sRoot = "c:\" + sFile = Dir$( sRoot ,22) + If sFile <> "" Then + Do + MsgBox sFile + sFile = Dir$ + Loop Until sFile = "" + End If +End Sub + + +
+ + +
+ + +
\ No newline at end of file -- cgit v1.2.3