summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03101300.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/03101300.xhp
parentremove l10n on empty paragraph (diff)
downloadhelp-78dc9c1d059b48ad79620f0cc536466e701a042d.tar.gz
help-78dc9c1d059b48ad79620f0cc536466e701a042d.zip
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/03101300.xhp')
-rw-r--r--source/text/sbasic/shared/03101300.xhp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/text/sbasic/shared/03101300.xhp b/source/text/sbasic/shared/03101300.xhp
index 8dec758eb9..6c84e65636 100644
--- a/source/text/sbasic/shared/03101300.xhp
+++ b/source/text/sbasic/shared/03101300.xhp
@@ -32,19 +32,19 @@
<bookmark_value>DefDate statement</bookmark_value>
</bookmark>
-<paragraph id="hd_id3150504" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03101300.xhp" name="DefDate Statement">DefDate Statement</link></paragraph>
+<h1 id="hd_id3150504"><link href="text/sbasic/shared/03101300.xhp" name="DefDate Statement">DefDate Statement</link></h1>
<paragraph id="par_id3145069" role="paragraph" xml-lang="en-US">If no type-declaration character or keyword is specified, the DefDate statement sets the default variable type, according to a letter range.</paragraph>
</section>
<embed href="text/sbasic/shared/03101100.xhp#PrefixDefCommon"/>
-<paragraph id="par_id3150767" role="paragraph" xml-lang="en-US"> <emph>DefDate:</emph> Date</paragraph>
<embed href="text/sbasic/shared/03101100.xhp#ExamplePrefixDefCommon"/>
<bascode>
-<paragraph id="par_idm1341297408" role="bascode" localize="false" xml-lang="en-US">Sub ExampleDefDate</paragraph>
-<paragraph id="par_id3152462" role="bascode" xml-lang="en-US"> tDate=Date ' tDate is an implicit date variable</paragraph>
-<paragraph id="par_idm1341619984" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph>
+ <paragraph id="par_idm1341297408" role="bascode" localize="false">Sub ExampleDefDate</paragraph>
+ <paragraph id="par_id3152462" role="bascode" xml-lang="en-US"> tDate=Date ' tDate is an implicit date variable</paragraph>
+ <paragraph id="par_id3153562" role="bascode" xml-lang="en-US"> Print VarType(tea), train, TypeName(timedate), IsDate(tick) ' Displays: 7 00:00:00 Date True</paragraph>
+ <paragraph id="par_idm1341619984" role="bascode" localize="false">End Sub</paragraph>
</bascode>
-</body>
+</body>
</helpdocument>