Illegal or reserved name

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

evusss
Posts: 1
Joined: Sat Feb 06, 2016 8:07 am

Illegal or reserved name

Postby evusss » Fri Mar 04, 2016 3:03 am

Hi,

When I try to generate my program, it works with some variables and it fails with others. For example, the var called "selfemp" works and "tmnhunef" fails.
The error message is "BL_RSP_[VARNAME]_EB_MP_AUS is an illegal or reserved name in "MATRIX(5,3) BL_RSP_[VARNAME]_EB_MP_AUS"

It seems that the issue appears in this part of the code :

Code: Select all

FOR %IDC {%LIST} FOR %VAR {%VAR_to_PLOT} matrix(!horz,3) mp_rsp_{%VAR}_{%MODEL}_{%IDC} delete rtmp* rowvector rtmp FOR !i=1 TO !horz rtmp = @rowextract(S_{%VAR}_{%IDC},!i) mp_rsp_{%VAR}_{%MODEL}_{%IDC}(!i,1) = @quantile(rtmp,0.84) mp_rsp_{%VAR}_{%MODEL}_{%IDC}(!i,2) = @quantile(rtmp,0.50) mp_rsp_{%VAR}_{%MODEL}_{%IDC}(!i,3) = @quantile(rtmp,0.16) NEXT NEXT NEXT
With %IDC= AUS ESP etc.
!horz = 3+2
%model= "EB_MP"

Could you help me ?
Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Illegal or reserved name

Postby EViews Gareth » Fri Mar 04, 2016 8:32 am

Object names have to be fewer than 24 characters


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest