Check if page is already created

For questions regarding programming in the EViews programming language.

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

mboldin
Posts: 10
Joined: Wed Sep 11, 2013 7:53 am

Check if page is already created

Postby mboldin » Mon Jun 08, 2015 5:32 am

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

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

Re: Check if page is already created

Postby EViews Gareth » Mon Jun 08, 2015 7:32 am

Code: Select all

=@pageexist("pagename")


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests