Search found 10 matches

by mboldin
Mon Jun 08, 2015 5:32 am
Forum: Programming
Topic: Check if page is already created
Replies: 1
Views: 2392

Check if page is already created

In Eviews code, a command such as

pagecreate(page=page1) Q 1990 2015

creates a new page named page11 if page1 already exists

Is there a way to test for the existence of a page and skip pagecreate ?

@isobject does not seem to find pages as objects
by mboldin
Mon Feb 23, 2015 1:03 pm
Forum: General Information and Tips and Tricks
Topic: Open PRG without running
Replies: 4
Views: 6227

Re: Open PRG without running

One option is to consider is how another package (I won't name it) lets you right click on the file and select Run using, or Open using ...
In essence there are 2 associations or options that Windows seems to keep straight
by mboldin
Thu Feb 19, 2015 12:59 pm
Forum: General Information and Tips and Tricks
Topic: Open PRG without running
Replies: 4
Views: 6227

Open PRG without running

I associate my .prgs with Eviews and click on them runs the prg. I just want to open the file in a new workspace -- not run it, as most case i would first need to eduit or update the program. How can I set up the association to do so with a single click ? (besides opening eviews first)
by mboldin
Thu Aug 14, 2014 8:55 am
Forum: General Information and Tips and Tricks
Topic: Program Legend text
Replies: 3
Views: 5210

Re: Program Legend text

OK so I would do something like series1.displayname "Text here" What if I wanted to use the series description or the description from another series ? Is there global option to display the description in the legend ? And is something like this possible series1.displayname "Ratio of&q...
by mboldin
Thu Aug 14, 2014 7:26 am
Forum: General Information and Tips and Tricks
Topic: Program Legend text
Replies: 3
Views: 5210

Program Legend text

Can I change the legend text by programming means-- not through the GRAPH Options GUI

Ie something like

plot(legend= 'Unemplyement rate', 'Inflation rate') series1 series2

Just being able to use the series description, not the variable name, might be enough (assuming I can edit the description)
by mboldin
Thu Apr 17, 2014 6:29 am
Forum: Data Manipulation
Topic: ODBC Machine DSN
Replies: 4
Views: 4381

Re: ODBC Machine DSN

I found some unexpected results -- not hard to fix but maybe my experience will help someone else This command wfopen(type="ODBC") dsnx "select * from stateindex" creates exactly what I want and properly figures out I have a dated panel (cross sectional time series set) with Stat...
by mboldin
Tue Apr 15, 2014 11:18 am
Forum: Data Manipulation
Topic: ODBC Machine DSN
Replies: 4
Views: 4381

ODBC Machine DSN

I wanted to be sure I understand the ODBC teminology. The manual says use wfopen(type="ODBC") if for DSN Source and wfopen(type="DSN") is for DSN file I assume DSN Source is what Microsoft calls a User DSN and others call a Machine DSN and it is used without quotes wfopen(type=&q...
by mboldin
Tue Apr 01, 2014 6:05 am
Forum: Data Manipulation
Topic: Fetch & rename
Replies: 1
Views: 2635

Fetch & rename

Am I right that there is no way to fetch and rename a data series in one step,
I.e. change code below to one line

fetch(d=db) oldname
rename oldname newname

in the same way copy can rename

copy db1::series1 newname
by mboldin
Tue Feb 11, 2014 8:00 am
Forum: Programming
Topic: Error Handling: WFCLOSE and TRY
Replies: 4
Views: 4791

Re: Error Handling: WFCLOSE and TRY

Let me make a suggestion in this regard I think it would be useful to have a conventional try - except - else type ability (the Pythonic way is worth looking at http://docs.python.org/2/tutorial/errors.html as an example) While the method below can be adopted to probably handle 90% or more of the ap...
by mboldin
Thu Nov 07, 2013 8:22 am
Forum: Programming
Topic: How to extract template & left axis information by command ?
Replies: 3
Views: 3085

Re: How to extract template & left axis information by comma

Gareth -- does this mean that for a saved graph that was manipulated by hand, we can not get a command listing for all of modifications & selected options ? I thought g1.@attr("legend") might work for the legend attributes but I can not figure out how @attr() works and the possible inp...

Go to advanced search