summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03101140.xhp
diff options
context:
space:
mode:
authorAlain Romedenne <LibreOfficiant@sfr.fr>2020-09-21 16:04:09 +0200
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-09-29 12:28:19 +0200
commit78dc9c1d059b48ad79620f0cc536466e701a042d (patch)
treee6f03a300d8fa4697327695da5c8f1c67b565112 /source/text/sbasic/shared/03101140.xhp
parentb908b46979dcf004ee504ca95b64a0c9441a3164 (diff)
tdf#131416 Basic Syntax Diagrams for Defxxx statements
- Basic language ref . toc additions - Letter range option addition - DefBool-based refactoring Change-Id: I5744c63e9c21ad5ff2801cd03a119fd2c747fef3 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/103056 Tested-by: Jenkins Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'source/text/sbasic/shared/03101140.xhp')
-rw-r--r--source/text/sbasic/shared/03101140.xhp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/text/sbasic/shared/03101140.xhp b/source/text/sbasic/shared/03101140.xhp
index f9847edbd7..22be17bbe3 100644
--- a/source/text/sbasic/shared/03101140.xhp
+++ b/source/text/sbasic/shared/03101140.xhp
@@ -32,19 +32,19 @@
<bookmark_value>DefStr statement</bookmark_value>
</bookmark>
-<paragraph id="par_idN10577" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03101140.xhp">DefStr Statement</link></paragraph>
+<h1 id="par_idN10577"><link href="text/sbasic/shared/03101140.xhp">DefStr Statement</link></h1>
<paragraph id="par_idN10587" role="paragraph" xml-lang="en-US">If no type-declaration character or keyword is specified, the DefStr statement sets the default variable type, according to a letter range.</paragraph>
</section>
<embed href="text/sbasic/shared/03101100.xhp#PrefixDefCommon"/>
-<paragraph id="par_idN105AA" role="paragraph" xml-lang="en-US"> <emph>DefStr:</emph> String</paragraph>
<embed href="text/sbasic/shared/03101100.xhp#ExamplePrefixDefCommon"/>
+
<bascode>
-<paragraph id="par_idm1340827920" role="bascode" localize="false" xml-lang="en-US">DefStr s</paragraph>
-<paragraph id="par_idm1340826688" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDefStr</paragraph>
-<paragraph id="par_idN105D3" role="bascode" xml-lang="en-US"> sStr=String ' sStr is an implicit string variable</paragraph>
-<paragraph id="par_idm1341620336" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+ <paragraph id="par_idm1340826688" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDefStr</paragraph>
+ <paragraph id="par_idN105D3" role="bascode" xml-lang="en-US"> sStr=String ' sStr is an implicit string variable</paragraph>
+ <paragraph id="par_idN105D4" role="bascode" xml-lang="en-US"> Print VarType(slice), strng, TypeName(sheet) ' Result is: 8 "" String</paragraph>
+ <paragraph id="par_idm1341620336" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
</bascode>
</body>