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/03070100.xhp | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 helpcontent2/source/text/sbasic/shared/03070100.xhp (limited to 'helpcontent2/source/text/sbasic/shared/03070100.xhp') diff --git a/helpcontent2/source/text/sbasic/shared/03070100.xhp b/helpcontent2/source/text/sbasic/shared/03070100.xhp new file mode 100644 index 000000000..f54561edb --- /dev/null +++ b/helpcontent2/source/text/sbasic/shared/03070100.xhp @@ -0,0 +1,66 @@ + + + + + + + "-" Operator + /text/sbasic/shared/03070100.xhp + + + + + + +
+ + "-" operator (mathematical) + + + +"-" Operator +Subtracts two values. +
+ +Syntax: + +Result = Expression1 - Expression2 + + +Parameters: + Result: Any numerical expression that contains the result of the subtraction. + Expression1, Expression2: Any numerical expressions that you want to subtract. + +Example: + +Sub ExampleSubtraction1 + Print 5 - 5 +End Sub + +Sub ExampleSubtraction2 +Dim iValue1 As Integer +Dim iValue2 As Integer + iValue1 = 5 + iValue2 = 10 + Print iValue1 - iValue2 +End Sub + + + +
\ No newline at end of file -- cgit v1.2.3