in reply to Re^2: Importing vars from one script to another
in thread Importing vars from one script to another
That did it! I thought I had tried everything but I was missing the '1'. Now it works.
Whatever was the reason, this one can't be it.
If you require a file, the last expression in the included file must return a value which evaluates to true, otherwise your program dies. Therefore: If you had a value which evaluated to false in your earlier version, your program would not have executed, and you would have got an error message pointing out the problem. But if it already evaluated to true in your earlier version, adding a 1 doesn't change anything.
Ronald Fischer <firstname.lastname@example.org>