source/text/sbasic/shared/conventions.xhp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
New commits: commit d16cddc3602213ef22fc4f778f632d43c89d8304 Author: Alain Romedenne <alain.romede...@libreoffice.org> AuthorDate: Wed Aug 21 09:26:54 2024 +0200 Commit: Alain Romedenne <alain.romede...@libreoffice.org> CommitDate: Wed Aug 21 09:45:01 2024 +0200 Apply english grammar Change-Id: Ibe65885931c5dca006a298eeef9b5b383137b2fc Reviewed-on: https://gerrit.libreoffice.org/c/help/+/172186 Reviewed-by: Alain Romedenne <alain.romede...@libreoffice.org> Tested-by: Jenkins 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 ' 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 ' 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>