It was working, now it flags an error.On Thu, 3 Oct 2013, Pindar wrote:I have some problems with gretl (snapshop on windows 8) automatically adding its 'shelldir' to a file path: <hansl> eval shelldir open abdata.gdt list xList = YEAR IND CAP store "testme.csv" --csv xList # writes file in 'shelldir' -> ok string readme = readfile("testme2.csv") # reads file in 'shelldir' -> okNot OK surely. There's no file "testme2.csv", is there?
print readme open "testme.csv" # *fails *to read file in 'shelldir' ->*why?* string file = shelldir file +="\testme.csv" open @file # works <hansl>With the filename fixed, the script works here. I'm not sure why it doesn't work for you, but I've now tweaked something in the "open" code which might make a difference (CVS and snapshots). Allin _______________________________________________ Gretl-users mailing list Gretl-users@lists.wfu.edu http://lists.wfu.edu/mailman/listinfo/gretl-users