auxiliary strings

For questions regarding programming in the EViews programming language.

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

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

auxiliary strings

Postby tvonbrasch » Wed May 12, 2021 12:07 am

Hi,

I would like to create an auxiliary string %theta1 that I can use in other string operations, i.e.,

Code: Select all

%theta1 = "(exp(tau1))"
%theta4 =  "2*{%theta1}"


how can I make the string %theta4 so that it becomes

Code: Select all

%theta4 = "2*(exp(tau1))"
by using %theta1?

t

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

Re: auxiliary strings

Postby EViews Gareth » Wed May 12, 2021 8:16 am

Code: Select all

%theta4 = "2*" + %theta1 + ")"
Follow us on Twitter @IHSEViews

tvonbrasch
Posts: 540
Joined: Fri Apr 15, 2011 5:35 am

Re: auxiliary strings

Postby tvonbrasch » Thu May 13, 2021 7:58 am

i am embarrassed ...
:-)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 14 guests