Open topic with navigation
WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows
USupported on UNIX
name = %SYN_XNAME(address)
The name of the function.
The address of the segment for which you want to return a name. This address may be returned from %XADDR.
%SYN_XNAME returns a function name for the specified segment address.
One use for this routine is in debugging areas of your code in which you have stored routine addresses. The D_METHOD subfunction of %E_INFO returns the address of the routine registered for the method specified. You can use %SYN_XNAME to translate that address into a routine name for debugging or informational purposes.
record adr ,i4 name ,a30 proc adr = %xaddr("DATE") name = %syn_xname(adr)
writes(1, "system error: = "+%hex(%syserr))