source/text/sbasic/python/python_platform.xhp |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 842cf7acf0f77bbffdb61b42fc5b935773094dcb
Author:     Alain Romedenne <alain.romede...@libreoffice.org>
AuthorDate: Thu Jun 6 15:21:36 2024 +0200
Commit:     Alain Romedenne <alain.romede...@libreoffice.org>
CommitDate: Fri Jun 7 09:24:30 2024 +0200

    Precision about Win environment variable
    
    Change-Id: I2105960d58fa0342dde9d7f762ecc1a18b3e9bb5
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/168448
    Tested-by: Jenkins
    Reviewed-by: Alain Romedenne <alain.romede...@libreoffice.org>

diff --git a/source/text/sbasic/python/python_platform.xhp 
b/source/text/sbasic/python/python_platform.xhp
index d2b0d80e11..4e1a7da743 100644
--- a/source/text/sbasic/python/python_platform.xhp
+++ b/source/text/sbasic/python/python_platform.xhp
@@ -26,7 +26,6 @@
     </bookmark>
     <h1 id="N0509"><variable id="pythonplatform"><link 
href="text/sbasic/python/python_platform.xhp">Identifying the operating 
system</link></variable></h1>
     <paragraph role="paragraph" id="N0510">Identifying the operating system 
can be performed with Python or Basic language.</paragraph>
-    <note id="N0511">ComputerName property is solely available for Windows. 
Basic calls to Python macros help overcome %PRODUCTNAME Basic 
limitations.</note>
     <h2 id="N0512">Using a Python class:</h2>
     <pycode>
         <paragraph role="pycode" localize="false" id="N05130">""" the_module 
"""</paragraph>
@@ -50,7 +49,8 @@
     <h2 id="N0529">Using a Basic classmodule:</h2>
     <tip id="NO529b">%PRODUCTNAME Basic lacks MacOS X native recognition. 
Platform identification is possible using %PRODUCTNAME Application Programming 
Interface (API).</tip>
       <bascode>
-        <paragraph role="bascode" localize="false" id="N0530">Option 
Compatible</paragraph>
+        <paragraph role="bascode" id="N0530a">''' Module name: Platform 
'''</paragraph>
+        <paragraph role="bascode" localize="false" id="N0530b">Option 
Compatible</paragraph>
         <paragraph role="bascode" localize="false" id="N0531">Option 
ClassModule</paragraph>
         <paragraph role="bascode" localize="false" id="N0532">Option 
Explicit</paragraph>
         <paragraph role="bascode" localize="false" id="N0533"></paragraph>
@@ -92,6 +92,7 @@
         <paragraph role="bascode" localize="false" id="N0562">     End 
Select</paragraph>
         <paragraph role="bascode" localize="false" id="N0563">End Property 
&apos; Platform.PathDelimiter</paragraph>
     </bascode>
+    <note id="N0511">ComputerName environment variable is solely available for 
Windows. Basic calls to Python macros help overcome %PRODUCTNAME Basic 
limitations.</note>
     <h2 id="N0564">Examples:</h2>
     <paragraph role="paragraph" id="N0565">With Python</paragraph>
     <paragraph role="paragraph" localize="false" 
id="N0566"><literal>&gt;&gt;&gt; from &lt; the_module &gt; import 
Platform</literal></paragraph>

Reply via email to