diff options
Diffstat (limited to 'source/text/sbasic/shared/03120312.xhp')
-rw-r--r-- | source/text/sbasic/shared/03120312.xhp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source/text/sbasic/shared/03120312.xhp b/source/text/sbasic/shared/03120312.xhp index cfe64d3bf2..afdb523ef1 100644 --- a/source/text/sbasic/shared/03120312.xhp +++ b/source/text/sbasic/shared/03120312.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> - <!-- * This file is part of the LibreOffice project. * @@ -18,7 +17,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + <helpdocument version="1.0"> <meta> <topic id="textsbasicshared03120312xml" indexer="include" status="PUBLISH"> @@ -47,11 +46,15 @@ <emph>Filename:</emph> A file name as string.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> +<section id="exampleconverttofromurl"> <paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2">Example:</paragraph> -<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US">systemFile$ = "c:\folder\mytext.txt"</paragraph> -<paragraph role="paragraph" id="par_id3154365" xml-lang="en-US">url$ = ConvertToURL( systemFile$ )</paragraph> -<paragraph role="paragraph" id="par_id3151042" xml-lang="en-US">print url$</paragraph> -<paragraph role="paragraph" id="par_id3154909" xml-lang="en-US">systemFileAgain$ = ConvertFromURL( url$ )</paragraph> -<paragraph role="paragraph" id="par_id3144762" xml-lang="en-US">print systemFileAgain$</paragraph> +<bascode> + <paragraph role="bascode" id="par_id3150792" xml-lang="en-US">systemFile$ = "c:\folder\mytext.txt"</paragraph> + <paragraph role="bascode" localize="false" id="par_id3154365" xml-lang="en-US">url$ = ConvertToURL( systemFile$ )</paragraph> + <paragraph role="bascode" localize="false" id="par_id3151042" xml-lang="en-US">print url$</paragraph> + <paragraph role="bascode" localize="false" id="par_id3154909" xml-lang="en-US">systemFileAgain$ = ConvertFromURL( url$ )</paragraph> + <paragraph role="bascode" localize="false" id="par_id3144762" xml-lang="en-US">print systemFileAgain$</paragraph> +</bascode> +</section> </body> </helpdocument> |