On further investigation, after closing gretl and starting again,
when I go File/Function files/On local machine I get the following
error message - "XmlParseFile failed on ...\sfa_mod.gfn". So it
seems that the problem lies in the creation of the xml code for gfn
function package.
Gordon