Dear Gretl Team and Yi-Nung,
I find a little problem with the getsymbols function (version 0.1). Taking a look at line 50 of the function code we can see the following command (The same command appear at line 6 of the sample script):
append "@dotdir/tmpM.csv"
That's nothing wrong with it when we are using Linux or OSX, but Windows uses "\" and not "/". So I would like to suggest this fix:
<hansl>
##### Sample script: change line 6 #####
# old:
open "@dotdir/tmpM.csv"
# new (suggested):
if $windows
open "@dotdir\tmpM.csv"
else
open "@dotdir/tmpM.csv"
endif
##### Function code: change line 50 #####
# old:
append "@dotdir/tmpM.csv"
# new (suggested):
if $windows
append "@dotdir\tmpM.csv"
else
append "@dotdir/tmpM.csv"
endif
</hansl>
Also I would like to ask Yi-Nung to provide an e-mail address to the function description.
Best,
Henrique Andrade