On Mon, 12 Jul 2010, Ignacio Diaz-Emparanza wrote:
We already have in gretl a very useful structure to build
(graphical)
user function packages. But when we are working in a non-english
language and want to create a function package, we have to decide
whether to write the parameter strings in English or in our specific
language.
Allin, do you think it would be possible to allow a second (or third
...) language in the parameter strings?
Yes, that's something I've considered myself.
I am thinking that the user could specify, the strings for example
in
this way:
<script>
function series rate(series y "Variable to transform", scalar k
"order")
string param1_es = "Variable a transformar"
string param2_es = "Orden"
series y_rate=(y-y(-k))/y(-k)
return y_rate
end function
</script>
Yes, I think we could do something like that. I'll think about the
best way to do it, but the suggestion you make above looks pretty
good.
Allin.