Variable parsing

For questions regarding programming in the EViews programming language.

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

paues
Posts: 218
Joined: Fri Apr 15, 2011 7:16 am
Location: Stockholm, Sweden

Variable parsing

Postby paues » Wed May 16, 2012 12:48 pm

How would I rewrite the last line if I wanted the code below to result in a series named prefix1suffix and not, as now, one named prefix2?

Code: Select all

wfcreate a 1900 1950 !i=1 !isuffix=2 Series prefix!isuffix=3

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

Re: Variable parsing

Postby EViews Gareth » Wed May 16, 2012 1:08 pm

Code: Select all

wfcreate a 1900 1950 !i=1 !isuffix=2 Series prefix{!i}suffix=3


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest