Page 1 of 1

setattr-procedure with samples

Posted: Wed Aug 30, 2017 6:05 am
by mamo
Dear Eviews team,
I am using Eviews 9.5, December 2016 built.
It seems that defining new attributes using the "setattr" procedure in a program does not work with sample objects (see example below).
(However, it is possible to define new attributes with sample objects manually.)
Is this a bug?

Best, mamo

Code: Select all

wfcreate a 2000 2016
sample mysmpl 2001 2005
' Try to define the new attribute
mysmpl.setattr(range) 5
' it doesn't work; but the "Range" attribute could be set manually
mysmpl.label

Re: setattr-procedure with samples

Posted: Wed Aug 30, 2017 8:23 am
by EViews Gareth
An omission on our part. We'll see about adding support for the global object procs to samples in next (EV10) patch.