diff options
Diffstat (limited to 'source/text/sbasic/shared/03101100.xhp')
-rw-r--r-- | source/text/sbasic/shared/03101100.xhp | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/source/text/sbasic/shared/03101100.xhp b/source/text/sbasic/shared/03101100.xhp index 7cd0976459..0a9667ad9d 100644 --- a/source/text/sbasic/shared/03101100.xhp +++ b/source/text/sbasic/shared/03101100.xhp @@ -47,7 +47,9 @@ <paragraph role="paragraph" id="par_id3153089" xml-lang="en-US" l10n="U" oldref="2">If no type-declaration character or keyword is specified, the DefBool statement sets the default data type for variables, according to a letter range.</paragraph> </section> <paragraph role="heading" id="hd_id3149495" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph> -<paragraph role="paragraph" id="par_id3150682" xml-lang="en-US" l10n="U" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph> +<bascode>
+<paragraph role="bascode" id="par_id3150682" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+</bascode> <paragraph role="heading" id="hd_id3159201" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph> <paragraph role="paragraph" id="par_id3147226" 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,16 +60,18 @@ <paragraph role="paragraph" id="par_id3149233" xml-lang="en-US" l10n="U" oldref="9"> <emph>DefBool:</emph> Boolean</paragraph> <paragraph role="heading" id="hd_id3149762" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph> -<paragraph role="paragraph" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="12">REM Prefix definition for variable types:</paragraph> -<paragraph role="paragraph" id="par_id3153627" xml-lang="en-US" l10n="U" oldref="13">DefBool b</paragraph> -<paragraph role="paragraph" id="par_id3145610" xml-lang="en-US" l10n="U" oldref="14">DefDate t</paragraph> -<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="15">DefDbL d</paragraph> -<paragraph role="paragraph" id="par_id3148552" xml-lang="en-US" l10n="U" oldref="16">DefInt i</paragraph> -<paragraph role="paragraph" id="par_id3152812" xml-lang="en-US" l10n="U" oldref="17">DefLng l</paragraph> -<paragraph role="paragraph" id="par_id3153524" xml-lang="en-US" l10n="U" oldref="18">DefObj o</paragraph> -<paragraph role="paragraph" id="par_id3150541" xml-lang="en-US" l10n="U" oldref="19">DefVar v</paragraph> -<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDefBool</paragraph> -<paragraph role="paragraph" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="22">bOK=TRUE REM bOK is an implicit Boolean variable</paragraph> -<paragraph role="paragraph" id="par_id3145421" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph> +<bascode> +<paragraph role="bascode" id="par_id3156152" xml-lang="en-US" l10n="U" oldref="12">' Prefix definition 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 ExampleDefBool</paragraph> +<paragraph role="bascode" id="par_id3151381" xml-lang="en-US" l10n="U" oldref="22"> bOK=TRUE ' bOK is an implicit boolean variable</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +</bascode> </body> </helpdocument> |