Command Reference : Command Reference
  
 
adduo
Register an EViews user object class.
Syntax
adduo(options) [path\]definition_name
registers the specified definition file as an EViews user object. Note that the definition file should have a “.INI” extension.
If you do not provide the optional path specification, EViews looks for the program file in the default EViews user objects directory.
Explicit path specifications containing “.\” and “..\” (to indicate the current level and one directory level up) are evaluated relative the directory of the installer program in which the adduo command is specified, or the EViews default directory if adduo is run from the command line.
Options
 
name=arg
Specify the name of the user object class.
desc=arg
Brief description of the user object that will be displayed in the user object management dialog.
docs=arg
Path and filename for the user object documentation. Determination of the path follows the rules specified above for the adduo filename.
version=arg
Version number of the Add-in. If no version number is supplied, EViews will assume version 1.0.
url=arg
Specify the location of an XML file containing information on the Add-in used for updating the Add-in to the latest version. If not supplied, EViews will default to an XML file hosted on the EViews website.
 
Examples
adduo(name="roll", desc="Rolling Regression Object") .\rolldef.ini
registers the roll class of user object, specifying a description of “Rolling Regression Object”, and using the definition file rolldef.ini, located in the same folder as the installer program.
adduo(name="resstore", version="1.0", url="www.mysite.com/myuos.xml") .\resstoredef.ini
registers the resstore class of user object, specifying the version number as “1.0”, and using the XML file located at “www.mysite.com/myuos.xml” to check for updates.
Cross-references
See “User Objects” for a discussion of user objects.