Object Reference : Object View and Procedure Reference : Scalar
  
Scalar
 
clearhist
label
olepush
scalar
setattr
sheet
Scalar (single number). A scalar holds a single numeric value. Scalar values may be used in standard EViews expressions in place of numeric values.
Scalar Declaration
scalar declare scalar object.
To declare a scalar object, use the keyword scalar, followed by a name, an “=” sign and a scalar expression or value.
Scalar Views
label label view.
sheet spreadsheet.
Scalar Procs
clearhist clear the contents of the history attribute .
olepush push updates to OLE linked objects in open applications .
setattr set the value of an object attribute .
Scalar Data Members
String values
@attr(“arg”) string containing the value of the arg attribute, where the argument is specified as a quoted string.
@description string containing the Scalar object’s description (if available).
@detailedtype string with the object type: “SCALAR”.
@displayname string containing the Scalar object’s display name. If the Scalar has no display name set, the name is returned.
@name string containing the Scalar object’s name.
@remarks string containing the Scalar object’s remarks (if available).
@source string containing the Scalar object’s source (if available).
@type string with the object type: “SCALAR”.
@units string containing the Scalar object’s units description (if available).
@updatetime string representation of the time and date at which the Scalar was last updated.
Scalar Examples
You can declare a scalar and examine its contents in the status line:
scalar pi=3.14159
scalar shape=beta(7)
show shape
or you can declare a scalar and use it in an expression:
scalar inner=@transpose(mydata)*mydata
series x=1/@sqrt(inner)*y