Multiple paragraphs in @uiprompt

For questions regarding programming in the EViews programming language.

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

wjgatt
Posts: 30
Joined: Fri Jan 27, 2012 3:52 am

Multiple paragraphs in @uiprompt

Postby wjgatt » Mon Aug 29, 2016 12:48 am

I would like to have @uiprompt display 2 paragraphs, with a space between one and other, for example:

Code: Select all

This is paragraph one (more text here). This is paragraph two (more text here).
Is is possible to write a string taken as an input by the function which does this?

Thanks
W

johansamuelsson
Posts: 165
Joined: Thu Mar 03, 2011 10:07 pm
Contact:

Re: Multiple paragraphs in @uiprompt

Postby johansamuelsson » Mon Aug 29, 2016 1:20 am

Code: Select all

%msg = "This is paragraph one (more text here)." + @Chr(13) + @Chr(13) + "This is paragraph two (more text here)." @UiPrompt(%msg)
Regards Johan

wjgatt
Posts: 30
Joined: Fri Jan 27, 2012 3:52 am

Re: Multiple paragraphs in @uiprompt

Postby wjgatt » Mon Aug 29, 2016 1:27 am

Excellent, thank you!

Regards,
W


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests