summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared')
-rw-r--r--source/text/sbasic/shared/03080101.xhp2
-rw-r--r--source/text/sbasic/shared/03080102.xhp2
-rw-r--r--source/text/sbasic/shared/03080103.xhp2
-rw-r--r--source/text/sbasic/shared/03080104.xhp2
-rw-r--r--source/text/sbasic/shared/03080201.xhp2
-rw-r--r--source/text/sbasic/shared/03080202.xhp2
-rw-r--r--source/text/sbasic/shared/03080302.xhp2
-rw-r--r--source/text/sbasic/shared/03080401.xhp2
-rw-r--r--source/text/sbasic/shared/03080501.xhp2
-rw-r--r--source/text/sbasic/shared/03080502.xhp2
-rw-r--r--source/text/sbasic/shared/03080601.xhp2
-rw-r--r--source/text/sbasic/shared/03080701.xhp4
-rw-r--r--source/text/sbasic/shared/03090402.xhp4
-rw-r--r--source/text/sbasic/shared/03090407.xhp2
-rw-r--r--source/text/sbasic/shared/03090410.xhp2
-rw-r--r--source/text/sbasic/shared/03100100.xhp10
-rw-r--r--source/text/sbasic/shared/03100300.xhp2
17 files changed, 23 insertions, 23 deletions
diff --git a/source/text/sbasic/shared/03080101.xhp b/source/text/sbasic/shared/03080101.xhp
index 8a480a5e19..4188f8cca1 100644
--- a/source/text/sbasic/shared/03080101.xhp
+++ b/source/text/sbasic/shared/03080101.xhp
@@ -41,7 +41,7 @@
<paragraph id="par_id3148947" role="bascode" xml-lang="en-US">Atn (Number As Double) As Double</paragraph>
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
- <paragraph id="par_id3150359" role="paragraph" xml-lang="en-US">Double</paragraph>
+ <paragraph id="par_id3150359" localize="false" role="paragraph">Double</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3156212" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numerical expression that represents the ratio of two sides of a right triangle. The <literal>Atn</literal> function returns the corresponding angle in radians (arctangent).</paragraph>
diff --git a/source/text/sbasic/shared/03080102.xhp b/source/text/sbasic/shared/03080102.xhp
index ba199bf3bc..9f2e227eae 100644
--- a/source/text/sbasic/shared/03080102.xhp
+++ b/source/text/sbasic/shared/03080102.xhp
@@ -45,7 +45,7 @@
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
-<paragraph id="par_id3150449" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3150449" localize="false" role="paragraph">Double</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3153770" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Numeric expression that specifies an angle in radians that you want to calculate the cosine for.</paragraph>
diff --git a/source/text/sbasic/shared/03080103.xhp b/source/text/sbasic/shared/03080103.xhp
index 850473b513..7f9f25a15a 100644
--- a/source/text/sbasic/shared/03080103.xhp
+++ b/source/text/sbasic/shared/03080103.xhp
@@ -46,7 +46,7 @@
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
-<paragraph id="par_id3150870" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3150870" localize="false" role="paragraph">Double</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3145786" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Numeric expression that defines the angle in radians that you want to calculate the sine for.</paragraph>
diff --git a/source/text/sbasic/shared/03080104.xhp b/source/text/sbasic/shared/03080104.xhp
index ed755f018c..aa19785672 100644
--- a/source/text/sbasic/shared/03080104.xhp
+++ b/source/text/sbasic/shared/03080104.xhp
@@ -46,7 +46,7 @@
</bascode>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
-<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3156281" localize="false" role="paragraph">Double</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3145786" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the tangent for (in radians).</paragraph>
diff --git a/source/text/sbasic/shared/03080201.xhp b/source/text/sbasic/shared/03080201.xhp
index 9847e8af7f..bf450847e1 100644
--- a/source/text/sbasic/shared/03080201.xhp
+++ b/source/text/sbasic/shared/03080201.xhp
@@ -42,7 +42,7 @@
</bascode>
<paragraph id="hd_id3154347" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3149670" localize="false" role="paragraph">Double</paragraph>
<paragraph id="hd_id3154760" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3150793" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that specifies the power that you want to raise "e" to (the base of natural logarithms). The power must be for both single-precision numbers less than or equal to 88.02969 and double-precision numbers less than or equal to 709.782712893, since $[officename] Basic returns an Overflow error for numbers exceeding these values.</paragraph>
diff --git a/source/text/sbasic/shared/03080202.xhp b/source/text/sbasic/shared/03080202.xhp
index 3d8c819d34..c46ffefd58 100644
--- a/source/text/sbasic/shared/03080202.xhp
+++ b/source/text/sbasic/shared/03080202.xhp
@@ -44,7 +44,7 @@
</bascode>
<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3150791" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3150791" localize="false" role="paragraph">Double</paragraph>
<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3151041" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the natural logarithm for.</paragraph>
diff --git a/source/text/sbasic/shared/03080302.xhp b/source/text/sbasic/shared/03080302.xhp
index e898be390e..109723caf0 100644
--- a/source/text/sbasic/shared/03080302.xhp
+++ b/source/text/sbasic/shared/03080302.xhp
@@ -43,7 +43,7 @@
<paragraph id="par_id3150543" role="bascode" xml-lang="en-US">Rnd [(Expression)]</paragraph>
</bascode>
<paragraph id="hd_id3149655" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3154365" localize="false" role="paragraph">Double</paragraph>
<paragraph id="hd_id3154909" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3125864" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Has no effect, is ignored if provided.</paragraph>
diff --git a/source/text/sbasic/shared/03080401.xhp b/source/text/sbasic/shared/03080401.xhp
index 229edef583..35a3c55e40 100644
--- a/source/text/sbasic/shared/03080401.xhp
+++ b/source/text/sbasic/shared/03080401.xhp
@@ -44,7 +44,7 @@
</bascode>
<paragraph id="hd_id3156023" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3156343" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3156343" localize="false" role="paragraph">Double</paragraph>
<paragraph id="hd_id3147265" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3149457" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the square root for.</paragraph>
diff --git a/source/text/sbasic/shared/03080501.xhp b/source/text/sbasic/shared/03080501.xhp
index 97e9ee82fa..0cc5f18e0a 100644
--- a/source/text/sbasic/shared/03080501.xhp
+++ b/source/text/sbasic/shared/03080501.xhp
@@ -40,7 +40,7 @@
<paragraph id="par_id3156152" role="code" xml-lang="en-US">Fix (Expression)</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
-<paragraph id="par_id3148947" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3148947" localize="false" role="paragraph">Double</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3149457" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Numeric expression that you want to return the integer value for.</paragraph>
diff --git a/source/text/sbasic/shared/03080502.xhp b/source/text/sbasic/shared/03080502.xhp
index 61ad8390c9..b695125ad4 100644
--- a/source/text/sbasic/shared/03080502.xhp
+++ b/source/text/sbasic/shared/03080502.xhp
@@ -42,7 +42,7 @@
<paragraph id="par_id3146795" role="code" xml-lang="en-US">Int (Number)</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
-<paragraph id="par_id3150400" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3150400" localize="false" role="paragraph">Double</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3148797" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any valid numeric expression.</paragraph>
diff --git a/source/text/sbasic/shared/03080601.xhp b/source/text/sbasic/shared/03080601.xhp
index 39aa93be1a..777db56b07 100644
--- a/source/text/sbasic/shared/03080601.xhp
+++ b/source/text/sbasic/shared/03080601.xhp
@@ -44,7 +44,7 @@
</bascode>
<paragraph id="hd_id3156152" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3149670" role="paragraph" xml-lang="en-US">Double</paragraph>
+<paragraph id="par_id3149670" localize="false" role="paragraph">Double</paragraph>
<paragraph id="hd_id3154924" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3154347" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to return the absolute value for. Positive numbers, including 0, are returned unchanged, whereas negative numbers are converted to positive numbers.</paragraph>
diff --git a/source/text/sbasic/shared/03080701.xhp b/source/text/sbasic/shared/03080701.xhp
index d96fdd1f6c..e906415108 100644
--- a/source/text/sbasic/shared/03080701.xhp
+++ b/source/text/sbasic/shared/03080701.xhp
@@ -44,7 +44,7 @@
</bascode>
<paragraph id="hd_id3145069" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3150359" role="paragraph" xml-lang="en-US">Integer</paragraph>
+<paragraph id="par_id3150359" localize="false" role="paragraph">Integer</paragraph>
<paragraph id="hd_id3150543" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
<paragraph id="par_id3154365" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Numeric expression that determines the value that is returned by the function.</paragraph>
@@ -52,7 +52,7 @@
<table id="tbl_id3156281">
<tablerow>
<tablecell>
- <paragraph id="par_id3150767" role="paragraph" xml-lang="en-US">NumExpression</paragraph>
+ <paragraph id="par_id3150767" role="paragraph" xml-lang="en-US">Number</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id3150441" role="paragraph" xml-lang="en-US">Return value</paragraph>
diff --git a/source/text/sbasic/shared/03090402.xhp b/source/text/sbasic/shared/03090402.xhp
index 1abbfa6ea3..3f70ca35e7 100644
--- a/source/text/sbasic/shared/03090402.xhp
+++ b/source/text/sbasic/shared/03090402.xhp
@@ -44,9 +44,9 @@
</bascode>
<paragraph id="hd_id3154346" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph>
-<paragraph id="par_id3148664" role="paragraph" xml-lang="en-US"> <emph>Index:</emph> A numeric expression that specifies the value to return.</paragraph>
+<paragraph id="par_id3148664" role="paragraph" xml-lang="en-US"> <emph>Index:</emph> Integer value starting at 1 that specifies which of the possible choices to return.</paragraph>
<paragraph id="par_id3150791" role="paragraph" xml-lang="en-US"> <emph>Selection1:</emph> Any expression that contains one of the possible choices.</paragraph>
-<paragraph id="par_id3151043" role="paragraph" xml-lang="en-US">The <emph>Choose</emph> function returns a value from the list of expressions based on the index value. If Index = 1, the function returns the first expression in the list, if index i= 2, it returns the second expression, and so on.</paragraph>
+<paragraph id="par_id3151043" role="paragraph" xml-lang="en-US">The <emph>Choose</emph> function returns a value from the list of expressions based on the index value. If <emph>Index = 1</emph>, the function returns the first expression in the list, if <emph>Index = 2</emph>, it returns the second expression, and so on.</paragraph>
<paragraph id="par_id3153192" role="paragraph" xml-lang="en-US">If the index value is less than 1 or greater than the number of expressions listed, the function returns a Null value.</paragraph>
<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US">The following example uses the <emph>Choose</emph> function to select a string from several strings that form a menu:</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
diff --git a/source/text/sbasic/shared/03090407.xhp b/source/text/sbasic/shared/03090407.xhp
index 360c6fbdd1..7e4239841f 100644
--- a/source/text/sbasic/shared/03090407.xhp
+++ b/source/text/sbasic/shared/03090407.xhp
@@ -40,7 +40,7 @@
</section>
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
-<paragraph id="par_id3154141" role="code" xml-lang="en-US">Rem Text</paragraph>
+<paragraph id="par_id3154141" localize="false" role="code">Rem Text</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3150869" role="paragraph" xml-lang="en-US"> <emph>Text:</emph> Any text that serves as a comment.</paragraph>
diff --git a/source/text/sbasic/shared/03090410.xhp b/source/text/sbasic/shared/03090410.xhp
index dc751a7e86..cec0930676 100644
--- a/source/text/sbasic/shared/03090410.xhp
+++ b/source/text/sbasic/shared/03090410.xhp
@@ -55,7 +55,7 @@
<bascode>
<paragraph id="par_idm1341052032" role="bascode" localize="false" xml-lang="en-US">Sub ExampleSwitch</paragraph>
<paragraph id="par_idm1341050800" role="bascode" localize="false" xml-lang="en-US">Dim sGender As String</paragraph>
-<paragraph id="par_id3149579" role="bascode" xml-lang="en-US"> sGender = GetGenderIndex( "John" )</paragraph>
+<paragraph id="par_id31495790124" role="bascode" localize="false" xml-lang="en-US"> sGender = GetGenderIndex( "John" )</paragraph>
<paragraph id="par_idm1341047840" role="bascode" localize="false" xml-lang="en-US"> MsgBox sGender</paragraph>
<paragraph id="par_idm1341046608" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
<paragraph id="par_idm1341045376" role="bascode" localize="false" xml-lang="en-US"> </paragraph>
diff --git a/source/text/sbasic/shared/03100100.xhp b/source/text/sbasic/shared/03100100.xhp
index cea7528aa0..cc895b4247 100644
--- a/source/text/sbasic/shared/03100100.xhp
+++ b/source/text/sbasic/shared/03100100.xhp
@@ -57,15 +57,15 @@
<paragraph id="par_id3145171" role="paragraph" xml-lang="en-US">The following examples computes a logical expression and a mathematical formula. It uses the <literal>CBool</literal> function to evaluate the value that is returned by the <literal>Instr</literal> function. The function checks if the word "and" is found in the sentence that was entered by the user.</paragraph>
<bascode>
<paragraph id="par_idm1340987280" role="bascode" localize="false">Sub ExampleCBool</paragraph>
-<paragraph role="bascode" id="bas_id961636989038747" xml-lang="en-US"> Print CBool( 1>2 Xor 44) ' computes to True</paragraph>
+<paragraph role="bascode" id="bas_id961636989038747" xml-lang="en-US"> Print CBool( 1>2 Xor 44 ) ' computes to True</paragraph>
<paragraph role="bascode" id="bas_id991636996682074" xml-lang="en-US"> Print CBool( expression := "15" /2 -7.5 ) ' displays False as expression equals 0</paragraph>
<paragraph id="par_id3155132" role="bascode" xml-lang="en-US"> txt = InputBox("Please enter a short sentence:")</paragraph>
-<paragraph id="par_id3155855" role="bascode" xml-lang="en-US"> ' Proof if the word »and« appears in the sentence.</paragraph>
+<paragraph id="par_id3155855" role="bascode" xml-lang="en-US"> ' Proof if the character "a" appears in the sentence.</paragraph>
<paragraph id="par_id3146984" role="bascode" xml-lang="en-US"> ' Instead of the command line</paragraph>
-<paragraph id="par_id3148576" role="bascode" xml-lang="en-US"> ' If Instr(Input, "and")&lt;&gt;0 Then...</paragraph>
+<paragraph id="par_id3148576" localize="false" role="bascode" xml-lang="en-US"> ' If Instr(Input, "a")&lt;&gt;0 Then...</paragraph>
<paragraph id="par_id3154014" role="bascode" xml-lang="en-US"> ' the CBool function is applied as follows:</paragraph>
-<paragraph id="par_id3155413" role="bascode" xml-lang="en-US"> If CBool(Instr(txt, "and")) Then</paragraph>
-<paragraph id="par_id3152940" role="bascode" xml-lang="en-US"> MsgBox "The word »and« appears in the sentence you entered!"</paragraph>
+<paragraph id="par_id3155413" localize="false" role="bascode" xml-lang="en-US"> If CBool(Instr(txt, "a")) Then</paragraph>
+<paragraph id="par_id3152940" role="bascode" xml-lang="en-US"> MsgBox "The character »a« appears in the sentence you entered!"</paragraph>
<paragraph id="par_idm1340972320" role="bascode" localize="false"> EndIf</paragraph>
<paragraph id="par_idm1340971088" role="bascode" localize="false">End Sub</paragraph>
</bascode>
diff --git a/source/text/sbasic/shared/03100300.xhp b/source/text/sbasic/shared/03100300.xhp
index ecc76e2dc4..adabbdc0bb 100644
--- a/source/text/sbasic/shared/03100300.xhp
+++ b/source/text/sbasic/shared/03100300.xhp
@@ -41,7 +41,7 @@
</bascode>
<paragraph id="hd_id3148552" role="heading" level="2" xml-lang="en-US">Return value:</paragraph>
-<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US">Date</paragraph>
+<paragraph id="par_id3159414" localize="false" role="paragraph">Date</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functparameters"/>
<paragraph id="par_id3150359" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Any string or numeric expression that you want to convert.</paragraph>