Attaching / Modifying Variables' labels in a Worfile

For questions regarding programming in the EViews programming language.

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

mschwerdtfeger
Posts: 4
Joined: Wed Jun 21, 2017 1:15 pm

Attaching / Modifying Variables' labels in a Worfile

Postby mschwerdtfeger » Wed Jun 21, 2017 1:48 pm

Hello,

Is it possible to add to the label of a variable the last .prg that modified said variable? Or, even better yet, the list of all programs that modified it?
So that when one opens the variable from the workfile, one could see at the top of the spreadsheet which program modified it?

Thank you

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

Re: Attaching / Modifying Variables' labels in a Worfile

Postby EViews Gareth » Wed Jun 21, 2017 2:54 pm

In EV9 (or earlier) you can't do much.

In EV10 you can do something like:

Code: Select all

%a = "Edited by " + @runname
x.setattr("remarks") {%a}
Follow us on Twitter @IHSEViews

mschwerdtfeger
Posts: 4
Joined: Wed Jun 21, 2017 1:15 pm

Re: Attaching / Modifying Variables' labels in a Worfile

Postby mschwerdtfeger » Thu Jun 22, 2017 4:51 am

thank you


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 24 guests