summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/GetPathSeparator.xhp
diff options
context:
space:
mode:
authorAlain Romedenne <alain.romedenne@libreoffice.org>2025-03-28 10:39:25 +0100
committerAlain Romedenne <alain.romedenne@libreoffice.org>2025-03-31 16:46:50 +0200
commit49f82528aecdece559fb6a859a98e86fd31c7e6a (patch)
tree61ce056798487e241dd1a4b3bfaf887cb21cde9a /source/text/sbasic/shared/GetPathSeparator.xhp
parent7227c7e904fceaecacb16c74b057c869686f012d (diff)
Precisions about OS recognition in scripts
plus a few invitations to go Python Change-Id: I0c58b9f35638c0d609727e6ef4affffac8fce971 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/183441 Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'source/text/sbasic/shared/GetPathSeparator.xhp')
-rw-r--r--source/text/sbasic/shared/GetPathSeparator.xhp26
1 files changed, 12 insertions, 14 deletions
diff --git a/source/text/sbasic/shared/GetPathSeparator.xhp b/source/text/sbasic/shared/GetPathSeparator.xhp
index f807730adb..170576cce1 100644
--- a/source/text/sbasic/shared/GetPathSeparator.xhp
+++ b/source/text/sbasic/shared/GetPathSeparator.xhp
@@ -25,7 +25,7 @@
<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/>
<paragraph role="code" id="N0005" localize="false">GetPathSeparator()</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#functvalue"/>
- <paragraph role="paragraph" id="par_id481542894937950" xml-lang="en-US" localize="false">String</paragraph>
+ <paragraph role="paragraph" id="par_id481542894937950" localize="false">String</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" id="N0007" localize="false">&quot;\&quot; Windows</paragraph>
@@ -46,19 +46,17 @@
<paragraph role="bascode" localize="false" id="N0015"> MsgBox GetPathSeparator()</paragraph>
<paragraph role="bascode" localize="false" id="N0016">End Sub</paragraph>
</bascode>
- <section id="relatedtopics" >
- <paragraph role="paragraph" id="N0017">
- It is recommended to use:
- </paragraph>
- <paragraph role="paragraph" id="N0018">
- <link href="text/sbasic/shared/03120313.xhp">ConvertFromURL</link> function to convert a file URL to a system file name.
- </paragraph>
- <paragraph role="paragraph" id="N0019">
- <link href="text/sbasic/shared/03120312.xhp">ConvertToURL</link> function to convert a system file name to a file URL.
- </paragraph>
- <paragraph role="paragraph" id="N0020">
- See also <link href="text/sbasic/shared/00000002.xhp">URL Notation</link>
- </paragraph>
+ <section id="PlatformID">
+ <note id="par_id71743155051328">Wiser script instructions are available from <link href="text/sbasic/python/python_platform.xhp">Identifying the operating system</link> help page.</note>
+ <section id="SF_Calc">
+ <tip id="par_id951743155374013"><link href="text/sbasic/shared/03/sf_platform.xhp">&#8226; ScriptForge.Platform</link> service provides a collection of properties about the current execution environment and context, that include platform detection.<br/><br/>&#8226; Extensive operating system name identification is available from <link href="text/scalc/01/04060104.xhp#bm_id3691824">INFO("system")</link> Calc formula.</tip>
+ </section>
</section>
+ <section id="relatedtopics" >
+ <paragraph role="paragraph" id="N0017">It is recommended to use:</paragraph>
+ <paragraph role="paragraph" id="N0018"><link href="text/sbasic/shared/03120313.xhp">ConvertFromURL</link> function to convert a file URL to a system file name.</paragraph>
+ <paragraph role="paragraph" id="N0019"><link href="text/sbasic/shared/03120312.xhp">ConvertToURL</link> function to convert a system file name to a file URL.</paragraph>
+ <paragraph role="paragraph" id="N0020">See also <link href="text/sbasic/shared/00000002.xhp">URL Notation</link></paragraph>
+ </section>
</body>
</helpdocument>