variable into for statement

For questions regarding programming in the EViews programming language.

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

marcsean
Posts: 14
Joined: Fri Jun 17, 2011 11:16 pm

variable into for statement

Postby marcsean » Wed Aug 17, 2011 11:55 am

Hi,

I want to introduce a variable into an for statement: e.g. for !m=1 to k, where k is chosen with each program run. How do I do this?

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

Re: variable into for statement

Postby EViews Gareth » Wed Aug 17, 2011 12:04 pm

Code: Select all

for !m=1 to !k
?


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests