diff options
Diffstat (limited to 'source/text/sbasic/shared/03080302.xhp')
-rw-r--r-- | source/text/sbasic/shared/03080302.xhp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/text/sbasic/shared/03080302.xhp b/source/text/sbasic/shared/03080302.xhp index 7ba71b641b..16e93d95ab 100644 --- a/source/text/sbasic/shared/03080302.xhp +++ b/source/text/sbasic/shared/03080302.xhp @@ -39,8 +39,9 @@ </section> <paragraph id="hd_id3153897" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<bascode> <paragraph id="par_id3150543" role="bascode" xml-lang="en-US">Rnd [(Expression)]</paragraph> - +</bascode> <paragraph id="hd_id3149655" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> <paragraph id="par_id3154365" role="paragraph" xml-lang="en-US">Double</paragraph> @@ -51,6 +52,7 @@ <embed href="text/sbasic/shared/00000003.xhp#err5"/> <paragraph id="hd_id3151118" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<bascode> <paragraph id="par_idm1341382704" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomSelect</paragraph> <paragraph id="par_idm1341381472" role="bascode" localize="false" xml-lang="en-US">Dim iVar As Integer</paragraph> <paragraph id="par_idm1341380240" role="bascode" localize="false" xml-lang="en-US"> iVar = Int((15 * Rnd) -2)</paragraph> @@ -65,10 +67,10 @@ <paragraph id="par_id3155602" role="bascode" xml-lang="en-US"> Print "Outside range 1 to 10"</paragraph> <paragraph id="par_idm1341365792" role="bascode" localize="false" xml-lang="en-US"> End Select</paragraph> <paragraph id="par_idm1341364560" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> - +</bascode> <section id="relatedtopics"> <paragraph id="par_id110520162210036951" role="paragraph" localize="false" xml-lang="en-US"><embedvar href="text/sbasic/shared/03080301.xhp#heading_randomize"/></paragraph> </section> </body> -</helpdocument>
\ No newline at end of file +</helpdocument> |