|
Previous Top Next |
Prototype: | (String pUnixPath),String |
pUnixPath | Path with / separated directory or folder names. |
Returns | Path with \ separated directory or folder names. |
This method is useful when duplicating paths on a local machine and on a server.
Example:
ITC ITCoreClass
ServerPath CString(256)
LocalPath CString(256)
Code
! Path() returns 'C:\Clarion\Apps\MyApp'
ServerPath = '/images/thisimage.png'
LocalPath = Path() & ITC.UnixToWindowsPath(ServerPath)
! LocalPath is now: 'C:\Clarion\Apps\MyApp\images\thisimage.png'
See also: