Thanks Gareth. Is it possible to make the execute function continue despite infinite errors?
Understand that exec(10) would mean the program would stop only after 10 errors are detected. What do i put inside the () to tell eviews to not stop despite errors.
Regards,
Jian Xiang
Search found 6 matches
- Mon Feb 20, 2017 4:58 pm
- Forum: Programming
- Topic: Running an prg file in a loop
- Replies: 3
- Views: 3735
- Mon Feb 20, 2017 2:57 am
- Forum: Programming
- Topic: Running an prg file in a loop
- Replies: 3
- Views: 3735
Running an prg file in a loop
Hi, My loop stops after the first iteration when i run a prg file in the loop. Could someone let me know what is wrong with the loop code? A simplified code of my loop is as follows: for %x abc def ghi series y = y_{%x} series x = x_{%x} run regression.prg next ---------------------- The regression....
- Tue Nov 15, 2016 6:08 pm
- Forum: Programming
- Topic: Endless Subroutine
- Replies: 5
- Views: 6136
Re: Endless Subroutine
Wow, that is great. Thanks much for the kind assistance!
- Tue Nov 15, 2016 4:09 am
- Forum: Programming
- Topic: Endless Subroutine
- Replies: 5
- Views: 6136
Re: Endless Subroutine
ok, i found a solution in another thread. can a subroutine be used on an svector (i.e. subroutine(svector %xx))? '------------------------ subroutine Combinations(string %prefix, string %list_elements, scalar !index, scalar !p) if !p=0 then varlist_{!r}(!sv) = %prefix !sv = !sv + 1 return endif if !...
- Mon Nov 14, 2016 5:51 pm
- Forum: Programming
- Topic: Endless Subroutine
- Replies: 5
- Views: 6136
Re: Endless Subroutine
Hi Matt, Thanks much for the guidance! I have tried using both the local and global subroutines as per the code appended below. When i do not use local, only "abc" and "abd" are generated and when i include local, nothing is generated at all. Could you let me know what else did i...
- Mon Nov 14, 2016 3:18 am
- Forum: Programming
- Topic: Endless Subroutine
- Replies: 5
- Views: 6136
Endless Subroutine
Hi, I am trying to generate all possible combinations from a set of variables, basically n choose r combinations, and have been trying to use the following set of codes which was adapted from other softwares. The code ends up giving me with the following strings "abc", abd", "ab&...
