^ARGTYPE
Return the data type of a parameter
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
USupported on UNIX
|
VSupported on OpenVMS
|
arg_type = ^ARGTYPE(parameter)
Return value
arg_type
One of the following return values: (i)
D_TYPE_A = Synergy data type is a.
D_TYPE_D = Synergy data type is d.
D_TYPE_ID = Synergy data type is d..
D_TYPE_I = Synergy data type is i.
D_TYPE_P = Synergy data type is p.
D_TYPE_IP = Synergy data type is p..
D_TYPE_OBJ = Synergy data type is @* or @class.
Arguments
parameter
The parameter whose data type value will be returned.
Discussion
^ARGTYPE returns a numeric value for the specified parameter’s data type.
Use the .IS. operator to determine a specific type of class. (See Object operators for more information about .IS..)
Examples
proc open(15,o,'tt:') xcall joe (1) xcall joe ("abc") end subroutine joe,varargs proc writes(15,%string(^argtype(^arg(1)))) xreturn end