@uilist return value not consistent

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

etienne
Posts: 19
Joined: Wed Jun 12, 2013 10:32 am

@uilist return value not consistent

Postby etienne » Thu Jun 13, 2013 10:46 am

Hi,

The return values of the @uilist function doesn't behave the same depending on whether the select_item argument is a scalar or a string.

If the select_item argument is a scalar, then the command will return 0 when pressing the OK button, and -1 when pressing the Cancel button, as expected.

However, if the select_argument is a string, then the command will return 1 when pressing the OK button, and 0 when pressing the Cancel button.

This has been observed in both EViews versions 7.2 and 8.

As a workaround, in the meantime, I use @uidialog("List", ...) instead.

Best regards,

Étienne

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

Re: @uilist return value not consistent

Postby EViews Gareth » Thu Jun 13, 2013 12:03 pm

Will be fixed in next EV8 patch.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest