Any idea why I get a syntax error here?
As far as I can tell this looks exactly like what is on page 611 of User's Guide I.
in the command line, I enter: run myprog xyz
where myprog.prg is the following
----------------------------
if %0 = "xyz"
!j =5
else
!j=10
endif
----------------------------
and this produces the error message: Syntax error in "IF %0="XYZ""
-cap
if statement - syntax error
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13309
- Joined: Tue Sep 16, 2008 5:38 pm
Re: if statement - syntax error
Follow us on Twitter @IHSEViews
Re: if statement - syntax error
ah, yes, blunder ...thanks very much!
Who is online
Users browsing this forum: EViews Steve and 25 guests