Page 1 of 1

Custom Functions

Posted: Mon Nov 01, 2010 1:03 pm
by tchaithonov
Hi Guys, how's everyone doing?

I wonder if there is a way to write functions in Eviews. For instance, if I have a string variable and I want Eviews to check how many operators there are within the string, currently I can't think of a fast way except writing a subroutine and call it within the code. I want to see, given the flexibility that we have now, if doing a @xyz(a,b,c) is possible. The default functions in Eviews have been very useful (e.g., @meansby, @cumsum), but I just want to know if it allows users to perform specified tasks (now or in the near future). Thanks.

Tchaithonov

Re: Custom Functions

Posted: Mon Nov 01, 2010 1:50 pm
by EViews Gareth
Not for the forseeable future - it is really hard for us to implement. Although we'd love to do it, allocating the time when there are so many other cool features...


Of course you can sort of use an Add-in that way. Write a program that does what you want, then give it a proc name, plus make it take in options and/or arguments are you're almost there. The downside is that they cannot return something, other than a passed in argument.