summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03090301.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/03090301.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/03090301.xhp')
-rw-r--r--source/text/sbasic/shared/03090301.xhp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03090301.xhp b/source/text/sbasic/shared/03090301.xhp
index 18b88d25a7..117c632cb6 100644
--- a/source/text/sbasic/shared/03090301.xhp
+++ b/source/text/sbasic/shared/03090301.xhp
@@ -61,8 +61,8 @@
<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iInputa As Single</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iInputb As Single</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US">Dim iInputc As Single</paragraph>
-<paragraph role="bascode" id="par_id3146970" xml-lang="en-US" l10n="U" oldref="25"> iInputa = Int(InputBox$ "Enter the first number: ","NumberInput"))</paragraph>
-<paragraph role="bascode" id="par_id3150329" xml-lang="en-US" l10n="U" oldref="26"> iInputb = Int(InputBox$ "Enter the second number: ","NumberInput"))</paragraph>
+<paragraph role="bascode" id="par_id3146970" xml-lang="en-US" l10n="U" oldref="25"> iInputa = Int(InputBox("Enter the first number: ","NumberInput"))</paragraph>
+<paragraph role="bascode" id="par_id3150329" xml-lang="en-US" l10n="U" oldref="26"> iInputb = Int(InputBox("Enter the second number: ","NumberInput"))</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> iInputc=iInputa</paragraph>
<paragraph role="bascode" localize="false" xml-lang="en-US"> GoSub SquareRoot</paragraph>
<paragraph role="bascode" id="par_id3154756" xml-lang="en-US" l10n="U" oldref="29"> Print "The square root of";iInputa;" is";iInputc</paragraph>