create a menu

For questions regarding programming in the EViews programming language.

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

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

create a menu

Postby Nau2306 » Mon Jul 30, 2012 11:00 am

Is it possinle to creat a menu in eviews?

Like for example, I am trying to write a programme such that the user has N possible choice, say N=4. Upon execution of the programme, the latter is asked for a choice so that entering number 1 will execute choice 1, number 2 executes choice 2 and so on.

Thanks

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: create a menu

Postby EViews Glenn » Mon Jul 30, 2012 11:49 am

From the online help system
EViews offers the ability to construct several types of user-interface controls, or dialogs, within your program. These dialogs permit users to input variables or set options during the running of the program, and allow you to to pass information back to users.

There are five different functions that create dialogs in EViews:

@uiprompt - creates a prompt control, which displays a message to the user.
@uiedit - creates an edit control, which lets users input text.
@uilist - creates a list control, which lets users select from a list of choices.
@uiradio - creates a set of radio controls, which lets users select from a set of choices.
@uidialog - creates a dialog which contains a mixture of other controls.

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

Re: create a menu

Postby Nau2306 » Thu Aug 09, 2012 5:44 am

Can these functions be used in eviews 6?

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: create a menu

Postby trubador » Thu Aug 09, 2012 6:16 am

Unfortunately no, you'll need EViews 7 for these features.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests