Message Error

For questions regarding programming in the EViews programming language.

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

Youssef1
Posts: 5
Joined: Sat Jan 30, 2016 8:15 pm

Message Error

Postby Youssef1 » Sat Jan 30, 2016 8:46 pm

Hello,
I am new user of eviews7 and I just started a new code for my study. Here is what I obtains as error notifications

FIG1 is not defined in "D FIG1". (same message for FIG2, FIG3, ....)
TAB1 is not defined in "D TAB1" (same message for TAB, TAB3, ....)

SPOOL_DESCRTAT is not defined in "D SPOOL_DESCRTAT".
DSPOOL_GSCI_MCO is not defined or is an illegal command in "DSPOOL_GSCI_MCO".

Unmatched curly braces in "tab{!notab" in "TAB{!NOTAB }.LABEL(R)".
Unmatched curly braces in "tab{!notab" in "TAB{!NOTAB }.LABEL(U)".



Here is the begning of my code:


setmaxerrs 300
for !i = 1 to 100
d fig{!i}
d tab{!i}

next

!nofig =0
!notab = 0

for !i = 1 to 100


d spool_descrtat
spool spool_descrtat

d spool_GSCI_MCO
spool spool_GSCI_MCO


'descriptive stats

!notab = !notab +1
freeze(tab{!notab }) surprisestd1.stats
tab{!notab }.label(r)
tab{!notab }.label(u)
spool_descrtat.append tab{!notab }


Any help is much appreciated,

Regards
Last edited by Youssef1 on Sat Jan 30, 2016 9:19 pm, edited 1 time in total.

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

Re: Message Error

Postby EViews Gareth » Sat Jan 30, 2016 9:09 pm

Wherever you are using the

Code: Select all

d
command, change it to:

Code: Select all

d(noerr)

Youssef1
Posts: 5
Joined: Sat Jan 30, 2016 8:15 pm

Re: Message Error

Postby Youssef1 » Sat Jan 30, 2016 10:33 pm

Sorry, I didn't understand !

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

Re: Message Error

Postby EViews Gareth » Sat Jan 30, 2016 10:49 pm

Change

Code: Select all

d fig{!i}
To be

Code: Select all

d(noerr) fig{!i}
And so on

Youssef1
Posts: 5
Joined: Sat Jan 30, 2016 8:15 pm

Re: Message Error

Postby Youssef1 » Sat Jan 30, 2016 10:53 pm

This is the new message that I got:


(NOERR) is not defined in "D (NOERR) FIG1".
(NOERR) is not defined in "D (NOERR) TAB1".

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

Re: Message Error

Postby EViews Gareth » Sun Jan 31, 2016 8:03 am

You have a space.

Youssef1
Posts: 5
Joined: Sat Jan 30, 2016 8:15 pm

Re: Message Error

Postby Youssef1 » Sun Jan 31, 2016 9:38 am

Many thanks. It works perfect :P


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests