Command Reference : Programming Language Reference
  
 
@xtype
Type of external connection.
Syntax: @xtype
Return: string
Returns the string describing the type of the active external application:
R connections return “rconn”.
Matlab returns “m”.
Python returns “pyconn”.
Returns an empty string if no external connection is active.
Examples
string y = @xtype
returns “pyconn” if the external application type is Python.
Cross-references
See “EViews COM Automation Client Support (MATLAB, R, Python)” for discussion. See also “External Program Interface” for global options setting of the default case for names.