Converts a Citect SCADA path into a string. The path string can contain one of the standard Citect SCADA path operators, BIN, DATA, RUN, USER or a user-configured path. If the string does not contain a Citect SCADA path, it is unchanged.
Syntax
PathToStr(sPath)
sPath:
The Citect SCADA path to convert.
Return Value
A string containing the converted path.
Example
Variable=PathToStr("[data]:test.txt");
! Sets Variable to "c:\MyApplication\data\test.txt".
! assuming that DATA=C:\MyApplication\DATA
See Also
Published June 2018