home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="utf-8"?>
- <html><head><title>GetPathSeparator Method [Runtime]</title><meta name="filename" content="text/sbasic/common/03130900"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
-
- p.P1{
- }
- span.T1{
- font-weight:bold;}
- </style></head><body>
-
-
- <help:to-be-embedded Eid="getpathseparator" xmlns:help="http://openoffice.org/2000/help">
- <p class="Head1"><help:link Id="66452">GetPathSeparator Method [Runtime]</help:link></p>
- <p class="Paragraph">Returns the separator in the path names. The separator depends on the used operating system:</p>
- </help:to-be-embedded>
- <p class="Paragraph">\ - Windows</p>
- <p class="Paragraph">: - Macintosh</p>
- <p class="Paragraph">/ - Unix</p>
- <p class="Paragraph"><span class="T1">Syntax</span>:</p>
- <p class="Paragraph">GetPathSeparator() <help:key-word value="GetPathSeparator" tag="kw66452_1" xmlns:help="http://openoffice.org/2000/help"/></p>
- <p class="Paragraph"><span class="T1">Return value</span>:</p>
- <p class="Paragraph">String</p>
- <p class="Paragraph"><span class="T1">Example:</span></p>
- <p class="PropText">Sub ExampleGetPathSeparator</p>
- <p class="PropText">REM The routine creates system-independently a neu directory.</p>
- <p class="PropText">Dim sExamplePath as String</p>
- <p class="PropText">sExamplePath = Application.PathSettings.Work & GetPathSeparator()& "Example"</p>
- <p class="PropText">If Dir( sExamplePath, 16 )="" then MkDir( sExamplePath )</p>
- <p class="PropText">End Sub</p>
- </body></html>