^NAMEOF
Return string name of variable, type, or member
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
USupported on UNIX
|
VSupported on OpenVMS
|
^NAMEOF(path)
Return value
name
The name of a variable, type, or member. (System.String)
Arguments
path
The path of a program entity. (a)
Discussion
^NAMEOF returns the name of a program entity in the form of a string, which can save you from having to retype such names (and possibly introduce errors) in your code.
Examples
The following example returns the string “path3”.
^nameof(path1.path2.path3)