summaryrefslogtreecommitdiff
path: root/source/text/sbasic
diff options
context:
space:
mode:
authorAlain Romedenne <alain.romedenne@libreoffice.org>2024-08-21 09:26:54 +0200
committerAlain Romedenne <alain.romedenne@libreoffice.org>2024-08-21 09:45:01 +0200
commitd16cddc3602213ef22fc4f778f632d43c89d8304 (patch)
treeaf041b496302382ec310a002c6653e4538bb5ec3 /source/text/sbasic
parent7e13a37beb1d13ac072f88b0b85607677ab6d67e (diff)
Apply english grammar
Change-Id: Ibe65885931c5dca006a298eeef9b5b383137b2fc Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172186 Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'source/text/sbasic')
-rw-r--r--source/text/sbasic/shared/conventions.xhp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/text/sbasic/shared/conventions.xhp b/source/text/sbasic/shared/conventions.xhp
index 77598e251a..a9375fad45 100644
--- a/source/text/sbasic/shared/conventions.xhp
+++ b/source/text/sbasic/shared/conventions.xhp
@@ -21,9 +21,9 @@
<bookmark_value>Typographical conventions</bookmark_value>
</bookmark>
<h1 id="hd_id221543446540070"><link href="text/sbasic/shared/conventions.xhp">How to Read Syntax Diagrams and Statements</link></h1>
- <paragraph role="paragraph" id="par_id601593699108443">%PRODUCTNAME Basic statements use syntax diagrams and textual conventions that follow these typographical rules:</paragraph>
+ <paragraph role="paragraph" id="par_id601593699108443">%PRODUCTNAME Basic statements use syntax diagrams and textual conventions that follow these notations:</paragraph>
<list type="unordered">
- <listitem><paragraph id="par_id158193699546735" role="listitem">%PRODUCTNAME Basic keywords or functions use proper casing: Call, DimArray, InputBox, Property.</paragraph></listitem>
+ <listitem><paragraph id="par_id158193699546735" role="listitem">%PRODUCTNAME Basic keywords or functions use camel casing: Call, DimArray, InputBox, Property.</paragraph></listitem>
<listitem><paragraph id="par_id711593699548486" role="listitem">Lowercase characters indicate information to supply: end, expression, start, variable.</paragraph></listitem>
</list>
<paragraph role="paragraph" id="par_id881593760345504">The syntax of a %PRODUCTNAME Basic one line statement is illustrated herewith:</paragraph>
@@ -44,7 +44,7 @@
<list type="unordered">
<listitem><paragraph id="par_id181593700546735" role="listitem"><emph>[opt1|opt2|opt3]</emph> Items inside brackets are optional, alternatives are indicated with a vertical bar,</paragraph></listitem>
<listitem><paragraph id="par_id181593699546735" role="listitem"><emph>case[[sep]…]</emph> An ellipsis indicates a possible repetition, an optional separator may be specified,</paragraph></listitem>
- <listitem><paragraph id="par_id712593699548486" role="listitem"><emph>{choice1|choice2}</emph> Items inside curly braces are compulsory, alternatives are indicated with a vertical bar.</paragraph></listitem>
+ <listitem><paragraph id="par_id712593699548486" role="listitem"><emph>{choice1|choice2}</emph> Items inside curly braces are mandatory, alternatives are indicated with a vertical bar.</paragraph></listitem>
</list>
</section>
@@ -55,8 +55,8 @@
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph role="bascode" id="N0008" localize="false">Sub Main<br/></paragraph>
- <paragraph role="bascode" id="N0018" xml-lang="en-US"> GoTo there &apos; skip first statement</paragraph>
- <paragraph role="bascode" id="N0019" xml-lang="en-US"> here: Print 1, : there: Print 2 REM explanatory text here</paragraph>
+ <paragraph role="bascode" id="N0018" xml-lang="en-US"> GoTo there &apos; skip first statement and display '2'</paragraph>
+ <paragraph role="bascode" id="N0019" xml-lang="en-US"> here: Print 1, : there: Print 2 REM multi-statement line</paragraph>
<paragraph role="bascode" id="N0021" localize="false">End Sub</paragraph>
</bascode>