|
Previous Top Next |
Prototype: | (String pPath),String |
pPath | The path to fix |
Returns | The fixed path name |
This method takes a path name and checks if it contains a trailing backslash or not and returns the path WITH a trailing backslash. It is overloaded with a method that takes a *CString parameter so it can be used with both string variables and CString variables.
Example:
ITC ITCoreClass
p CString(2049)
Code
p = 'c:\temp'
Message('Fixed path = ' & ITC.FixPath(p))
See also: