User Defined Dialog

For questions regarding programming in the EViews programming language.

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

farmer
Posts: 2
Joined: Sat Dec 25, 2010 3:56 pm

User Defined Dialog

Postby farmer » Sun Dec 26, 2010 5:30 am

Is it possible to create a user defined dialogue in a sub-routine enabling the input of variable values? For example, I want to obtain forecast values based on different values of an independent variable(s). Thanks.

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

Re: User Defined Dialog

Postby EViews Gareth » Sun Dec 26, 2010 8:13 pm

Yes. Lookup @uidialog, or see some of the later posts here:
http://forums.eviews.com/viewtopic.php?f=5&t=1638

farmer
Posts: 2
Joined: Sat Dec 25, 2010 3:56 pm

Re: User Defined Dialog

Postby farmer » Mon Dec 27, 2010 2:22 am

Many thanks for the prompt reply. Presumably I would use a scalar input? Do yo have a two-line example where I enter, say, a value equal to 8?

I have tried the following and get a value of 0.0000 in the variable value1, irrespectve of what value I enter:
%value1 = ""
scalar value1= @uiedit(%value1,"Enter a value")

Thanks.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests