FUNCTION SysDirSetCurrent : RTS_IEC_RESULT
Set current working directory on the target. In this directory all following file function are operated. This setting applies to file access from IEC only. An empty string resets the working directory to its default. This function should not be used in parallel to any other file operation from IEC.
InOut:
Scope |
Name |
Type |
Comment |
Return |
SysDirSetCurrent |
RTS_IEC_RESULT |
Returns the runtime system error code (see CmpErrors.library) |
Input |
szDir |
REFERENCE TO STRING |
Name of current directory |