[Gretl-devel] function call within loop fails