to go to from one section to another part of the program

For questions regarding programming in the EViews programming language.

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

nesheus
Posts: 34
Joined: Tue Oct 26, 2010 11:55 am

to go to from one section to another part of the program

Postby nesheus » Mon Nov 15, 2010 8:22 am

Hello,
I want to use if and depending on the condition I want to go to a different section of the program. I checked but couldn't find a "go to" command, is there something similar in Eviews?
Thanks

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

Re: to go to from one section to another part of the program

Postby EViews Gareth » Mon Nov 15, 2010 9:08 am

There are no goto commands. You could use a sub routine though.

nesheus
Posts: 34
Joined: Tue Oct 26, 2010 11:55 am

Re: to go to from one section to another part of the program

Postby nesheus » Mon Nov 15, 2010 9:20 am

thanks. Then after if statement then I can call different subroutines?

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

Re: to go to from one section to another part of the program

Postby EViews Gareth » Mon Nov 15, 2010 10:07 am

right.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest