Page 1 of 1

user defined functions?

Posted: Tue Dec 15, 2009 3:18 pm
by cap
Greetings,

I hope this is not too elementary of a question ... is it possible to write functions in Eviews that directly return some output? For example, can I write some function and then use it on the right hand side of an assignment statement, like mynumber = product(2,3), and get mynumber=6.

I am aware of subroutines, but they seem to be lacking in this ability.

(I am using Eviews 6)


Thanks,
-cap

Re: user defined functions?

Posted: Tue Dec 15, 2009 3:47 pm
by EViews Glenn
Unfortunately, no.

Re: user defined functions?

Posted: Wed Dec 16, 2009 9:44 am
by cap
Has there ever been any talk of putting this into a future Eviews release? It would be extremely useful.


Thanks,
-cap

Re: user defined functions?

Posted: Wed Dec 16, 2009 9:59 am
by EViews Gareth
There is talk, but it is exceedingly difficult to do properly where other EViews objects, such as equations and models, could understand the user-defined function. We're contemplating options for EV8 though.