PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Equivalence
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Builds a complete file path from the directory and short name of a file. This function is mainly used to get a valid file name without having to worry about the presence of separators in the path ('/' or '\') or about their direction according to the platform.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Versions 19 and later
WEBDEV - Server code This function is now available for the WEBDEV sites in Windows and in Linux.
New in version 19
WEBDEV - Server code This function is now available for the WEBDEV sites in Windows and in Linux.
WEBDEV - Server code This function is now available for the WEBDEV sites in Windows and in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Example
sLog is string
sLog = fBuildPath(fExeDir(), CUSTOMER.NAME, ".log")

Trace(fBuildPath("C:\My documents", "MyFile", "fic"))
Syntax
<Result> = fBuildPath(<Path> , <Short Name> [, <Extension>])
<Result>: Character string
Valid file path.
<Path>: Character string (with quotes)
Directory of file. This directory can include '\' characters in the path.
<Short Name>: Character string (with quotes)
Short name of file.
<Extension>: Optional character string (with quotes)
File extension.
If the '.' character is not specified at the beginning of the extension, this one is automatically added.
If this parameter is not specified, the extension is considered as being included in the <Short Name> parameter.
Remarks

Equivalence

The following code:
fBuildPath(<Directory>, <File>, <Extension>)
replaces the following code:
CompleteDir(<Directory>) + <File> + ["."] + <Extension>
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Java wd230java.jar
Linux wd230std.so
Android wd230android.jar
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment