Program control structures if..elseif // select case
Posted: Fri Feb 13, 2015 3:58 am
Dear Eviews team,
an extension of the existing "if (condition) then..else..endif" control stucture towards an "if (cond) then..elseif (cond)..elseif (cond)..elseif (cond)..endif" structure , as well as the introduction of a new select-case structure as we have it in other programming languages rank highly on my wishlist.
This would avoid the need of cumbersome control cascades such as if (cond)..else if (cond)..else if (cond)..endif endif endif" that sometimes cannot be avoided.
Best,
mamo
an extension of the existing "if (condition) then..else..endif" control stucture towards an "if (cond) then..elseif (cond)..elseif (cond)..elseif (cond)..endif" structure , as well as the introduction of a new select-case structure as we have it in other programming languages rank highly on my wishlist.
This would avoid the need of cumbersome control cascades such as if (cond)..else if (cond)..else if (cond)..endif endif endif" that sometimes cannot be avoided.
Best,
mamo