Page 1 of 1
Scalar for @uiedit
Posted: Fri Jul 17, 2015 4:52 am
by cantagallo
Code: Select all
'
' set the forecast horizon
%horizonq= "Enter number of quarterly horizon"
scalar ret = @uiedit(%horizonq, "Horizon")
!horizonm= !horizonq*3
'
%date = "5Mar_h10.00"
'***************************MAIN***********************
include subroutines.prg
include data.prg
include monthly.prg
include quarterly.prg
include errors.prg
The user dialog works with strings, while I'd like to let the user specify the value of the quarterly span for forecasting. Is there a way to do that within @uiedit or should I convert the string into a control variable.
Many thanks in advance.
Re: Scalar for @uiedit
Posted: Fri Jul 17, 2015 5:37 am
by EViews Gareth
Convert. Uiedit only works with strings
Re: Scalar for @uiedit
Posted: Thu Jul 23, 2015 7:08 am
by cantagallo
Thank you very much.
If I need to set up complex dialogs, are there some example I could follow to save some time? I couldn't find much on the guide.
Thank you in advance.
Re: Scalar for @uiedit
Posted: Thu Jul 23, 2015 7:37 am
by EViews Gareth
Download some addins. Most of them use @uidialog