Links are not active on this page.
 ADDBS( ) Function

Adds a backslash (if needed) to a path expression.

ADDBS(cPath)

Parameters

cPath

Specifies the path name to which to add the backslash.

Expand imageReturn Value

Character

Expand imageExample

The following code displays a directory path and demonstrates that the ADDBS( ) function adds a backslash if one does not exist, but does not duplicate if one does exist.

 CopyCode imageCopy Code
*-- Both print C:\Windows\
? ADDBS( "C:\Windows" )
? ADDBS( "C:\Windows\" )

Expand imageSee Also