summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03080601.xhp
diff options
context:
space:
mode:
authorStanislav Horacek <stanislav.horacek@gmail.com>2014-07-24 20:09:18 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-07-25 08:13:13 +0000
commit9b91dd5b4b0f98ff105c2d66bf59cff1e1ff6066 (patch)
tree1133514f43fab2a16a75fc79df86f4af2c03e4c4 /source/text/sbasic/shared/03080601.xhp
parente9575a3898d718bedbaaaea124f56056b8656037 (diff)
remove redundant dollars at InputBox function and fix invalid Basic examples
Change-Id: Idd6f14e127ba5e3939849b0baf7ec499e69e8695 Reviewed-on: https://gerrit.libreoffice.org/10517 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'source/text/sbasic/shared/03080601.xhp')
-rw-r--r--source/text/sbasic/shared/03080601.xhp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03080601.xhp b/source/text/sbasic/shared/03080601.xhp
index 1e0a4ad68c..3663143a66 100644
--- a/source/text/sbasic/shared/03080601.xhp
+++ b/source/text/sbasic/shared/03080601.xhp
@@ -54,8 +54,8 @@
<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleDifference</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US">Dim siW1 As Single</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US">Dim siW2 As Single</paragraph>
-<paragraph role="bascode" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="14"> siW1 = Int(InputBox$ ("Please enter the first amount","Value Input"))</paragraph>
-<paragraph role="bascode" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="15"> siW2 = Int(InputBox$ ("Please enter the second amount","Value Input"))</paragraph>
+<paragraph role="bascode" id="par_id3145786" xml-lang="en-US" l10n="U" oldref="14"> siW1 = Int(InputBox("Please enter the first amount","Value Input"))</paragraph>
+<paragraph role="bascode" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="15"> siW2 = Int(InputBox("Please enter the second amount","Value Input"))</paragraph>
<paragraph role="bascode" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="16"> Print "The difference is "; Abs(siW1 - siW2)</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>