Riccardo (Jack) Lucchetti schrieb:
Weird. Could you post an example?
Ok the problem is indeed a little different than I first thought,
apparently I was comparing apples and oranges in some sense. On closer
inspection there is no difference between 1.7.0 and the snapshot. Here
are two examples:
1)
gretl-Version 1.7.0
Aktuelle Sitzung: 2007/12/14 11:09
? set messages on
? set echo on
? include IV_ac_wooldridge.inp
<path protected>\IV_ac_wooldridge.inp geöffnet OK
Sie müssen zuerst eine Datendatei öffnen < = you have to open a
datafile first>
Fehler bei Skriptausführung: Stopp
if 2>3 # set to some true expression to activate
Fehler bei Skriptausführung: Stopp
include IV_ac_wooldridge.inp
So it now seems it's not the 'include' but the 'if' which causes
problems, right? That's not a big problem for me, but why is it
necessary to have a datafile open here?
2) Second example; changed the filename to ./IV_ac_wooldridge.inp, and I
get a dialog window saying that it can't be opened. The output says:
gretl-Version 1.7.0
Aktuelle Sitzung: 2007/12/14 11:11
? set messages on
? set echo on
? include ./IV_ac_wooldridge.inp
./IV_ac_wooldridge.inp geöffnet OK
Fehler bei Skriptausführung: Stopp
include ./IV_ac_wooldridge.inp
So here at least the feedback "opened OK" seems weird. Apart from that,
both scripts are in the same directory (which is also set as the user
dir in the prefs), shouldn't ./ work?
thanks,
sven