diff options
Diffstat (limited to 'source/text/sbasic/shared/03102000.xhp')
-rw-r--r-- | source/text/sbasic/shared/03102000.xhp | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/source/text/sbasic/shared/03102000.xhp b/source/text/sbasic/shared/03102000.xhp index 6402243a69..71fb8f9eb4 100644 --- a/source/text/sbasic/shared/03102000.xhp +++ b/source/text/sbasic/shared/03102000.xhp @@ -47,7 +47,9 @@ <paragraph role="paragraph" id="par_id3153825" xml-lang="en-US" l10n="U" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph> </section> <paragraph role="heading" id="hd_id3154143" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph> -<paragraph role="paragraph" id="par_id3149514" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph> +<bascode>
+<paragraph role="bascode" id="par_id3149514" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+</bascode> <paragraph role="heading" id="hd_id3156024" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph> <paragraph role="paragraph" id="par_id3147560" xml-lang="en-US" l10n="U" oldref="6"> <emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph> @@ -58,17 +60,19 @@ <paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="9"> <emph>DefVar:</emph> Variant</paragraph> <paragraph role="heading" id="hd_id3151041" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph> -<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="11">REM Prefix definitions for variable types:</paragraph> -<paragraph role="paragraph" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="12">DefBool b</paragraph> -<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="13">DefDate t</paragraph> -<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="14">DefDbL d</paragraph> -<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="15">DefInt i</paragraph> -<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="16">DefLng l</paragraph> -<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="U" oldref="17">DefObj o</paragraph> -<paragraph role="paragraph" id="par_id3151117" xml-lang="en-US" l10n="U" oldref="18">DefVar v</paragraph> -<paragraph role="paragraph" id="par_id3148645" xml-lang="en-US" l10n="U" oldref="20">Sub ExampleDefVar</paragraph> -<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="21">vDiv=99 REM vDiv is an implicit variant</paragraph> -<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="22">vDiv="Hello world"</paragraph> -<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph> +<bascode> +<paragraph role="bascode" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="11">' Prefix definitions for variable types:</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefBool b</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefDate t</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefDbl d</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefInt i</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefLng l</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefObj o</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">DefVar v</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleDefVar</paragraph> +<paragraph role="bascode" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="21"> vDiv=99 ' vDiv is an implicit variant</paragraph> +<paragraph role="bascode" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="22"> vDiv="Hello world"</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +</bascode> </body> </helpdocument> |