How to set and print sample displaynames

For questions regarding programming in the EViews programming language.

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

fmccluer
Posts: 5
Joined: Thu Jul 02, 2009 2:13 pm

How to set and print sample displaynames

Postby fmccluer » Thu Apr 17, 2014 8:06 am

I am using Eviews 7 (with recent updates) and have been referencing the Eviews 7 Object Reference, page 397. Subsequent posts have suggested that the syntax should use a dot plus at-sign, as below. However, I have not been able to get this syntax to work with a sample object as indicated in the Object Reference guide. The ultimate goal is to extract the sample displayname and add it to a title of a graph. All I am able to extract is the object name, not the displayname. Any suggestions? Thanks in advance.

sample s1 2001M1 2009M12
s1.@displayname Annually from 2001-2009

%title="The sample runs from "+s1.@displayname
Last edited by fmccluer on Thu Apr 17, 2014 8:15 am, edited 1 time in total.

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

Re: How to set and print sample displaynames

Postby EViews Gareth » Thu Apr 17, 2014 8:14 am

Samples cannot have display names. We should remove it from the Object Reference.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests