summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/conventions.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/conventions.xhp')
-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>