Syntax: @isvalidgroup(str)
Argument: string, str
Return: integer
Check for whether a string represents a valid name for creating an EViews group or auto-series. Returns a “1” if the expression is valid, and a “0” if it is not.
Examples
If your workfile contains the series X, Y and Z:
scalar a = @isvalidgroup("x y z")
will set A equal to 1,
scalar b = @isvalidgroup("log(x)")
will set B equal to 1, and
scalar e = @isvalidgroup("log(xy)")
will set E equal to 0.
Cross-references