Page 1 of 1

IF statements / SWITCH statements

Posted: Mon Mar 09, 2009 2:41 pm
by cap
In some programming languages there is a way to collapse a series of IF statements that all pertain to the value of some variable; for example, in Matlab or C it would look something like this:


switch x

case x<5
' some code here

case x>5
'some other code here

case x=5
'some code here


end




Does the Eviews language have something like this?



Thanks,
-cap

Re: IF statements / SWITCH statements

Posted: Mon Mar 09, 2009 2:57 pm
by EViews Gareth
Nope :(