Manipulating data members in user objects

For questions regarding programming in the EViews programming language.

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

ErikG
Posts: 85
Joined: Wed Jan 23, 2013 1:18 am

Manipulating data members in user objects

Postby ErikG » Mon Sep 15, 2014 6:01 am

Hi,

1. Is it possible to create new data members that aren't strings or scalars inside a user object, without creating them in the workfile page beforehand?

2. Is it possible to manipulate data members within the user object without directly or indirectly extracting them to the workfile page?

I've got a few procedures for my user objects and I'm running into trouble with new objects conflicting with already existing objects in my workfile, one of them being the c constant. It would be convenient if I could keep everything created by my procedures within the user object.

Regards,
Erik.

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

Re: Manipulating data members in user objects

Postby EViews Gareth » Mon Sep 15, 2014 7:35 am

Unfortunately not (to both questions). A klunky work around would be to create a new blank page, do all the manipulations, then copy the user object over to your proper page and delete the new page.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests