Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfpathchk()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfPathChk()
Path normalization
------------------------------------------------------------------------------
Syntax:

     dfPathChk( <cPath> ) --> cNewPath

Parameters:

     <cPath>    Path. If the first character is '@', this argument is
     considered as a variable name.

Returns:

     The given Path is normalised, removing blanks and adding a '\' at its
     end if it wasn't already specified. If the Path is empty, the '\' is
     not added.

Description:

     Normalises the given path.

Example:

     PRIVATE cLabel := "c:\dbsee"
     dfPathChk( "mydir" )   // Returns "mydir\"
     dfPathChk( "mydir\" )  // Returns "mydir\"
     dfPathChk( "@cMydir" ) // Returns "c:\dbsee\"

See also:

     dfCurPath()

See Also: dfCurPath()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson