|GSAK (Geocaching Swiss Army Knife)|
SysVarPath(Path) : String
Where sPath is the path string you want converted.
This function converts an absolute path to a GSAK system variable. For more information on why and how you would use this see this link.
For Example, if your [application folder] is set to "C:\Users\user name\AppData\Roaming\gsak"
Then SysVarPath("C:\Users\user name\AppData\Roaming\gsak") would return "$_AppData\gsak"
Note: sData does not have to be *just* an absolute path. It can be any string that contains one or more folder/file names. All the folder/file names will be interrogated and converted to the corresponding system variable. For example, you could use this one line of code to convert all paths/files found in the user notes. Both long and short path names are recognized and converted.
Alpha List Category List
Copyright 2004-2016 CWE Computer Services |