Page 1 of 1

Escape characters in @UI functions

Posted: Fri Oct 13, 2017 7:59 am
by jthodge
I'm trying to understand how to use "escape characters" when using the @uiradio function to create a dialog box with two options, both of which contain spaces.

As the documentation indicates, the list of options is space-delimited. If an option includes a space it must use double-quote escape characters.

However, I don't understand how to implement those escape characters in my code:

Code: Select all

%message = "Which option for extended year forecast?"
scalar selection = 1
!prompt = @uiradio(selection,%message,"30-year trend" "10-year average")

Re: Escape characters in @UI functions

Posted: Fri Oct 13, 2017 8:29 am
by EViews Gareth

Code: Select all

%message = "Which option for extended year forecast?"
scalar selection = 1
!prompt = @uiradio(selection,%message,"""30-year trend"" ""10-year average""")