PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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 19 and later
WEBDEV - Server code This feature is now available for WEBDEV sites in Windows and Linux.
New in version 19
WEBDEV - Server code This feature is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Server code This feature is now available for WEBDEV sites in Windows and Linux.
Example
sLog is string
sLog = fBuildPath(fExeDir(), CLIENT.NOM, ".log")
 
Trace(fBuildPath("C:\Mes documents", "Monfichier", "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:
fConstruitChemin(<Répertoire>, <Fichier>, <Extension>)
replaces the following code:
ComplèteRep(<Répertoire>) + <Fichier> + ["."] + <Extension>
Component: wd260std.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment