On Fri, 14 Dec 2007, Sven Schreiber wrote:
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:
[...snip...]
I have the feeling that nothing is wrong with "include" per se. If my
suspicion is right, your included file starts with an "if" statement,
which is indeed illegal if no dataset is open (and rightly so). So the
error message you're seeing does not refer to the "include" statement, but
rather to the "if" statement.
If you use the if statement to de-activate a portion of the script
unconditionally (as in "if 2>3"), it seems to me that commenting out the
code is a much better solution.
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti