Gretl Manual: Gnu Regression, Econometrics and Time-series Library | ||
---|---|---|
Prev | Chapter 11. User-defined functions | Next |
There is no mechanism for returning a value from a gretl script function, such as is available in many programming languages. But this is not a serious limitation, since you can achieve the same effect by generating a global variable or variables within the function, to hold any value(s) that you wish to make accessible when the function exits.