Page 1 of 1

@convert makes eviews break

Posted: Wed Sep 07, 2016 2:42 am
by mamo
Dear Eviews team,
I use Eviews version 9.5, 17 March 2016 built with Windows 7.
I found that the function "@convert" to convert a group to a matrix causes Eviews to break if a sample is provided as a function argument to @convert. This happens in both cases, with @convert being called in the command window or within a program.

The code below with the last line uncommented lets Eviews pop up a window saying "Eviews 9.5 has stopped working. A problem caused the program to stop working correctly. Pease close the program", and Eviews breaks down then.

Code: Select all

'Create workfile with some random series 'and collect the series in a group wfcreate(wf=test) q 1980Q1 2015Q4 !nseries=5 group gr for !i=1 to !nseries series x{!i} = nrnd gr.add x{!i} next 'The following conversion of the group into a matrix works: matrix mat=@convert(gr) ' But providing a sample to the @convert function as in the following line makes eviews break: ' matrix mat=@convert(gr, "2000Q1 2015Q4")
Best,
mamo

Re: @convert makes eviews break

Posted: Wed Sep 07, 2016 9:20 am
by EViews Gareth
Thanks, we'll fix.

In the meantime, it does work with a named sample object:

Code: Select all

'Create workfile with some random series 'and collect the series in a group wfcreate(wf=test) q 1980Q1 2015Q4 !nseries=5 group gr for !i=1 to !nseries series x{!i} = nrnd gr.add x{!i} next 'The following conversion of the group into a matrix works: matrix mat=@convert(gr) ' But providing a sample to the @convert function as in the following line makes eviews break: sample s 2000q1 2015q4 matrix mat=@convert(gr, s)