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
@uilist return value not consistent
Moderators: EViews Gareth, EViews Moderator
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: @uilist return value not consistent
Will be fixed in next EV8 patch.
Who is online
Users browsing this forum: No registered users and 1 guest
